【发布时间】:2013-01-01 16:57:16
【问题描述】:
好的,所以我有这个 .NET 1.1 应用程序(由某个人在很久以前编写),它就像一个文档存储库,过去它运行良好。尝试搜索项目/文档时突然出现此错误:
页面:/CPDEPforIT/SearchResults.aspx
错误:
System.Net.WebException:请求失败,HTTP 状态为 401: 未经授权。在 System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage 消息、WebResponse 响应、流 responseStream、布尔值 asyncCall) 在 System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(字符串 方法名,对象 [] 参数)在 CPDEPforIT.InktomiSearchService.soapSearchService.getSearchResults(SearchInput in0) 在 CPDEPforIT.SearchResults.GetDatasetForSearchQuery(SearchInput searchInput) 在 CPDEPforIT.SearchResults.Page_Load(Object sender, EventArgs e) 在 System.Web.UI.Control.OnLoad(EventArgs e) 在 System.Web.UI.Control.LoadRecursive() 在 System.Web.UI.Page.ProcessRequestMain()
我不记得有任何变化。这可能是由应用程序外部的东西(IIS 配置/权限、服务器、数据库)引起的吗?
【问题讨论】:
-
我要检查的第一件事是服务帐户是否仍然有效。某人更改密码或锁定帐户很容易。
标签: vb.net soap .net-1.1 http-status-code-401 system.net.webexception