asp.net - Why can't my app load MvcApplication? -


i having trouble running asp.net mvc 2 app. using vs2010 asp.net development server.

error displayed in browser:

server error in '/' application.  parser error  description: error occurred during parsing of resource required service request. please review following specific parse error details , modify source file appropriately.   parser error message: not load type 'prototypeb.mvcapplication'.  source error:    line 1:  <%@ application codebehind="global.asax.cs" inherits="prototypeb.mvcapplication" language="c#" %>  source file: /global.asax    line: 1   version information: microsoft .net framework version:4.0.30319; asp.net version:4.0.30319.1 

global.aspx.cs:

namespace prototypeb {     public class mvcapplication : system.web.httpapplication     {         ... 

please copy paste namespace in global.asax file, right click on global.asax , choose 'view markup' see it

https://forums.asp.net/t/1559469.aspx/1?could+not+load+type+mvcapplication1+mvcapplication+

i fixed same problem copy pasting , recompiling solution.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -