The deployment identity at the deployment provider is not the same as the original deployment identity

Error Log:

PLATFORM VERSION INFO
 Windows    : 5.1.2600.196608 (Win32NT)
 Common Language Runtime  : 2.0.50727.3615
 System.Deployment.dll   : 2.0.50727.3053 (netfxsp.050727-3000)
 mscorwks.dll    : 2.0.50727.3615 (GDR.050727-3600)
 dfdll.dll    : 2.0.50727.3053 (netfxsp.050727-3000)
 dfshim.dll    : 4.0.31106.0 (Main.031106-0000)

SOURCES
 Deployment url   : http://173.10.17.18/MyApp/prjMyApp.application
      Server  : Microsoft-IIS/7.5
      X-Powered-By : ASP.NET
 Deployment Provider url  : http://173.10.17.17/MyApp/prjMyApp.application
      Server  : Microsoft-IIS/6.0
      X-Powered-By : ASP.NET

ERROR SUMMARY
 Below is a summary of the errors, details of these errors are listed later in the log.
 * Activation of http://173.10.17.18/MyApp/prjMyApp.application resulted in exception. Following failure messages were detected:
  + The deployment identity at the deployment provider is not the same as the original deployment identity.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
 No transaction error was detected.

WARNINGS
 There were no warnings during this operation.

OPERATION PROGRESS STATUS
 * [2011-3-7 10:32:40] : Activation of http://173.10.17.18/MyApp/prjMyApp.application has started.

ERROR DETAILS
 Following errors were detected during this operation.
 * [2011-3-7 10:32:41] System.Deployment.Application.InvalidDeploymentException (SubscriptionSemanticValidation)
  - The deployment identity at the deployment provider is not the same as the original deployment identity.
  - Source: System.Deployment
  - Stack trace:
   at System.Deployment.Application.DownloadManager.FollowDeploymentProviderUri(SubscriptionStore subStore, AssemblyManifest& deployment, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options)
   at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
   at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
   at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)

COMPONENT STORE TRANSACTION DETAILS
 No transaction information is available.

Cause:

         

        The publish package was changed, which caused unmatchable URL as below:
SOURCES
 Deployment url   : http://173.10.17.18/MyApp/prjMyApp.application
      Server  : Microsoft-IIS/7.5
      X-Powered-By : ASP.NET
 Deployment Provider url  : http://173.10.17.17/MyApp/prjMyApp.application

Solution:

 

Adjust the following URL2 and make it match URL1, and then publish project, the issue will be fixed.

 

URL1: Project properties--->Publish--->Application Updates--->Update Location

URL2:   Project properties--->Publish--->Publishing Folder Location

 

 

 

你可能感兴趣的:(The deployment identity at the deployment provider is not the same as the original deployment identity)