unable to access web services on new server

M

Mike

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?
 
N

Norman Yuan

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?
 
M

Mike

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?
 
G

George Ter-Saakov

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top