开发者

visual studio iis7 parser error?

i had to reset my computer to factory settings yesterday and reinstall visual studio now before the clean start when i created a mvc2 application everything appeared correct but now i get a parser error when opening with iis7

and i set the application pool to asp.net v4.0

i would be able to fix this if what was in the window was actually visible in the file but its not so how can i fix it if i ca开发者_如何学Cnt see it im using iis7 and visual studio 2010 ultimate here are some screen shots

the browser error

visual studio iis7 parser error?

and the global asax it refers to

visual studio iis7 parser error?

according to the net it should automatically be migrated with iis7 so whats the problem here?


You can't open global.asax in Visual Studio, you have to do it in Notepad/similar.

  1. Locate global.asax in your file manager, right click and choose Open With -> Notepad
  2. Make sure what's in the Inherits attribute equals to your global.asax.vb namespace and class.

Did this work?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜