Author: gsosamv | Posted on: 9/29/2008 6:18:08 PM | Views : 498

Hi! I'm having a hard time connecting to the SP WebServices on the production server.
Everything is working perfect when i run my project on visual studio 2005, I also tried creating a virtual folder on my computers IIS (Locally) and got the same error I'm getting on production "HTTP status 401: unauthorized ", I opend the website folder under the IIS Window, clicked on the directory security, clicked edit on anonymous access and checked the "Digest authentication for windows domain servers" and worked on my IIS. Made the change on production and NOTHING, gosh.
 
Heres the code I'm using to connect to the SP WS:
  
Dim dws As New spDWS.Dws
dws.Url = "http://url/sites/site/_vti_bin/DWS.asmx"
dws.PreAuthenticate = True
dws.Credentials = System.Net.CredentialCache.DefaultNetwork ...

Go to the complete details ...