Parse Error
Hi,
I just build the solution i got below error. i could not find the solution.
Parser Error
Server Error in '/' Application. Parser Error Description: 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 'SitefinityWebApp.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="SitefinityWebApp.Global" Language="C#" %>
Source File: /global.asax Line: 1
Regards
mansoor
Hello,
The error may occur, because you haven't built your project and such type still doesn't exist in the SitefinityWebApp dll. Another reason for this might come from the fact that you're running Sitefinity as a website, not a project. In such case the control declarations are a little different. If Sitefinity is ran as a project the control declaration looks like this:
<%@ Application Codebehind="Global.asax.cs" Inherits="SitefinityWebApp.Global" Language="C#" %>
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Global.asax.cs" Inherits="SitefinityWebApp.Global"%>