开发者

Very long load times for the initial view in MVC3

I have an intermittent problem where whatever view I set as my starting view, for my MVC3 project, in VS 2010, I get extremely long long load times. I'm now looking at over 2 minutes without anything happening except the browser waiting. I am working with a local DB on my dev machine, and the build time for the project is quick. If I st开发者_StackOverflowop to debug in VS, none of my code is running.

When I stop debugging in VS, which takes very long as well, then I finally get a 404 in the browser. What could be causing this, and what measures can I take to diagnose and resolve this issue?

I am using the VS built-in web server, not IIS, and VS 2010 Pro, so no IntelliTrace options.

NEW: When I tried a machine restart, my machine seemed to hang up on the 'logging off' message. I tried the restart because I experienced problems even accessing my C:\Development folder, also unexplained hanging. After the restart, on trying to run the project again, I immediately got a compilation error. That error was there from before the restart, and I suspect it had something to do with the total meltdown, but it's a simple misspelled property name in a view.

After fixing the compilation error, things are back to normal.


Try turning off IntelliTrace

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜