Hi,
I am receiving this error when I consume a web service from a C# assembly:
The request failed with HTTP status 401: Unauthorized.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.
I am trying to return User.Identity.Name from a web service via a .dll called from an .aspx page.
The web service works fine directly from the .aspx page, however not through the assembly.
Any ideas??
Any help would be greatly appreciated.
Thanks.
I am receiving this error when I consume a web service from a C# assembly:
The request failed with HTTP status 401: Unauthorized.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Net.WebException: The request failed with HTTP status 401: Unauthorized.
I am trying to return User.Identity.Name from a web service via a .dll called from an .aspx page.
The web service works fine directly from the .aspx page, however not through the assembly.
Any ideas??
Any help would be greatly appreciated.
Thanks.