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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Web Service only works on development computer

Status
Not open for further replies.

pink2070

Programmer
Jan 29, 2004
23
US
Hello Everyone,

I have created a simple web service with a method that adds 2 numbers

I have referenced (add web reference) this web service into a vb.net windows app.

Next I created a proxy object (dim proxyObj as new localhost.service1).

Problem:
Whenever I run this app on the development machine everthing checks out. (All methods in the webservice work great!). However, when I try to run this app outside of the development computer nothing works, the minute the application tries to utilize the webservice I receive an error.

Does anyone have a solution for this problem, this sounds like a commn issue.

Thanks

Pink
 
What error do you get? Does the account the application is running under have rights to access the network?

To test the web service remotely access it from a web browser. Say the service is hosted in the root of the default website for the machine then it would be..


.net will automatically generate a page giving details of the webservice if it is accesible.

Rob

Go placidly amidst the noise and haste, and remember what peace there may be in silence - Erhmann 1927
 
After installing the webservice and navigating to the url to try and execute a method, I still receive the same message that I cannot access webservice outside of localhost.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top