Exception when deploying to IIS: Login failed for user 'IIS APPPOOL\DefaultAppPool'

前端 未结 4 1131
没有蜡笔的小新
没有蜡笔的小新 2020-12-29 04:48

I\'m working through some WCF examples in \"Windows Communication Foundation 4 Step By Step\". My resulting application runs fine as long as the service is hosted in casini.

4条回答
  •  佛祖请我去吃肉
    2020-12-29 04:57

    Solution found here:

    • Open IIS
    • double click your PC name under Connections
    • Click Application Pools
    • Select your app pool (DefaultAppPool)
    • Then under actions on the right click Advanced Settings,
      • Go to Process Model section and
      • click on Identity.
      • Now select NetworkService.

提交回复
热议问题