locked
Unknown Deployment Error RRS feed

  • Question

  • '==========================================
    PLATFORM VERSION INFO
     Windows    : 5.1.2600.196608 (Win32NT)
     Common Language Runtime  : 2.0.50727.3603
     System.Deployment.dll   : 2.0.50727.3053 (netfxsp.050727-3000)
     mscorwks.dll    : 2.0.50727.3603 (GDR.050727-3600)
     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/Owner/Desktop/HMS%20Sampling%20COC/HMS%20Sampling%20COC.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\Owner\Desktop\HMS Sampling COC\HMS Sampling COC.application resulted in exception. Following failure messages were detected:
      + Temporary path string is too short.

    COMPONENT STORE TRANSACTION FAILURE SUMMARY
     No transaction error was detected.

    WARNINGS
     There were no warnings during this operation.

    OPERATION PROGRESS STATUS
     * [1/21/2010 3:06:31 PM] : Activation of C:\Documents and Settings\Owner\Desktop\HMS Sampling COC\HMS Sampling COC.application has started.

    ERROR DETAILS
     Following errors were detected during this operation.
     * [1/21/2010 3:06:31 PM] System.Deployment.Application.DeploymentException (Unknown subtype)
      - Temporary path string is too short.
      - Source: System.Deployment
      - Stack trace:
       at System.Deployment.Application.PathHelper.GenerateRandomPath(UInt32 segmentCount)
       at System.Deployment.Application.TempFile..ctor(String basePath, String suffix)
       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, 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.

    '=============================

    This is the log for the error that I am getting. The program seems to publish succesful. However as soon as you try and install the setup file and error shows up. The error box only says that the application can not be started. And this is the error log that is given. I have looked all over and can not find any answers.

    THanks for any help.

    Thursday, January 21, 2010 11:17 PM

Answers

  • This seems unusual.  Could you please provide all input that you provided to the Publish wizard?

    1.  The location you published to.
    2.  Your answer to the "How will users install the application" prompt.

    Something to try:

    Don't know if this would help, but try publishing to an ordinary folder on your c:\ drive instead of anything under "Documents and Settings".  (FYI:  Just now I tried out a publish to "Desktop".  It worked on my machine which is Vista with .NET version 2.0.50727.4016.)

    Something else to try:

    Start a new blank, project and see what happens when you try to publish it.

    (If you suspect this is a bug in ClickOnce,  the place to report it would be Microsoft Connect http://connect.microsoft.com/VisualStudio, where someone from Microsoft will take a look.)
    Friday, January 22, 2010 2:10 AM

All replies