Getting Parser error when running Web Application on Internet
-
Getting Parser error when running Web Application on Internet ---- 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 'Home_2'. Source Error: Line 1: <%@ Master Language="C#" AutoEventWireup="true" Inherits="Home_2" Codebehind="Home_2.master.cs" %>
---- But it is running on local host
-
Getting Parser error when running Web Application on Internet ---- 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 'Home_2'. Source Error: Line 1: <%@ Master Language="C#" AutoEventWireup="true" Inherits="Home_2" Codebehind="Home_2.master.cs" %>
---- But it is running on local host
Did you also copied the App_Code and bin directory? It seems that the Home_2-class is missing.
It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.