MVC 3/EF/SQL Server strange connection timeout issue

左心房为你撑大大i 提交于 2019-12-06 06:58:10

You could examine the problem from the database server by setting up a SQL Server Profiler.

You can find lots of info about SQL Profiler by just googling around. Here's a site with a video that might help you get started.

Edit: While this did indeed help me it was not the solution. The problem still exists for anyone reading in the future.

Just to let everyone know - I believe that I have found the issue. Through the SQL Profiler, I saw that the account being used to access SQL was in fact the local system account. I then realized that in an attempt to fix an issue prior, I had changed the ASP.NET v4.0 app pool to use the local system account. I went and changed the Identity back to 'ApplicationPoolIdentity', added the IIS APPPOOL\ASP.NET v4.0 user to the database and so far everything has been working great. @DOK - Thank you much for the information on SQL Profiler, it helped tremendously! Thanks everyone else also!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!