Search code examples
asp.net-mvc-3code-behind

Parser Error: Server Error in '/' Application


I got the following error: "An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately."

Parser Error Message: `Could not load type 'nadeem.MvcApplication'`.
Source Error:  Line 1:  <%@ Application Codebehind="Global.asax.cs" Inherits="nadeem.MvcApplication" Language="C#" %>

Solution

  • For me Deleting the dlls from the BIN folder and then building the project worked