Quantcast
Channel: Web Deployment Tool (MS Deploy)
Viewing all articles
Browse latest Browse all 663

Unable to install Web Application due to ERROR_FRAMEWORK_VERSIONS_DO_NOT_MATCH

$
0
0

I been having issues getting an ASP.NET web application to install via web deploy on IIS 7.5 on Windows Server.

There seems to be a mismatch with the versions of the frameworks. Is this the app framework (4.5) causing this error? Am installing the application to an application pool that runs Framework 4.0. Is something I can modify in .config file to fix this?

The package installation failed.

Details:   

The versions of the .NET Framework Configuration Provider (machineConfig32) are different on the source (4.0) and destination (2.0).  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_FRAMEWORK_VERSIONS_DO_NOT_MATCH.



Details of the error,

Microsoft.Web.Deployment.DeploymentDetailedException: The versions of the .NET Framework Configuration Provider (machineConfig32) are different on the source (4.0) and destination (2.0).  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_FRAMEWORK_VERSIONS_DO_NOT_MATCH.

   at Microsoft.Web.Deployment.FrameworkMismatchRuleHandler.ThrowIfSourceAndDestVersionsDontMatch(DeploymentObject source, Version sourceVersion, Version destVersion)

   at Microsoft.Web.Deployment.FrameworkMismatchRuleHandler.ThrowIfSourceAndDestinationAttributeDontMatch(DeploymentObject source, DeploymentObject destination, String attributeName)

   at Microsoft.Web.Deployment.DeploymentSyncContext.HandleUpdate(DeploymentObject destObject, DeploymentObject sourceObject)

   at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenOrder(DeploymentObject dest, DeploymentObject source)

   at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenNoOrder(DeploymentObject dest, DeploymentObject source)

   at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenOrder(DeploymentObject dest, DeploymentObject source)

   at Microsoft.Web.Deployment.DeploymentSyncContext.ProcessSync(DeploymentObject destinationObject, DeploymentObject sourceObject)

   at Microsoft.Web.Deployment.DeploymentObject.SyncToInternal(DeploymentObject destObject, DeploymentSyncOptions syncOptions, PayloadTable payloadTable, ContentRootTable contentRootTable, Nullable`1 syncPassId, String syncSessionId)

   at Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentProviderOptions providerOptions, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions)

   at Microsoft.Web.Deployment.DeploymentObject.SyncTo(DeploymentWellKnownProvider provider, String path, DeploymentBaseOptions baseOptions, DeploymentSyncOptions syncOptions)

   at Microsoft.Web.Deployment.UI.InstallProgressWizardPage.OnWorkerDoWork(Object sender, DoWorkEventArgs e)

   at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

I tried the second suggestion given from the error link, still does not work.


Viewing all articles
Browse latest Browse all 663

Trending Articles



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