Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Publish Error
 

Publish Error

Hi,

I am trying to Publish my program. This seems to work nicely. However when I try to install the Setup.exe I receive an Error. I tried finding a solution for that but I've been stuck for a while now and hope somebody here knows an answer.


PLATFORM VERSION INFO
Windows : 5.1.2600.196608 (Win32NT)
Common Language Runtime : 2.0.50727.3082
System.Deployment.dll : 2.0.50727.3053 (netfxsp.050727-3000)
mscorwks.dll : 2.0.50727.3082 (QFE.050727-3000)
dfdll.dll : 2.0.50727.3053 (netfxsp.050727-3000)
dfshim.dll : 2.0.50727.3053 (netfxsp.050727-3000)

SOURCES
Deployment url : file:///C:/Documents%20and%20Settings/Martin/My%20Documents/Projects/OPCControlSystems.application
Application url : file:///C:/Documents%20and%20Settings/Martin/My%20Documents/Projects/Application%20Files/OPCControlSystems_1_0_0_14/OPCControlSystems.exe.manifest

IDENTITIES
Deployment Identity : OPCControlSystems.application, Version=1.0.0.14, Culture=en, PublicKeyToken=72e0d1c1cd2bb4c0, processorArchitecture=msil
Application Identity : OPCControlSystems.exe, Version=1.0.0.14, Culture=en, PublicKeyToken=72e0d1c1cd2bb4c0, processorArchitecture=msil, type=win32

APPLICATION SUMMARY
* Installable application.

ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Documents and Settings\Martin\My Documents\Projects\OPCControlSystems.application resulted in exception. Following failure messages were detected:
+ Reference in the manifest does not match the identity of the downloaded assembly OPCServerManagement.exe.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
* [7/6/2009 10:30:24 PM] : Activation of C:\Documents and Settings\Martin\My Documents\Projects\OPCControlSystems.application has started.
* [7/6/2009 10:30:24 PM] : Processing of deployment manifest has successfully completed.
* [7/6/2009 10:30:24 PM] : Installation of the application has started.
* [7/6/2009 10:30:24 PM] : Processing of application manifest has successfully completed.
* [7/6/2009 10:30:26 PM] : Request of trust and detection of platform is complete.

ERROR DETAILS
Following errors were detected during this operation.
* [7/6/2009 10:30:26 PM] System.Deployment.Application.InvalidDeploymentException (RefDefValidation)
- Reference in the manifest does not match the identity of the downloaded assembly OPCServerManagement.exe.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.DownloadManager.ProcessDownloadedFile(Object sender, DownloadEventArgs e)
at System.Deployment.Application.FileDownloader.DownloadModifiedEventHandler.Invoke(Object sender, DownloadEventArgs e)
at System.Deployment.Application.FileDownloader.OnModified()
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
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.

Truckermouth  Monday, July 06, 2009 8:33 PM
Are you deploying it to a folder called Projects under MyDocuments? Are you using Visual Studio to deploy it, and what are you setting as the publishing location? Are you publishing the files and then copying them to another location? Are you changing anything at all about the files after publishing them?

RobinDotNet
Click here to visit my ClickOnce blog!
RobinDotNet  Tuesday, July 07, 2009 9:03 AM
We are changing the issue type to “General Discussion�because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question�by opening the Options list at the top of the post editor window, and changing the type. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.
Please mark the replies as answers if they help and unmark if they don't.
Kira Qian  Monday, July 13, 2009 8:28 AM

You can use google to search for other answers

Custom Search

More Threads

• Tutorial loader UI/Code
• Publish Version and main assembly version
• Best way to deploy Windows Forms app to multiple computers
• Deploying a Visual Basic 2008 Express Application by E-mail
• Custom verification of entered target directory
• Install delay signed assemblies using VS 2005 Setup Project
• Error 2835: The control ErrorIcon was not found on dialog ErrorDialog
• troubleshooting AppUpdater
• Moving ClickOnce Apps to Different Servers without using Visual Studio
• Setup Application Folder DB copy Error