请教高手,错误:请求因 HTTP 状态 401 失败:Unauthorized
我把远程服务器的网站和数据库文件都拷到的本机,现在网站的首页default.aspx能打开,但是登陆用户的时候就会出现下面的错误:
“/xywebinfo”应用程序中的服务器错误。
--------------------------------------------------------------------------------
请求因 HTTP 状态 401 失败:Unauthorized。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。
异常详细信息: System.Net.WebException: 请求因 HTTP 状态 401 失败:Unauthorized。
源错误:
执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。
堆栈跟踪:
[WebException: 请求因 HTTP 状态 401 失败:Unauthorized。]
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +1303
System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +218
Epoint.UURPLib.ADProxy.ADUser_Service_Proxy.UserLogin(String LoginID, String Password) in E:\工作目录\Project2005\电子政务系统\Epoint.UURPLibrary\ADProxy\ADUser_Service_Proxy.cs:166
Epoint.UURPLib.AdOperate.ADUsers.UserLogin(String LoginID, String PassWord) in E:\工作目录\Project2005\电子政务系统\Epoint.UURPLibrary\AdOperate\ADUsers.cs:1017
WebBuilder.index.BtnLogin_Click(Object sender, EventArgs e)
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1292
--------------------------------------------------------------------------------
版本信息: Microsoft .NET Framework 版本:1.1.4322.2379; ASP.NET 版本:1.1.4322.2379
请问大家可能是什么原因啊?