开发者

Visual Studio opens blank webpage on first (sometimes second) build

Occasionally, when I run a build using Ctrl+F5 or just F5, Visual Studio completes the build and opens the browser but fails to actually show the 开发者_高级运维site. Usually this happens the first time I'm building after opening VS, and disappears later. Anybody have any ideas why this is happening?

EDIT: Response to comments: This is Windows XP with Visual Studio Professional 2008. When I use View Source it only displays the open and close HTML tags.


I had this problem, and I had thoughtlessly used the Application_Error to elegantly handle a HttpRequestValidationException ("dirty" text input on a form) and had inadvertantly muted every other type of exception.

Whenever there was some small syntactical error or error in code, the page would come back blank, making debugging extremely tough.

The symptom was a perfectly formed blank html page. Hope that helps someone - I realise this is three years old!

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜