I've been having this problem for awhile now. I cannot load the types from the code behind files.
For example:
<%@ Application Codebehind="~/App_Code/GlobalAsax.cs" Inherits="BaseGlobal.GlobalAsax" Language="C#" %>
and here is my c# GlobalAsax.cs file:
namespace BaseGlobal
{
public class GlobalAsax : System.Web.HttpApplication
{
//code in here...
}
}
Specific error:
Cannot load type BaseGlobal.GlobalAsax
Why am i getting an error? I've been trying to figure this out. NOTE: this is a website project not a web app.
Thanks guys!