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

前端 未结 4 1141
没有蜡笔的小新
没有蜡笔的小新 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 05:10

    I had the same problem. Issue was that I had "IntegratedSecurity=True;" in my connection string but I was using sql authentication and passing in credentials at the same time. I removed the IntegratedSecurity piece and everything worked.

提交回复
热议问题