Web Service

  • Thread starter Thread starter viper8888
  • Start date Start date
V

viper8888

Guest
hi,

I'm trying to use the web service introduce in the .net. However, i get this runtime error message whenever i want to run the service in a windows application.

Unhandled exception of type 'System.Net.WebException' occured in system.web.service.dll
Additional Information:The request failed with HTTP status 401:Access Denied

The compiliation of the code stop at the file reference.vb

Below are codes how i use the service

Dim objService As New viper.Service1()

MessageBox.Show(objService.HelloWorld())

objService = Nothing

I get the same error when i try with other service
Is there anything i didn't set or didn't add when i developed the service??
The service that i use is exactly the same as the one show in VS .net -> ASP.Net Web Service project

pls help

thank u

best regards
viper
 
Back
Top