Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2007

Tip: Looking for answers? Try searching our database.

unable to access web services on new server

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mike - 09 Oct 2007 18:43 GMT
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?

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.