user2360384
user2360384

Reputation: 51

Visual Studio shows blank page when web application is run

I've had an occasional issue with my laptop where the power instantly cuts out - without the machine shutting down properly. This happened a couple of times yesterday while I was working on a project in VS 2013. Since then when I try to run the project the browser loads and the name of the start up page appears in the url box but it just shows a blank page.

Before, the page loading icon in the Chrome tab would swirl for a while as it was loading, but now it hardly does that at all, as if it's not even trying to load the page.

Some extra info:

Has anyone seen this problem before? Any ideas??

Thanks

Upvotes: 5

Views: 12597

Answers (2)

Evan
Evan

Reputation: 497

I had the same problem as well. Suddenly when I launch my MVC web application from Visual Studio 2013, the browser comes up and the app is running, but the browser displays blank, no url and does not even try to load the page. In Visual Studio, none of the Script Documents are loaded either.

Simply by setting a breakpoint in Global.asax.cs, Application_start, everything went back to normal, problem solved.

Upvotes: 0

gurhanh
gurhanh

Reputation: 116

I had the same problem. Solved it by adding a break point at Application_Error function in Global.asax.cs. Then I was able to see the real problem. It was because of some conflicting dlls.

Upvotes: 3

Related Questions