E
Edward W.
I wrote my web service and I have no problem browsing to the asmx file and
seeing the public methods. I can even invoke them with no problem. But in
my asp.net application I get this error message "The request failed with
HTTP status 401: Access Denied. "
BUT when I add this line to my code it works fine.
gsdiApplication gsdiWebService = new gsdiApplication();
gsdiApplication.Credentials =
stem.Net.CredentialCache.DefaultCredentials; ------ when I add this line
it then works!
gsdiApplication.....
<code here>
gsdi.Dispose();
But I don't understand why I needed to add it? I never had to do anything
like that before. What required it this time?
Ed
seeing the public methods. I can even invoke them with no problem. But in
my asp.net application I get this error message "The request failed with
HTTP status 401: Access Denied. "
BUT when I add this line to my code it works fine.
gsdiApplication gsdiWebService = new gsdiApplication();
gsdiApplication.Credentials =
stem.Net.CredentialCache.DefaultCredentials; ------ when I add this line
it then works!
gsdiApplication.....
<code here>
gsdi.Dispose();
But I don't understand why I needed to add it? I never had to do anything
like that before. What required it this time?
Ed