Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

deploy web service on remote iis

Status
Not open for further replies.

steve1rm

Programmer
Aug 26, 2006
255
GB
Hello,

I am trying to deploy a web service to a remote computer. The remote computer is on the local network.

On my development computer I have a webservice that just displays hello world. On the solution I click copy web site.

I connect to the remote computer and send the web.config, and service.asmx over to the remote IIS.

I then go back to my developer machine and try and view the service.asmx over the internet. I get this following message.

Server Error in '/webserviceTest' Application.
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

I thought this would be a straight forward thing, but i have spent many hours trying to solve.

Does anyone have any ideas, thank very much,

Steve
 
Have you looked at the error on the local machine? or alternatively set the config so that you can view it remotely? It might give you a clue?

Steve

[small]"Every program can be reduced by one instruction, and every program has at least one bug. Therefore, any program can be reduced to one instruction which doesn't work." (Object::perlDesignPatterns)[/small]
 
Hello Stevexff,

I can view the service.asmx not problem on the local machine. It is only when I want to view it through the internet that I have a problem.

I have set the custom error messages to off, and tried that. I have listed below what I have done.

Hope someone can help,

Code:
<customErrors mode="Off" defaultRedirect="GenericErrorPage.htm">
            <error statusCode="403" redirect="NoAccess.htm" />
            <error statusCode="404" redirect="FileNotFound.htm" />
        </customErrors>

I have also tried this
Code:
<customErrors mode="Remoteonly" defaultRedirect="GenericErrorPage.htm">
            <error statusCode="403" redirect="NoAccess.htm" />
            <error statusCode="404" redirect="FileNotFound.htm" />
        </customErrors>

None of these work. Could it be some other settings that will allow me to view this web service,

Thanks for any help,

Steve
 
Try commenting out what you have, and replacing it with
Code:
<customErrors mode="Off" />

Steve

[small]"Every program can be reduced by one instruction, and every program has at least one bug. Therefore, any program can be reduced to one instruction which doesn't work." (Object::perlDesignPatterns)[/small]
 
Thanks for your reply,

I have been told that it might have something to do with ip addresses for out-going and in-coming.

By going to ipconfig/all is the out-going IP address, and is not the same as the in-coming. I am not sure about this, only something I have read. However, how would I find the in-coming IP address to use.

Is their any truth to the above statement?

Thanks for your patience,

Steve
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top