Error Message "Application cannot be started. Contact the application vendor." for Visual Studio Windows Forms Application Deployment.
Hello,
I am getting this error when trying to launch a ClickOnce app. I tried troubleshooting and searching for answers online but didn't seem to find anything helpful that would resolve this issue.
This is happening on every other machine except the machine the application was created on (mine).
I have provided the log file below for your reference and would appreciate any insight/ help possible.
Sincerely,
Joe.
PLATFORM VERSION INFO
Windows : 10.0.19043.0 (Win32NT)
Common Language Runtime : 4.0.30319.42000
System.Deployment.dll : 4.8.4270.0 built by: NET48REL1LAST_C
clr.dll : 4.8.4340.0 built by: NET48REL1LAST_C
dfdll.dll : 4.8.4270.0 built by: NET48REL1LAST_C
dfshim.dll : 10.0.19041.1 (WinBuild.160101.0800)
SOURCES
Deployment url : file:///C:/Users/Joe/Downloads/Application%20Files/Application%20Files/RTJ%20Farms%20Archives1_1_0_0_0/RTJ%20Farms%20Archives1.application
APPLICATION SUMMARY
* Installable application.
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Users\Joe\Downloads\Application Files\Application Files\RTJ Farms Archives1_1_0_0_0\RTJ Farms Archives1.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
* [3/14/2022 8:07:10 PM] : Activation of C:\Users\Joe\Downloads\Application Files\Application Files\RTJ Farms Archives1_1_0_0_0\RTJ Farms Archives1.application has started.
* [3/14/2022 8:07:10 PM] : Processing of deployment manifest has successfully completed.
* [3/14/2022 8:07:10 PM] : Installation of the application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [3/14/2022 8:07:10 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)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.