I am trying to upgrade a client site from 6.1.2 to 6.2.5 but keep getting the following error when the upgrader runs and I just cannot find out what is wrong. Please can someone help as I need to get this site up to the latest version and even though I have upgraded 100s of DNN sites over the years I have never seen this before. If it cannot be solved here can anyone suggest how I can get someone from DNN to look into it or how I can get paid support to resolve the problem. Thanks.
Server Error in '/' Application.
Could not load type 'DotNetNuke.Common.DotNetNukeHttpApplication' from assembly 'DotNetNuke, Version=6.2.5.24, 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 'DotNetNuke.Common.DotNetNukeHttpApplication' from assembly 'DotNetNuke, Version=6.2.5.24, 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 'DotNetNuke.Common.DotNetNukeHttpApplication' from assembly 'DotNetNuke, Version=6.2.5.24, Culture=neutral, PublicKeyToken=null'.]
System.Reflection.RuntimeAssembly.GetType(RuntimeAssembly assembly, String name, Boolean throw , Boolean ignoreCase, ObjectHandleOnStack type) +0
System.Reflection.RuntimeAssembly.GetType(String name, Boolean throw , Boolean ignoreCase) +67
System.Reflection.Assembly.GetType(String name) +14
System.Web.Compilation.BaseTemplateBuildProvider.GetGeneratedType(CompilerResults results, Boolean useDelayLoadTypeIfEnabled) +96
System.Web.Compilation.BaseTemplateBuildProvider.GetGeneratedType(CompilerResults results) +6
System.Web.Compilation.BuildProvider.CreateBuildResult(CompilerResults results) +72
System.Web.Compilation.BuildProvider.GetBuildResult(CompilerResults results) +16
System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp) +9118863
System.Web.Compilation.BuildManager.CompileGlobalAsax() +44
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +265
[HttpException (0x80004005): Could not load type 'DotNetNuke.Common.DotNetNukeHttpApplication' from assembly 'DotNetNuke, Version=6.2.5.24, Culture=neutral, PublicKeyToken=null'.]
System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +62
System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +421
System.Web.Compilation.BuildManager.CallAppInitializeMethod() +31
System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +691
[HttpException (0x80004005): Could not load type 'DotNetNuke.Common.DotNetNukeHttpApplication' from assembly 'DotNetNuke, Version=6.2.5.24, Culture=neutral, PublicKeyToken=null'.]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +9090876
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +97
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +256
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272