none
Visual Studio 2019 ClickOnce Update Error. RRS feed

  • Question

  • When i publish my Program and install it, it works fine. But when i open it, it checks for updates and i get the following error logged:

    PLATFORM VERSION INFO
    Windows : 10.0.18363.0 (Win32NT)
    Common Language Runtime : 4.0.30319.42000
    System.Deployment.dll : 4.8.3752.0 built by: NET48REL1
    clr.dll : 4.8.4042.0 built by: NET48REL1LAST_C
    dfdll.dll : 4.8.3752.0 built by: NET48REL1
    dfshim.dll : 10.0.18362.1 (WinBuild.160101.0800)

    SOURCES
    Deployment url : file:///C:/Users/2108/AppData/Roaming/Microsoft/Internet%20Explorer/Quick%20Launch/User%20Pinned/TaskBar/PasswordGeneratorPLUS%20V2.appref-ms%7C

    ERROR SUMMARY
    Below is a summary of the errors, details of these errors are listed later in the log.
    * Activation of C:\Users\2108\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\PasswordGeneratorPLUS V2.appref-ms| resulted in exception. Following failure messages were detected:
    + Exception reading manifest from https://www.dropbox.com/sh/8z7teywuklc6cwu/AACTe6OhHBiGHQDT36931hKQa?dl=0/PasswordGeneratorPLUS%20V2.application: the manifest may not be valid or the file could not be opened.
    + DTD is prohibited in this XML document.

    COMPONENT STORE TRANSACTION FAILURE SUMMARY
    No transaction error was detected.

    WARNINGS
    There were no warnings during this operation.

    OPERATION PROGRESS STATUS
    * [28/11/2019 11:18:58] : Activation of C:\Users\2108\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\PasswordGeneratorPLUS V2.appref-ms| has started.
    * [28/11/2019 11:18:58] : Performing necessary update check as specified by the deployment.

    ERROR DETAILS
    Following errors were detected during this operation.
    * [28/11/2019 11:18:59] System.Deployment.Application.InvalidDeploymentException (ManifestParse)
    - Exception reading manifest from https://www.dropbox.com/sh/8z7teywuklc6cwu/AACTe6OhHBiGHQDT36931hKQa?dl=0/PasswordGeneratorPLUS%20V2.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.DownloadDeploymentManifest(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options)
    at System.Deployment.Application.ApplicationActivator.PerformDeploymentUpdate(SubscriptionState& subState, String& errorPageUrl)
    at System.Deployment.Application.ApplicationActivator.ProcessOrFollowShortcut(String shortcutFile, String& errorPageUrl, TempFile& deployFile)
    at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl, Uri& deploymentUri)
    at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivationWithRetry(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
    at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
    --- Inner Exception ---
    System.Xml.XmlException
    - DTD is prohibited in this XML document.
    - Source: System.Xml
    - Stack trace:
    at System.Xml.XmlTextReaderImpl.Throw(Exception e)
    at System.Xml.XmlTextReaderImpl.ParseDoctypeDecl()
    at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
    at System.Deployment.Application.ManifestValidatingReader.XmlFilteredReader.Read()
    at System.Xml.XsdValidatingReader.Read()
    at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)

    COMPONENT STORE TRANSACTION DETAILS
    No transaction information is available.

    Thursday, November 28, 2019 10:21 AM

All replies