asp.net – DirectoryServicesCOMException 80072020来自IIS 7.5在Ap
发布时间:2020-05-22 11:16:01 所属栏目:asp.Net 来源:互联网
导读:我无法找到ASP.NET 4应用程序失败的问题,同时尝试为给定用户获取用户组.与此应用程序关联的应用程序池设置为在ApplicationPoolIdentity下运行. 例外信息 System.DirectoryServices.DirectoryServicesCOMExceptionHRESULT: 80072020Message: An operations err
|
我无法找到ASP.NET 4应用程序失败的问题,同时尝试为给定用户获取用户组.与此应用程序关联的应用程序池设置为在ApplicationPoolIdentity下运行. 例外信息 System.DirectoryServices.DirectoryServicesCOMException HRESULT: 80072020 Message: An operations error occurred. Extended Message: 000004DC: LdapErr: DSID-0C0906E8,comment: In order to perform this operation a successful bind must be completed on the connection.,data 0,v1db1 堆栈跟踪 System.DirectoryServices.DirectoryEntry.Bind(Boolean)
System.DirectoryServices.DirectoryEntry.Bind()
System.DirectoryServices.DirectoryEntry.get_AdsObject()
System.DirectoryServices.DirectorySearcher.FindAll(Boolean)
System.DirectoryServices.DirectorySearcher.FindOne()
95%-99%的时间,此功能正常,但有时,它只是开始失败.当我将应用程序池更改为使用LocalSystem或NetworkService时,它开始工作.当我改回ApplicationPoolIdentity时,它又开始失败了.使ApplicationPoolIdentity重新启动站点的唯一方法是重新启动服务器. 我能够找到类似的问题here,但解决方案也是重启.我想找到一个更永久的解决方案,而不是改变应用程序池的身份. 解决方法虽然重新启动会暂时解决问题,但有一个 Microsoft hotfix KB2545850可以永久解决问题.(编辑:安卓应用网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- ASP.NET MVC Web应用程序与ASP.NET Web应用程序
- asp.net – 单元测试http处理程序?
- asp.net-core – 如何使用Identity Server 4使用桌面/移动应
- wcf-data-services – 为什么我的oData响应没有导航属性
- asp.net-mvc-3 – ASP.net MVC路由与可选的第一个参数
- asp.net – VS 2012发布:找不到有效的AspnetMergePath
- asp.net – 所有PartialView的自定义ActionResult等效模型
- 在ASP.NET MVC C#中使用Jquery更新部分视图
- asp.net – 在WebForms中调试时关闭捆绑/缩小
- asp.net – 如何访问Microsoft.Owin.Security.xyz OnAuthen
推荐文章
站长推荐
- asp.net – 在VS Code中指定localhost端口的位置
- ASP.NET:如何处理并行请求
- asp.net-mvc – ASP.NET MVC:什么在哪里?
- asp.net-mvc-3 – MVC 3中的BeginRequest类过滤器
- 剃刀 – 将MVC3应用程序迁移到MVC4:编译器错误消
- asp.net – 多久我应该打开/关闭我的Booksleeve连
- asp.net – Visual Studio 2013更改现有项目的身
- asp.net-mvc-3 – WSFederationAuthenticationMo
- asp.net-mvc – 路由在Asp.net Mvc 4和Web Api
- asp.net-mvc – ASP.NET MVC – Partial View可以
热点阅读
