"Application cannot be started. Contact the application vendor"
I build this application on my development machine, then deploy it to
my server. Machine B can install and run it fine. Machine A gives the
following Message Box:
Title: "Cannot Start Application"
"Application cannot be started. Contact the application vendor"
When I click the Details button, it opens a log file with the
following message:
"+ Value does not fall within the expected range."
Thats it, no more details.
VB.net, Dev Studio 2008, .net 3.5
============= Complete content of .log file ===========
PLATFORM VERSION INFO
Windows : 5.1.2600.131072 (Win32NT)
Common Language Runtime : 2.0.50727.1433
System.Deployment.dll : 2.0.50727.1433 (REDBITS.050727-1400)
mscorwks.dll : 2.0.50727.1433 (REDBITS.050727-1400)
dfdll.dll : 2.0.50727.1433 (REDBITS.050727-1400)
dfshim.dll : 2.0.50727.1433 (REDBITS.050727-1400)
SOURCES
Deployment url : file:///R:/mdf3/MDFEditor.application
Application url : file:///R:/mdf3/Application%20Files/MDFEditor_2008_7_14_17/MDFEditor.exe.manifest
IDENTITIES
Deployment Identity : MDFEditor.application, Version=2008.7.14.17,
Culture=neutral, PublicKeyToken=0139f97663c21a8c,
processorArchitecture=msil
Application Identity : MDFEditor.exe, Version=2008.7.14.17,
Culture=neutral, PublicKeyToken=0139f97663c21a8c,
processorArchitecture=msil, type=win32
APPLICATION SUMMARY
* Online only application.
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed
later in the log.
* Activation of R:\mdf3\MDFEditor.application resulted in exception.
Following failure messages were detected:
+ Value does not fall within the expected range.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [7/16/2008 3:15:23 PM] : Activation of R:
\mdf3\MDFEditor.application has started.
* [7/16/2008 3:15:25 PM] : Processing of deployment manifest has
successfully completed.
* [7/16/2008 3:15:25 PM] : Installation of the application has
started.
* [7/16/2008 3:15:25 PM] : Processing of application manifest has
successfully completed.
* [7/16/2008 3:15:33 PM] : Request of trust and detection of platform
is complete.
ERROR DETAILS
Following errors were detected during this operation.
* [7/16/2008 3:15:34 PM] System.ArgumentException
- Value does not fall within the expected range.
- Source: System.Deployment
- Stack trace:
at
System.Deployment.Internal.Isolation.IStore.LockApplicationPath(UInt32
Flags, IDefinitionAppId ApId, IntPtr& Cookie)
at
System.Deployment.Internal.Isolation.Store.LockApplicationPath(IDefinitionAppId
app)
at
System.Deployment.Application.ComponentStore.LockApplicationPath(DefinitionAppId
definitionAppId)
at
System.Deployment.Application.SubscriptionStore.LockApplicationPath(DefinitionAppId
definitionAppId)
at
System.Deployment.Application.FileDownloader.PatchFiles(SubscriptionState
subState)
at
System.Deployment.Application.FileDownloader.Download(SubscriptionState
subState)
at
System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState
subState, AssemblyManifest deployManifest, AssemblyManifest
appManifest, Uri sourceUriBase, String targetDirectory, String group,
IDownloadNotification notification, DownloadOptions options)
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)
at
System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object
state)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
date: Wed, 16 Jul 2008 12:31:34 -0700 (PDT)
author: Jeannot