I have develop a simple website using VS8 and C# when I debug everything works fine, then I built using Ctrl + Shift + B and when I upload the site to a godaddy server it display the next error:
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 'testDemo._Default'.
Source Error:
Line 1: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="testDemo._Default"%>
Line 2:
Line 3:
A solution I found is removing the part Inherits="testDemo._Default", but when debuging it do not execute the "Page_Load(object sender, EventArgs e)".
Do anyone knows what is causing this error?
Jerry