Welcome 微信登录

首页 / 网页编程 / ASP.NET / The request failed with HTTP status 401: Unauthorized

The request failed with HTTP status 401: Unauthorized2015-04-23背景:

今天写函数的时候,调用了一个webservice,执行到webservice的时候,报出上面的那个错误.

解决方法:

将webservice相关的dll的权限设置为everyone,后ok。

添加权限的步骤如下:

右击dll,选择属性

单击编辑