Have you changed the NameSpace field under project properties - check
upper/lower case
Have you changed the name or location of the project?
Have you copy-pasted any of the HTML templates from other
locations/projects?
The <%@ Page ...%> tags, and other behind the scene files are important.
Some are case sensitive. All must tie back correctly to namespace and
project path.
If you have moved things around manually, you may need to get into notepad
to fix some minor HTTP pointers.
"Adam Frazier" <> wrote in message
news:RAJNa.158845$_. com...
> I'm receiving this error message and am rather new to ASP.NET. I cannot
> figure out for the life of me how to fix. Any help?
>
> Thanks in advance.
> ----------------------------------
>
> Server Error in '/asp.net' Application.
> --------------------------------------------------------------------------
--
> ----
>
> Could not load type ASP.Global_asax from assembly tr2jvvnb,
Version=0.0.0.0,
> Culture=neutral, PublicKeyToken=null.
> Description: An unhandled exception occurred during the execution of the
> current web request. Please review the stack trace for more information
> about the error and where it originated in the code.
>
> Exception Details: System.TypeLoadException: Could not load type
> ASP.Global_asax from assembly tr2jvvnb, Version=0.0.0.0, Culture=neutral,
> PublicKeyToken=null.
>
> Source Error:
>
> An unhandled exception was generated during the execution of the current
web
> request. Information regarding the origin and location of the exception
can
> be identified using the exception stack trace below.
>
> Stack Trace:
>
>
> [TypeLoadException: Could not load type ASP.Global_asax from assembly
> tr2jvvnb, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.]
> System.Reflection.Assembly.GetType(String name, Boolean throwOnError)
+0
> System.Web.Compilation.BaseCompiler.GetCompiledTyp e() +412
> System.Web.UI.ApplicationFileParser.CompileIntoTyp e() +52
> System.Web.UI.TemplateParser.GetParserCacheItemThr oughCompilation()
+126
>
> [HttpException (0x80004005): Could not load type ASP.Global_asax from
> assembly tr2jvvnb, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null.]
> System.Web.UI.TemplateParser.GetParserCacheItemInt ernal(Boolean
> fCreateIfNotFound) +692
> System.Web.UI.TemplateParser.GetParserCacheItemWit hNewConfigPath() +125
> System.Web.UI.TemplateParser.GetParserCacheItem() +88
> System.Web.UI.ApplicationFileParser.GetCompiledApp licationType(String
> inputFile, HttpContext context, ApplicationFileParser& parser) +171
> System.Web.HttpApplicationFactory.CompileApplicati on(HttpContext
context)
> +43
> System.Web.HttpApplicationFactory.Init(HttpContext context) +485
> System.Web.HttpApplicationFactory.GetApplicationIn stance(HttpContext
> context) +170
> System.Web.HttpRuntime.ProcessRequestInternal(Http WorkerRequest wr)
+414
>
>
>
|