locked
Application not launching after publishing! RRS feed

  • Question

  • Hi, I've created a program on visual studio 2010 and after having published it, I ran the setup and installed the program, BUT the program was not launched and instead an error message popped up: "Application cannot be started. Contact the application vendor." I tried to create another program and published it, and the same error message popped up. Can anyone please help me?

    Thanks in advance :)
    Sunday, June 29, 2014 11:00 AM

Answers

  • Thanks I found the answer. In fact, there was a folder that I needed to delete in order for my program to be launched:

    C:\Users\username\AppData\Local\Apps\2.0\

     

    Beginner Programmer

    Sunday, June 29, 2014 4:37 PM

All replies

  • Does the program install if you install on the same computer that it was built on?  what operating system? Check Control Panel : Administrative Tools : Event Viewer to see if there is any addition info on the erro.

    jdweng

    Sunday, June 29, 2014 12:19 PM
  • Yeah, I installed the program on the same computer that it was built on. I'm using Windows 7 Professional 32-bit.

    The error log says:

    PLATFORM VERSION INFO
    Windows : 6.1.7600.0 (Win32NT)
    Common Language Runtime : 4.0.30319.17929
    System.Deployment.dll : 4.0.30319.17929 built by: FX45RTMREL
    clr.dll : 4.0.30319.17929 built by: FX45RTMREL
    dfdll.dll : 4.0.30319.17929 built by: FX45RTMREL
    dfshim.dll : 4.0.41209.0 (Main.041209-0000)

    SOURCES
    Deployment url : file:///C:/Users/John%20McCane/Desktop/WebSite/SDL.application
    Application url : file:///C:/Users/John%20McCane/Desktop/WebSite/Application%20Files/SDL_1_7_0_0/SDL.exe.manifest

    IDENTITIES
    Deployment Identity : SDL.application, Version=1.7.0.0, Culture=neutral, PublicKeyToken=dec99b7d6cd425a8, processorArchitecture=msil
    Application Identity : SDL.exe, Version=1.7.0.0, Culture=neutral, PublicKeyToken=dec99b7d6cd425a8, processorArchitecture=msil, type=win32

    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\John McCane\Desktop\WebSite\SDL.application resulted in exception. Following failure messages were detected:
    + Store metadata "DeploymentProviderUri" is not valid.

    COMPONENT STORE TRANSACTION FAILURE SUMMARY
    No transaction error was detected.

    WARNINGS
    There were no warnings during this operation.

    OPERATION PROGRESS STATUS
    * [6/29/2014 6:23:37 PM] : Activation of C:\Users\Pamela Appadoo\Desktop\WebSite\SDL.application has started.
    * [6/29/2014 6:23:38 PM] : Processing of deployment manifest has successfully completed.
    * [6/29/2014 6:23:38 PM] : Installation of the application has started.
    * [6/29/2014 6:23:38 PM] : Processing of application manifest has successfully completed.
    * [6/29/2014 6:23:52 PM] : Found compatible runtime version 4.0.30319.
    * [6/29/2014 6:23:52 PM] : Detecting dependent assembly Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A, processorArchitecture=msil using Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=msil.
    * [6/29/2014 6:23:52 PM] : Detecting dependent assembly CrystalDecisions.ReportAppServer.CommonObjectModel, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304, processorArchitecture=msil using CrystalDecisions.ReportAppServer.CommonObjectModel, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=msil.
    * [6/29/2014 6:23:52 PM] : Detecting dependent assembly CrystalDecisions.Windows.Forms, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304, processorArchitecture=msil using CrystalDecisions.Windows.Forms, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=msil.
    * [6/29/2014 6:23:52 PM] : Detecting dependent assembly stdole, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A using stdole, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
    * [6/29/2014 6:23:52 PM] : Detecting dependent assembly SkinSoft.VisualStyler, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0FDA9F423E1D9830, processorArchitecture=msil using SkinSoft.VisualStyler, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0fda9f423e1d9830, processorArchitecture=msil.
    * [6/29/2014 6:23:52 PM] : Detecting dependent assembly CrystalDecisions.ReportAppServer.DataDefModel, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304, processorArchitecture=msil using CrystalDecisions.ReportAppServer.DataDefModel, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=msil.
    * [6/29/2014 6:23:52 PM] : Detecting dependent assembly CrystalDecisions.ReportAppServer.ObjectFactory, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304, processorArchitecture=msil using CrystalDecisions.ReportAppServer.ObjectFactory, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=msil.
    * [6/29/2014 6:23:52 PM] : Detecting dependent assembly CrystalDecisions.ReportAppServer.ReportDefModel, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304, processorArchitecture=msil using CrystalDecisions.ReportAppServer.ReportDefModel, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=msil.
    * [6/29/2014 6:23:52 PM] : Detecting dependent assembly CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304, processorArchitecture=msil using CrystalDecisions.Shared, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=msil.
    * [6/29/2014 6:23:52 PM] : Detecting dependent assembly CrystalDecisions.ReportAppServer.CubeDefModel, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304, processorArchitecture=msil using CrystalDecisions.ReportAppServer.CubeDefModel, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=msil.
    * [6/29/2014 6:23:52 PM] : Detecting dependent assembly CrystalDecisions.ReportAppServer.CommLayer, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304, processorArchitecture=msil using CrystalDecisions.ReportAppServer.CommLayer, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=msil.
    * [6/29/2014 6:23:52 PM] : Detecting dependent assembly CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304, processorArchitecture=msil using CrystalDecisions.ReportAppServer.ClientDoc, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=msil.
    * [6/29/2014 6:23:52 PM] : Detecting dependent assembly FlashControlV71, Version=1.0.3187.32366, Culture=neutral, PublicKeyToken=692FBEA5521E1304 using FlashControlV71, Version=1.0.3187.32366, Culture=neutral, PublicKeyToken=692fbea5521e1304.
    * [6/29/2014 6:23:52 PM] : Detecting dependent assembly CrystalDecisions.ReportAppServer.Prompting, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304, processorArchitecture=msil using CrystalDecisions.ReportAppServer.Prompting, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=msil.
    * [6/29/2014 6:23:52 PM] : Detecting dependent assembly CrystalDecisions.ReportAppServer.XmlSerialize, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304, processorArchitecture=msil using CrystalDecisions.ReportAppServer.XmlSerialize, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=msil.
    * [6/29/2014 6:23:52 PM] : Detecting dependent assembly CrystalDecisions.ReportAppServer.CommonControls, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304, processorArchitecture=msil using CrystalDecisions.ReportAppServer.CommonControls, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=msil.
    * [6/29/2014 6:23:52 PM] : Detecting dependent assembly log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304, processorArchitecture=x86 using log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=x86.
    * [6/29/2014 6:23:52 PM] : Detecting dependent assembly Microsoft.ReportViewer.ProcessingObjectModel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A, processorArchitecture=msil using Microsoft.ReportViewer.ProcessingObjectModel, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=msil.
    * [6/29/2014 6:23:52 PM] : Detecting dependent assembly CrystalDecisions.ReportSource, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304, processorArchitecture=msil using CrystalDecisions.ReportSource, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=msil.
    * [6/29/2014 6:23:52 PM] : Detecting dependent assembly Microsoft.ReportViewer.WinForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A, processorArchitecture=msil using Microsoft.ReportViewer.WinForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=msil.
    * [6/29/2014 6:23:52 PM] : Detecting dependent assembly CrystalDecisions.ReportAppServer.Controllers, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304, processorArchitecture=msil using CrystalDecisions.ReportAppServer.Controllers, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=msil.
    * [6/29/2014 6:23:52 PM] : Detecting dependent assembly CrystalDecisions.ReportAppServer.DataSetConversion, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304, processorArchitecture=msil using CrystalDecisions.ReportAppServer.DataSetConversion, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=msil.
    * [6/29/2014 6:23:52 PM] : Detecting dependent assembly CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304, processorArchitecture=msil using CrystalDecisions.CrystalReports.Engine, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304, processorArchitecture=msil.
    * [6/29/2014 6:23:52 PM] : Detecting dependent assembly ShockwaveFlashObjects, Version=1.0.0.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304 using ShockwaveFlashObjects, Version=1.0.0.0, Culture=neutral, PublicKeyToken=692fbea5521e1304.
    * [6/29/2014 6:23:52 PM] : Detecting dependent assembly Microsoft.ReportViewer.DataVisualization, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A, processorArchitecture=msil using Microsoft.ReportViewer.DataVisualization, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=msil.
    * [6/29/2014 6:23:52 PM] : Request of trust and detection of platform is complete.
    * [6/29/2014 6:23:53 PM] : Downloading of subscription dependencies is complete.
    * [6/29/2014 6:23:53 PM] : Commit of the downloaded application has started.

    ERROR DETAILS
    Following errors were detected during this operation.
    * [6/29/2014 6:23:53 PM] System.Deployment.Application.DeploymentException (SubscriptionState)
    - Store metadata "DeploymentProviderUri" is not valid.
    - Source: System.Deployment
    - Stack trace:
    at System.Deployment.Application.ComponentStore.GetPropertyString(DefinitionAppId appId, String propName)
    at System.Deployment.Application.ComponentStore.GetPropertyUri(DefinitionAppId appId, String propName)
    at System.Deployment.Application.ComponentStore.GetSubscriptionStateInternal(DefinitionIdentity subId)
    at System.Deployment.Application.SubscriptionStore.GetSubscriptionStateInternal(SubscriptionState subState)
    at System.Deployment.Application.ComponentStore.CollectCrossGroupApplications(Uri codebaseUri, DefinitionIdentity deploymentIdentity, Boolean& identityGroupFound, Boolean& locationGroupFound, String& identityGroupProductName)
    at System.Deployment.Application.SubscriptionStore.CommitApplication(SubscriptionState& subState, CommitApplicationParams commitParams)
    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)

    COMPONENT STORE TRANSACTION DETAILS
    No transaction information is available.


    Sunday, June 29, 2014 2:03 PM
  • Without specifics this will be hard to diagnose.  Here is a link that is a search of others with this problem.  If you look through them you might find one that is helpful.

    http://social.msdn.microsoft.com/Search/en-US?query=Application%20cannot%20be%20started.%20Contact%20the%20application%20vendor.&emptyWatermark=true&searchButtonTooltip=Search%20MSDN&ac=4#refinementChanges=&pageNumber=1&showMore=false


    "Those who use Application.DoEvents() have no idea what it does and those who know what it does never use it." JohnWein

    Sunday, June 29, 2014 2:11 PM
  • Thanks I found the answer. In fact, there was a folder that I needed to delete in order for my program to be launched:

    C:\Users\username\AppData\Local\Apps\2.0\

     

    Beginner Programmer

    Sunday, June 29, 2014 4:37 PM