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


Answer this question

ClickOnce Error Message

  • Anil Dhiman

    no repsonses yet...
  • Nonu_k

    Are there any thoughts on this
  • dr.acv

  • John_Mac

    Is there any solution to this I am also experiencing the same problem while using mandatory profiles on a terminal server.
  • rheaney

    -bump-
  • mmoprg

    100% reproducable BUG
  • shekhar saran

    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.



  • IMBack

    tock
  • wjousts

    tick
  • asdsoftware_dev

    no acknowledgment from ms on this issue
  • Stardust25

    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.
  • jobo5432

    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.

  • Richard Berg MSFT

    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.

  • lbugnion

    nothing
  • ClickOnce Error Message