SQL Azure + Getting an error 'There is already an open DataReader associated with this Command..', even after setting ‘MultipleActiveResultSets=True’

前端 未结 6 947
南旧
南旧 2021-02-05 03:57

We are facing some issues with the deployed version of our application on cloud.

Our application is an ASP.NET MVC 3 project with ADO .NET Entity Framework.

Acco

6条回答
  •  囚心锁ツ
    2021-02-05 04:36

    Alternatively you can add the "MultipleActiveResultSets=true" to your connection string and update the destination web.config when you are using the Publish feature in Visual Studio. Make sure to select "Use this connection string at runtime (update destination web.config)."enter image description here

提交回复
热议问题