I have been trying for many hours now to restore to my client the working ClickOnce deployment of my VB.NET project to his remote server. Never had any problems for many months, and now I get the fatal error message:
"Application cannot be started. Contact the application vendor."
i.e. me!!
I have searched this forum and found the same "Value does not fall within the expected range." error, but alas cannot find a clear solution amongst the postings.
I attach the log file generated when I click on the Detail... button.
HELP!!!
Perhaps I am naive in attributing this to the recent service packs...
Sambodh
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://alpha/processing/Simulator/MMSimulator.application
Deployment Provider url: file://alpha/processing/simulator/MMSimulator.application
Application url: file://alpha/processing/Simulator/Application%20Files/MMSimulator_1_0_0_13/MMSimulator.exe.manifest
IDENTITIES
Deployment Identity: MMSimulator.application, Version=1.0.0.13, Culture=neutral, PublicKeyToken=8c441d16ba868123, processorArchitecture=msil
Application Identity: MMSimulator.exe, Version=1.0.0.13, Culture=neutral, PublicKeyToken=8c441d16ba868123, 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 file://alpha/processing/Simulator/MMSimulator.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
* [2/09/2008 4:43:51 PM] : Activation of file://alpha/processing/Simulator/MMSimulator.application has started.
* [2/09/2008 4:43:54 PM] : Processing of deployment manifest has successfully completed.
* [2/09/2008 4:43:54 PM] : Installation of the application has started.
* [2/09/2008 4:43:55 PM] : Processing of application manifest has successfully completed.
* [2/09/2008 4:43:58 PM] : Request of trust and detection of platform is complete.
* [2/09/2008 4:44:32 PM] : Downloading of subscription dependencies is complete.
* [2/09/2008 4:44:32 PM] : Commit of the downloaded application has started.
* [2/09/2008 4:44:32 PM] : Installation of application has successfully completed.
ERROR DETAILS
Following errors were detected during this operation.
* [2/09/2008 4:44:33 PM] System.ArgumentException
- Value does not fall within the expected range.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.NativeMethods.CorLaunchApplication(UInt32 hostType, String applicationFullName, Int32 manifestPathsCount, String[] manifestPaths, Int32 activationDataCount, String[] activationData, PROCESS_INFORMATION processInformation)
at System.Deployment.Application.ComponentStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter)
at System.Deployment.Application.SubscriptionStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter)
at System.Deployment.Application.ApplicationActivator.Activate(DefinitionAppId appId, AssemblyManifest appManifest, String activationParameter, Boolean useActivationParameter)
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
* Transaction at [2/09/2008 4:44:32 PM]
+ System.Deployment.Internal.Isolation.StoreOperationStageComponent
- Status: Installed
- HRESULT: 0x0
- Manifest: N09X3ONN.693.application
+ System.Deployment.Internal.Isolation.StoreOperationSetDeploymentMetadata
- Status: Set
- HRESULT: 0x0
+ System.Deployment.Internal.Isolation.StoreOperationStageComponent
- Status: Installed
- HRESULT: 0x0
- Manifest: MMSimulator.exe.manifest
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: MMSimulator.exe.config
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: Spider.sdf
+ System.Deployment.Internal.Isolation.StoreOperationStageComponent
- Status: Installed
- HRESULT: 0x0
- Manifest: Microsoft.Synchronization.Data.Server.dll.genman
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: Microsoft.Synchronization.Data.Server.dll
+ System.Deployment.Internal.Isolation.StoreOperationStageComponent
- Status: Installed
- HRESULT: 0x0
- Manifest: MMSimulator.exe.genman
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: MMSimulator.exe
+ System.Deployment.Internal.Isolation.StoreOperationStageComponent
- Status: Installed
- HRESULT: 0x0
- Manifest: Microsoft.Synchronization.Data.SqlServerCe.dll.genman
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: Microsoft.Synchronization.Data.SqlServerCe.dll
+ System.Deployment.Internal.Isolation.StoreOperationStageComponent
- Status: Installed
- HRESULT: 0x0
- Manifest: Microsoft.Synchronization.Data.dll.genman
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: Microsoft.Synchronization.Data.dll
+ System.Deployment.Internal.Isolation.StoreOperationStageComponent
- Status: Installed
- HRESULT: 0x0
- Manifest: System.Data.SqlServerCe.dll.genman
+ System.Deployment.Internal.Isolation.StoreOperationStageComponentFile
- Status: Installed
- HRESULT: 0x0
- File: System.Data.SqlServerCe.dll
+ System.Deployment.Internal.Isolation.StoreOperationInstallDeployment
- Status: Installed
- HRESULT: 0x0
- AppId: file://alpha/processing/Simulator/MMSimulator.application#MMSimulator.application, Version=1.0.0.13, Culture=neutral, PublicKeyToken=8c441d16ba868123, processorArchitecture=msil
+ System.Deployment.Internal.Isolation.StoreOperationSetDeploymentMetadata
- Status: Set
- HRESULT: 0x0
+ System.Deployment.Internal.Isolation.StoreTransactionOperationType (27)
- HRESULT: 0x0