Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Migrating from IIS7.5 to IIS8.0 gives framework mismatch error

$
0
0

I'm trying to migrate my web server from IIS 7.5 (on Server 2008 R2) to IIS 8.0 (on Server 2012) using the Microsoft Web Deploy extension thing. When exporting it makes the zip and that seems to work fine, but when I try to import it I get this error:

ERROR_FRAMEWORK_VERSIONS_DO_NOT_MATCH.

The specific text is:

The versions of the .NET Framework Configuration Provider (machineConfig64) are different on the source (2.0) and destination (4.0).

Both servers have .NET 4.0 and .NET 2.0 installed and showing up in IIS. None of my app pools use 2.0 and all sites/applications are using the same 4.0 app pool.

Looking at the deploy package contents, there are four properties that are coming out with a value of 2.0:

  • .NET 32-bit root Web configuration
  • .NET 32-bit machine configuration
  • .NET 64-bit root Web configuration
  • .NET 64-bit machine configuration

I vaguely understand what these represent but I can't work out where to change them to 4.0 instead of 2.0. I'm not even certain if this is causing the issue, but it seems like it is.

I tried disabling the "Framework Mismatch" rule during the import but the same error still occurs.

I would appreciate any suggestions for ways to resolve this. Or maybe there is an easy way to move my site without Web Deploy? It's nothing complicated, just some forum installs. I don't even use ASP.NET at all, everything is PHP.

I've been bashing my head against this for hours and getting nowhere. Thanks!


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>