>Cetin:
>
>Thanks for you rapid response last night.
>
>I had already changed all "localhost" references to my server name "tiger2"
>Yes, the server reference in the web config file was as you had indicated.
>I had previously found it necessary to add an "immitation" line (I am doing this from work and may not have that name exactly right)
>
>At your suggestion I changed the machine name reference ("tiger2") in the url in the reference.cs to "123.456.789.0" - the ip address of my SBS2003 server (which I am also using as a workstation - it is not a production server, I hasten to add!)
>
>Same message thrown up at the same place.
>
>When I looked back into the reference.cs file I saw that the "...\123.456.789.0\ ..." had reverted to "...\tiger2\..." Where is best the place to make this change in a way that is going to stick?
>
>I look forward to your comment.
>
>Godfrey
Godfrey,
Is that IP right??? I expected to see values between 0-255.
I do that in reference.cs and sticks. However it's not the way of doing it. Normally you shouldn't touch reference.cs out of resource editor (it'd complain it was modified outside, possibly followed by writing errors. In case it happens you might choose to continue and overwrite).
Select your web reference in solution explorer and in properties window edit "Web reference URL".
I wasn't able to connect with either machinename or localhost. Both fail, IP succeeds (and despite other 2 wait time for a response is next to none).
PS: Provided there is a correct IP and firewall is configured to allow port 80 you should be able to access to same webservice from another box using web browser. On your own box
http://machinename/mywebservices/myws.asmx and
http://localhost/mywebservices/myws.asmx works but not from another box. IP in place of machinename works locally and remotely. However maybe editing lmhosts file you might alias machinename to that IP (I don't know the details, done only in past to support connection sharing). Instead of IP, you might also use the machinename but adding full domain path. Something like:
http:/tiger2.mydomain.com
nslookup would help you find out the name.
Also check what does:
TraceRt tiger2
return as IP.
Cetin