04 July 2011 CI Team

These Blogpost belongs to the set “strange error messages and for hours of googling doesn’t help”. My associate Daniel Kubis received the following error message while he tried to start a ASP.NET application:

Parser Error Message: Could not load type 'ApplicationName.Global'.

Source Error: Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="ApplicationName.Global" %> Source File: Path of Application \global.asax Line: 1

This error is quite usual and there are a lot of reasons how this could happen. In the case of my associate was the answer to this problem the following:

The Web.config from “C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config” was lost. Little background Information about the folder “C:\Windows\Microsoft.NET\Framework64\FRAMEWORK_VERSION\Config” In this folder we collected a lot of different “machine far” configurations and already the smallest manipulation of the files could create the strangest errors. It should be possible to copy the file from another computer without any problems otherwise you need to reactivate the .NET Framework Setup.