System.DirectoryServices.DirectoryServicesCOMException: An operations error occurred

后端 未结 7 800
南笙
南笙 2020-12-01 04:08

I have the same web app working in three others servers. Anyone have any idea why is not working in the 4th server? See the error and stacktrace:

7条回答
  •  旧巷少年郎
    2020-12-01 04:51

    In my case, switching from ApplicationPoolItentity to NetworkService in the app pool did work BUT it not preferred "because services running as Network Service can tamper with other services that run under the same identity" per the following link: (http://www.iis.net/learn/manage/configuring-security/application-pool-identities).

    I ran the hotfix (KB2545850) on the server and rebooted per this answer:(DirectoryServicesCOMException 80072020 From IIS 7.5 Site Running Under ApplicationPoolIdentity)

    It appears to be working well now.

    Background on my task: Upgrading apps from .net framework 2.0 on Server 2003 to .net framework 4.0 on Server 2008 R2.

提交回复
热议问题