program akses webservice : The request failed with HTTP status 401: Access Denied

Bila mengalami Error di atas tambahkan coding :

  

 

Dim Service As New mycomputer.Service
Service.PreAuthenticate =true

Service.Credentials = System.Net.CredentialCache.DefaultCredentials

This entry was posted in Webserver, WEB SERVICES dan Network. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Comments links could be nofollow free.