Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Upgrade to DNN 7 failedUpgrade to DNN 7 failed
Previous
 
Next
New Post
1/23/2013 9:41 PM
 

I've also experienced a failed upgrade from 06.02.03 to 07.00.02 in a Win2008R2 Standard, MSSQL 2008R2. Based on the errors, I suspect that it is because the earlier version of DNN was running on .NET v2.0, however, i don't know if i should change the settings in the web.config.  I've upgraded the App Pool to v4.0, but that didn't fix the problem.  Is there a recommended procedure to clean up the App Pool and .NET environment to get the new default.aspx to run to initialize the upgrade scripts?

Here is the error page dump:

Server Error in '/dnn623' Application.

Could not load file or assembly 'ClientDependency.Core' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

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.BadImageFormatException: Could not load file or assembly 'ClientDependency.Core' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

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.


Assembly Load Trace: The following information can be helpful to determine why the assembly 'ClientDependency.Core' could not be loaded.

WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog]. 


Stack Trace:

[BadImageFormatException: Could not load file or assembly 'ClientDependency.Core' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.] System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0 System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +416 System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +166 System.Reflection.Assembly.Load(String assemblyString) +35 System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +190 [Configurati sException: Could not load file or assembly 'ClientDependency.Core' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.] System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +11241896 System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +388 System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +232 System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() +48 System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +210 System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +76 System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +11231074 System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +185 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +551 [HttpException (0x80004005): Could not load file or assembly 'ClientDependency.Core' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.] System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +76 System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +1012 System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +1025 [HttpException (0x80004005): Could not load file or assembly 'ClientDependency.Core' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11335894 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4355316 



Version Information: Microsoft .NET Framework Version:2.0.50727.5466; ASP.NET Version:2.0.50727.5456 

 

 

 

 
New Post
1/23/2013 10:10 PM
 
I fixed the .NET version problem by IIS existing web site "dnn623" context menu | Manage Applications | Application Pool and set it to ASP.NET v4.0 pool that I'm assuming was created when .NET v4.0 was installed.  This resolved the previous problem, but resulted in UpgradeWizard.aspx throwing an unhandled error.
 
New Post
2/4/2013 9:26 PM
 

Hi,

would like to stick to Rune's initial error as I am experiencing exactly the same problem.

I am trying to upgrade DNN on my local machine (Windows 7 / IIS 7.5 / ASP.NET 4) from 6.2.6 to 7.0.2.

All was working good in 6.2.6.

Got the upgrade package, unblocked it and copy-pasted it into the root folder.

Built the Solution in VS 2012, solved some minor issues (replaced the old Telerik.Web.UI dll) -> Build succeeded.

But when navigating to the website (http://localhost:8087/Install/Install.aspx?mode=upgrade) I get Rune's mysterious error (see below).

The problem is that debugging doesn't help, no breakpoint gets hit.

Note: Have upgraded a different website from 6.2.1 to 7.0.2 successfully and didn't run into this error.

Can anyone help?

Thanks Peter

 

Server Error in '/' Application.

Object reference not set to an instance of an object.

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.NullReferenceException: Object reference not set to an instance of an object.

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:

[NullReferenceException: Object reference not set to an instance of an object.] DotNetNuke.Common.Globals.get_Status() +80 DotNetNuke.HttpModules.RewriterUtils.OmitFromRewriteProcessing(String localPath) +39 DotNetNuke.HttpModules.RequestFilter.RequestFilterModule.FilterRequest(Object sender, EventArgs e) +205 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69 


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18034
 
New Post
2/7/2013 10:51 PM
 

Hi,
ok, got it  working.
Changed 2 things, so not entirely sure what helped:

- used the 7.0.3 upgrade package instead of the 7.0.2 one
- changed this in web.config:
   <add assembly="System.Web.Routing, Version=3.5.0.0
  to
   <add assembly="System.Web.Routing, Version=4.0.0.0


   and added these 3:
   <add assembly="System.Security, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Data.Entity.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />

 Upgrade went flawless after these changes.

Peter
   

 
New Post
2/23/2013 4:00 PM
 
I'm getting the same error upgrading 6.2 to 7.02.
Will try each of the above, but would love to see some authoritative posts on this error.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Upgrade to DNN 7 failedUpgrade to DNN 7 failed


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out