Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Perplexing ClickOnce Deployment Error HELP!
 

Perplexing ClickOnce Deployment Error HELP!

I have a perplexing ClickOnce deployment problem.I have been scouring the internet to no avail. I've found several people looking for answers to the same problem but nobody posts a solution.MyApp is deployed at several offices.On some machines in one location I amgetting "Cannot Continue. The application may be improprerly formatted...." With the error log below. I know that the manifest is valid because I can install it on other machinesat this location and other locations not on this network. I have evaluated the following variables already: operation system, user priviledges, firewall access, and internet explorer settings. Ihave installedMyApp at this location on a Windows2003 server upstairs with the same administrative user I am logging in as downstairs. Themachines with the problem have the Novell client and GroupWise on them. Does that make a difference? What do I need to do to get this application to install properly. HELP!

PLATFORM VERSION INFO
Windows : 5.1.2600.131072 (Win32NT)
Common Language Runtime : 2.0.50727.832
System.Deployment.dll : 2.0.50727.832 (QFE.050727-8300)
mscorwks.dll : 2.0.50727.832 (QFE.050727-8300)
dfdll.dll : 2.0.50727.42 (RTM.050727-4200)
dfshim.dll : 2.0.50727.42 (RTM.050727-4200)

SOURCES
Deployment url: http://www.samplecompany.com/myapp/myapp.application

ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of http://www.samplecompany.com/myapp/myapp.application resulted in exception. Following failure messages were detected:
+ Exception reading manifest from http://www.samplecompany.com/myapp/myapp.application: the manifest may not be valid or the

file could not be opened.
+ Manifest XML signature is not valid.
+ The system cannot find the file specified.


COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
* [9/12/2007 10:32:42 AM] : Activation of http://www.samplecompany.com/myapp/myapp.application has started.

ERROR DETAILS
Following errors were detected during this operation.
* [9/12/2007 10:32:43 AM] System.Deployment.Application.InvalidDeploymentException (ManifestParse)
- Exception reading manifest from http://www.samplecompany.com/myapp/myapp.application: the manifest may not be valid or the

file could not be opened.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri

sourceUri)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore,

Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options,

ServerInformation& serverInformation)
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)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Deployment.Application.InvalidDeploymentException (SignatureValidation)
- Manifest XML signature is not valid.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)
at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri

sourceUri)
--- Inner Exception ---
System.Security.Cryptography.CryptographicException
- The system cannot find the file specified.

- Source: System.Deployment
- Stack trace:
at System.Deployment.Internal.CodeSigning.SignedCmiManifest.VerifyPublicKeyToken()
at System.Deployment.Internal.CodeSigning.SignedCmiManifest.Verify(CmiManifestVerifyFlags verifyFlags)
at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)

COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.

computer_mom  Thursday, September 13, 2007 1:17 PM

Hi, computer_mom,

Based on the error codes in your post, I think this issue is related to the priviledges of the computer.

And could you please check if you can access tothis file from the computer

http://www.samplecompany.com/myapp/myapp.application?

And please do not use IE, because IE may save the confidential infomations which the setup. exe cannot get.

Regards

Yu Guo â€?MSFT  Monday, September 17, 2007 2:55 AM

Yu,

Thanks for responding. I have tried to access that url through the run command line with no success. I should have put that in my first post. Do you know what privilege settings would give this error?

Thanks again. Your help is REALLY appreciated.

computer_mom  Tuesday, September 18, 2007 12:57 PM

Hi, computer_mom,

For the privilege problems, I do recommend you to work with your IT support.

You should check the domain account and computer settings to see if there is any violation.

After you solve this problem, the ClickOnce deployment should work.

Hope this helps,

Regards

Yu Guo â€?MSFT  Wednesday, September 19, 2007 12:54 AM

You can use google to search for other answers

Custom Search

More Threads

• How to redistribute vbscript.dll for use with VB6.0 application.
• Custom Installers
• Problems running embedded Windows Control with Server 2003?
• SQL Server express prerequisite conditionally
• How to change Localization in VS2008 Setup Project dynamically?
• add some files and folder
• Sharing merge modules
• Use ClickOnce to check update for late bound dll
• Building deployment project from command line
• Renaming shortcuts using VS2005 Installer Class