Jump to content
Xtreme .Net Talk

Web Service


Recommended Posts

Guest viper8888
Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...