ClickOnce Error Message
- Hi, I'm getting the following error message & detailed report:
'Cannot download the application. The application is missing required files. Contact application venfor for assistance.'
PLATFORM VERSION INFO
Windows : 5.1.2600.131072 (Win32NT)
Common Language Runtime : 2.0.50727.42
System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200)
mscorwks.dll : 2.0.50727.42 (RTM.050727-4200)
dfdll.dll : 2.0.50727.42 (RTM.050727-4200)
dfshim.dll : 2.0.50727.42 (RTM.050727-4200)
SOURCES
Deployment url : file://(PATH)/SerialSNMPWinApp.application
Deployment Provider url : file://(PATH)/SerialSNMPWinApp/bin/Release/SerialSNMPWinApp.application
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of \\(SERVER/PATH)\SerialSNMPWinApp.application resulted in exception. Following failure messages were detected:
+ The Deployment Provider specified in the manifest cannot be reached. Maybe due to network error and/or the deployment provider is not responding correctly.
+ Exception reading manifest from file://(SERVER/PATH)/SerialSNMPWinApp/SerialSNMPWinApp/bin/Release/SerialSNMPWinApp.application: the manifest may not be valid or the file could not be opened.
+ Manifest XML signature is not valid.
+ No signature was present in the subject.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [8/22/2006 3:37:15 PM] : Activation of \\(PATH)SerialSNMPWinApp.application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [8/22/2006 3:37:15 PM] System.Deployment.Application.InvalidDeploymentException (Manifest)
- The Deployment Provider specified in the manifest cannot be reached. Maybe due to network error and/or the deployment provider is not responding correctly.
- 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)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Deployment.Application.InvalidDeploymentException (ManifestParse)
- Exception reading manifest from file://(PATH)/SerialSNMPWinApp/SerialSNMPWinApp/bin/Release/SerialSNMPWinApp.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.DownloadDeploymentManifestDirect(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.FollowDeploymentProviderUri(SubscriptionStore subStore, AssemblyManifest& deployment, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options)
--- 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
- No signature was present in the subject.
- Source: System.Deployment
- Stack trace:
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.
I've tried the digital certification (checking the "Sign the ClickOnce manifests"), but it hasn't changed the error message any; is this because my certificate is untrusted? I've also tried using the mageui.exe, but it didn't seem to do anything.
Thanks in advance,
Cassie
All Replies
- In your project do you see [project]_TemperaryKey.pfx? This file will be created by VS2005 for you for testing purposes. Make sure the file is there.If it is not there then they option you choose to sign is not correct and if the file is there try deleting file and try again.
- I have tried deleting the temporary key, but the same log pops up. I can paste the new one over now:
PLATFORM VERSION INFO
Windows : 5.1.2600.131072 (Win32NT)
Common Language Runtime : 2.0.50727.42
System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200)
mscorwks.dll : 2.0.50727.42 (RTM.050727-4200)
dfdll.dll : 2.0.50727.42 (RTM.050727-4200)
dfshim.dll : 2.0.50727.42 (RTM.050727-4200)
SOURCES
Deployment url : file://francium/ENG/puma/RegressionTest/cassie/SerialSNMPWinApp.application
Deployment Provider url : file://francium/ENG/puma/RegressionTest/VBNetapps/SerialSNMPWinApp/SerialSNMPWinApp/bin/Release/SerialSNMPWinApp.application
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of file://\\francium\ENG\puma\RegressionTest\cassie\SerialSNMPWinApp.application resulted in exception. Following failure messages were detected:
+ The Deployment Provider specified in the manifest cannot be reached. Maybe due to network error and/or the deployment provider is not responding correctly.
+ Exception reading manifest from file://francium/ENG/puma/RegressionTest/VBNetapps/SerialSNMPWinApp/SerialSNMPWinApp/bin/Release/SerialSNMPWinApp.application: the manifest may not be valid or the file could not be opened.
+ Manifest XML signature is not valid.
+ No signature was present in the subject.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [8/23/2006 4:01:52 PM] : Activation of file://\\francium\ENG\puma\RegressionTest\cassie\SerialSNMPWinApp.application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [8/23/2006 4:01:55 PM] System.Deployment.Application.InvalidDeploymentException (Manifest)
- The Deployment Provider specified in the manifest cannot be reached. Maybe due to network error and/or the deployment provider is not responding correctly.
- 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)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Deployment.Application.InvalidDeploymentException (ManifestParse)
- Exception reading manifest from file://francium/ENG/puma/RegressionTest/VBNetapps/SerialSNMPWinApp/SerialSNMPWinApp/bin/Release/SerialSNMPWinApp.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.DownloadDeploymentManifestDirect(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.FollowDeploymentProviderUri(SubscriptionStore subStore, AssemblyManifest& deployment, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options)
--- 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
- No signature was present in the subject.
- Source: System.Deployment
- Stack trace:
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. - Hi, I'm having the same problem, but with mandatory profiles. .NET 2 seems to think that it is the same a guest profile. Any ideas on how I can get the application to run?
Thank you. - Is there any solution to this? I am also experiencing the same problem while using mandatory profiles on a terminal server.
- Are there any thoughts on this?
- -bump-
- nothing ?
- no acknowledgment from ms on this issue ?
- tock
- tick
- We're having the same issue and I can't seem to find any work-around or resolution from Microsoft regarding this. It also seems like this has been an issue for a LONG time and I'm concerned that Microsoft hasn't addressed this yet.
- no repsonses yet...
- 100% reproducable BUG
- or is this a feature?
- Do you get the same error if you try to run the following from the RUN box?
rundll32.exe dfshim.dll,ShOpenVerbApplication http://www.yourserver.com/yourproject/yourapp.application I tried the command line and still not working. It generated the same error log as if the user had launched via the browser

Here is the error log:
PLATFORM VERSION INFO
Windows : 5.2.3790.65536 (Win32NT)
Common Language Runtime : 2.0.50727.42
System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200)
mscorwks.dll : 2.0.50727.42 (RTM.050727-4200)
dfdll.dll : 2.0.50727.42 (RTM.050727-4200)
dfshim.dll : 2.0.50727.42 (RTM.050727-4200)SOURCES
Deployment url : http://deploy/ClickOnce/testapp/testapp.applicationERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of http://deploy/ClickOnce/testapp/testapp.application resulted in exception. Following failure messages were detected:
+ Exception reading manifest from http://deploy/ClickOnce/testapp/testapp.application: the manifest may not be valid or the file could not be opened.
+ Manifest XML signature is not valid.
+ The profile for the user is a temporary profile.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.WARNINGS
There were no warnings during this operation.OPERATION PROGRESS STATUS
* [3/26/2007 11:27:01 AM] : Activation of http://deploy/ClickOnce/testapp/testapp.application has started.ERROR DETAILS
Following errors were detected during this operation.
* [3/26/2007 11:27:01 AM] System.Deployment.Application.InvalidDeploymentException (ManifestParse)
- Exception reading manifest from http://deploy/ClickOnce/testapp/testapp.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 profile for the user is a temporary profile.- 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.- This is a known issue, fix will be available in the next release. If this is a blocking issue for you consider filing a bug for QFE.
- is this something that is fixed in the .net 3.0 framework?
- Also getting this very error and it is maddening. No key is good enough. bump
- Thanks a lot for your feedback. It was a great help, based on the forum posts we have already resolved this issue. Unfortunately fix is not available in 3.0, you will get it in Orcas (3.5) beta2 release and later in RTM release.
- IMPORTANT NOTE: The current version of ClickOnce will only work properly in Internet Explorer. In particular if you try to download using Firefox the following error message will appear:
"Cannot Start Application. Cannot download the application. The application is missing required files. Contact application vendor for assistance."
Microsoft are working on cross browser support for ClickOnce - if you're interested read more here.
A patch for Firefox that will enable it to run ClickOnce properly is available here. - Hmmmm.... interesting. We are running Visual Studio 2008 and the ClickOnce WinForm is using .NET Framework 3.5.... and this just cropped up on some of our machines today for the first time.
Not encouraging. :( - If you want help with this, you are going to have to give details.
RobinS.
GoldMail.com
Ts'i mahnu uterna ot twan ot geifur hingts uto. Hello,
We are having a similar problem. After dozens of successful installs globally, we have a user who cannot install the application via our click-once deployment. They receive the following error message:
PLATFORM VERSION INFO
Windows : 5.0.2195.262144 (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://sgofgridapp06/GRIDClient/GRID.Client.application
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of http://sgofgridapp06/GRIDClient/GRID.Client.application resulted in exception. Following failure messages were detected:
+ Exception reading manifest from http://sgofgridapp06/GRIDClient/GRID.Client.application: the manifest may not be valid or the file could not be opened.
+ Manifest XML signature is not valid.
+ O sistema não pode encontrar o arquivo especificado.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [5/28/2009 11:46:14 AM] : Activation of http://sgofgridapp06/GRIDClient/GRID.Client.application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [5/28/2009 11:46:37 AM] System.Deployment.Application.InvalidDeploymentException (ManifestParse)
- Exception reading manifest from http://sgofgridapp06/GRIDClient/GRID.Client.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
- O sistema não pode encontrar o arquivo especificado.
- 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.
For those of you not fluent in Portuguese, "O sistema não pode encontrar o arquivo especificado" translates to "The System could not find the file specified."
I'm not sure what the problem could possibly be or what to do next.
Please give me any advice you have.
Storm Bringer
WCF the next frontier- Ok all, here is what I found that fixed this problem for me:
Clean your solution.
Delete all files and folders from your drop site.
Rebuild all.
Republish.
On the client side, remove all previous versions of the deployment.
Then reinstall. This fixed it for my team. - Ouch! If that was the fix this is a bug....
Javaman


