Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Application cannot be started. Contact the application vendor.
 

Application cannot be started. Contact the application vendor.

Greetings,

I am getting this error when trying to launch a ClickOnce app. I searched around, but didn't seem to find anything applicable.

This is happening on one of my development machines, but the app lauches fine on another. Before today, it worked fine on both.

In addition, I cannot uninstall the application. When I try, it looks like there's a brief message box, but it disappears so quickly you can't tell what it says.

Below is the log file. I'm not sure if I'm reading it correctly - not sure which assembly it thinks is not on my system.

Any thoughts are appreciated.

Thanks,

Mike

PLATFORM VERSION INFO
Windows : 5.1.2600.196608 (Win32NT)
Common Language Runtime : 2.0.50727.3053
System.Deployment.dll : 2.0.50727.3053 (netfxsp.050727-3000)
mscorwks.dll : 2.0.50727.3053 (netfxsp.050727-3000)
dfdll.dll : 2.0.50727.3053 (netfxsp.050727-3000)
dfshim.dll : 2.0.50727.3053 (netfxsp.050727-3000)

SOURCES
Deployment url: file:///C:/Documents%20and%20Settings/Rick%20Ortiz/Start%20Menu/Programs/Alb%20Reads%20Sign%20In/Alb%20Reads%20Sign%20In.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:\Documents and Settings\Rick Ortiz\Start Menu\Programs\Alb Reads Sign In\Alb Reads Sign In.appref-ms| resulted in exception. Following failure messages were detected:
+ The referenced assembly is not installed on your system. (Exception from HRESULT: 0x800736B3)

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
* [11/20/2008 10:20:58 AM] : Activation of C:\Documents and Settings\Rick Ortiz\Start Menu\Programs\Alb Reads Sign In\Alb Reads Sign In.appref-ms| has started.

ERROR DETAILS
Following errors were detected during this operation.
* [11/20/2008 10:20:58 AM] System.Runtime.InteropServices.COMException
- The referenced assembly is not installed on your system. (Exception from HRESULT: 0x800736B3)
- Source: System.Deployment
- Stack trace:
at System.Deployment.Internal.Isolation.IStore.GetAssemblyInformation(UInt32 Flags, IDefinitionIdentity DefinitionIdentity, Guid& riid)
at System.Deployment.Internal.Isolation.Store.GetAssemblyManifest(UInt32 Flags, IDefinitionIdentity DefinitionIdentity)
at System.Deployment.Application.ComponentStore.GetAssemblyManifest(DefinitionIdentity asmId)
at System.Deployment.Application.ComponentStore.GetSubscriptionStateInternal(DefinitionIdentity subId)
at System.Deployment.Application.SubscriptionStore.GetSubscriptionStateInternal(SubscriptionState subState)
at System.Deployment.Application.SubscriptionState.Validate()
at System.Deployment.Application.SubscriptionState.get_IsInstalled()
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)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)

COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.

Mike Hildner  Thursday, November 20, 2008 5:26 PM

Delete the \apps\2.0\ folder (assuming you don't have any other ClickOnce apps) and try the install again.

On Vista, that folder is under C:\Users\username\AppData\Local\Apps\2.0\

On XP, try c:\Documents & Settings\User\LocalSettings\Apps\2.0\

RobinS.

GoldMail.com

RobinDotNet  Friday, November 21, 2008 5:52 AM

Delete the \apps\2.0\ folder (assuming you don't have any other ClickOnce apps) and try the install again.

On Vista, that folder is under C:\Users\username\AppData\Local\Apps\2.0\

On XP, try c:\Documents & Settings\User\LocalSettings\Apps\2.0\

RobinS.

GoldMail.com

RobinDotNet  Friday, November 21, 2008 5:52 AM

Thanks RobinS,

I did have other ClickOnce apps installed, but nothing that can't be installed again. Your suggestion worked - appreciated.

Thanks again,

Mike

Mike Hildner  Friday, November 21, 2008 2:50 PM

Hello from Mexico...

RobinDotNet, muchas gracias por tu ayuda.

Segui tus recomendaciones y mi aplicacion ya se ejecuta de manera normal. Borre la carpeta que comentas y fue como si no hubiera pasado nada.

Thanks again.

leonidaselrey  Tuesday, September 22, 2009 11:09 PM

With the help of Bing Translator, I was able to ascertain that you were thanking me rather than insulting me. ;-)

You're welcome for the help. :-)

RobinDotNet


Click here to visit my ClickOnce blog!
RobinDotNet  Wednesday, September 23, 2009 1:30 AM

You can use google to search for other answers

Custom Search

More Threads

• how to create a debug version install
• Version information on the first page of install
• Error with clr20r3 When running install program
• Clickonce: Deployment fails to start when clicked on "install" launching via IE (Visual Studio 2008)
• Change user scope settings during installation
• Creating installation setup
• Installer class installing a Previous Version of the software
• Craate a Patch File for my .NET Project using VS2005 Setup
• Setup
• My.Settings - scope problem.