I moved my web services to a new web server and now I can't access the web services through my web app. I am able to access them using IE: (http://newservername:110/webService/GetUsers.asmx) that works, but when I try to run my app that is using this web service it fails.
I looked at the configuration under IIS and it matches the same configuration I took the web service off of (asp.net 2.0, security, etc)
What could be causing my app not being able to access the web service on the new server?
Norman Yuan - 09 Oct 2007 19:07 GMT
Have you changed URL of the web service in your app's code?
When you first set reference to the web Services, the service' url is
pointing to the server where the WS is. Now you moved the WS to other
server, you supposed to change the URL in your code:
MyWebService sv=new MyWebService();
sv.Url="http://newServer/..../GetUsers.asmx";
Of course, you can reset the web services reference in your project and
rre-build it.
I moved my web services to a new web server and now I can't access the web
services through my web app. I am able to access them using IE:
(http://newservername:110/webService/GetUsers.asmx) that works, but when I
try to run my app that is using this web service it fails.
I looked at the configuration under IIS and it matches the same
configuration I took the web service off of (asp.net 2.0, security, etc)
What could be causing my app not being able to access the web service on the
new server?
Mike - 09 Oct 2007 19:12 GMT
yes, I changed all of the references in the web.config file.
> Have you changed URL of the web service in your app's code?
>
[quoted text clipped - 18 lines]
> What could be causing my app not being able to access the web service on
> the new server?
Mike - 09 Oct 2007 19:13 GMT
I found it. The id that is being used got locked out. Once I 'unlocked' the ID I was then able to access the web services via my web app
I moved my web services to a new web server and now I can't access the web services through my web app. I am able to access them using IE: (http://newservername:110/webService/GetUsers.asmx) that works, but when I try to run my app that is using this web service it fails.
I looked at the configuration under IIS and it matches the same configuration I took the web service off of (asp.net 2.0, security, etc)
What could be causing my app not being able to access the web service on the new server?
George Ter-Saakov - 09 Oct 2007 19:58 GMT
Most likely security....
Or your server can not resolver the name to ip address
George.
I moved my web services to a new web server and now I can't access the web services through my web app. I am able to access them using IE: (http://newservername:110/webService/GetUsers.asmx) that works, but when I try to run my app that is using this web service it fails.
I looked at the configuration under IIS and it matches the same configuration I took the web service off of (asp.net 2.0, security, etc)
What could be causing my app not being able to access the web service on the new server?