Click Once Deployment Using Publish feature of VS-2005 RRS feed

  • Question

  • I was not able to deploy my C# Windows application using Visual Studio 2005. It gave the following message in a pop up window when i click on run button

    'Application cannot be started. Contact the application vendor.

    ERROR DETAILS Following errors were detected during this operation. * [4/21/2009 12:06:08 PM] System.Deployment.Application.DeploymentException (SubscriptionState) - Cannot make this application an online application because the previous version is installed. To install this application uninstall the previous version, or mark this application as installed. - Source: System.Deployment - Stack trace: at System.Deployment.Application.SubscriptionStore.CheckOnlineShellVisibleConflict(SubscriptionState subState, AssemblyManifest deployment) at System.Deployment.Application.SubscriptionStore.CheckDeploymentSubscriptionState(SubscriptionState subState, AssemblyManifest deployment) 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) at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
    Tuesday, April 21, 2009 6:55 AM