Parser error: Could not load type ‘Default’

asp.net

I have built an application in ASP.NET 3.5 framework and it is working fine on localhost but when i am uploading it on my server the page gives an error on loading
"Parser Error Message: Could not load type 'Default'."
<%@ Page Language="C#" AutoEventWireup="true" Debug="true" CodeFile="Default.aspx.cs" Inherits="Default" %>
so what should i do?

Best Answer

This is a broad error and could be a lot of things. I would suggest hooking up some logging framework. ELMAH is fantastic and integrates in seconds. I have it hooked up to just email me and store the errors in memory, no DB overhead. http://code.google.com/p/elmah/

Related Topic