I have the following error message when I do a Clickonce deployment in a virtual azure serve

ModiboModibo Member Posts: 36
Hi teams,

I have the following error message when I do a Clickonce deployment in a virtual azure server




ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\inetpub\wwwroot\BC-TNK\Deployment\Microsoft.Dynamics.Nav.Client.application resulted in exception. Following failure messages were detected:
+ Deployment and application do not have matching security zones.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
* [7/9/2021 7:28:10 PM] : Activation of C:\inetpub\wwwroot\BC-TNK\Deployment\Microsoft.Dynamics.Nav.Client.application has started.
* [7/9/2021 7:28:11 PM] : Processing of deployment manifest has successfully completed.
* [7/9/2021 7:28:11 PM] : Installation of the application has started.

ERROR DETAILS
Following errors were detected during this operation.
* [7/9/2021 7:28:11 PM] System.Deployment.Application.InvalidDeploymentException (Zone)
- Deployment and application do not have matching security zones.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)
at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
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)

Answers

  • RockWithNAVRockWithNAV Member Posts: 1,139
    I will suggest dont waste time in fixing the errors, instead re-execute the complete process, Your Application Manifest should be correct otherwise you will go on receiving endless error while downloading the Manifest file.
  • Wisa123Wisa123 Member Posts: 308
    - Deployment and application do not have matching security zones.

    This one usually means that you either
    - do not use the path specified in the .application to call the .application file (like using a local path)
    - your browser is downloading the .application file and executes it locally (which does not work - but is standard in most modern browsers).
    Austrian NAV/BC Dev
Sign In or Register to comment.