Hello sorry for the delay in response.
The sequence of events that happens include:
In Solution - Double Clicking on 'Properties' (This will then load properties)
Navigate to the 'Publish' tab (this is the last tab in the properties section
Ensuring that all settings are correct and hitting the 'Publish Now' button.
This then creates the files :
Application Files (folder)
dotnetfx35 (folder)
windowsinstaller3_1 (folder)
Enterprise (name of project)
Setup
Upon running setup, the installion starts and appears to install, then the error message appears
"Application cannot be started. Contact the application vendor."
And gives the details as listed below
PLATFORM VERSION INFO
Windows : 6.1.7600.0 (Win32NT)
Common Language Runtime : 4.0.30319.1
System.Deployment.dll : 4.0.30319.1 (RTMRel.030319-0100)
clr.dll : 4.0.30319.1 (RTMRel.030319-0100)
dfdll.dll : 4.0.30319.1 (RTMRel.030319-0100)
dfshim.dll : 4.0.31106.0 (Main.031106-0000)
SOURCES
Deployment url : file:IDENTITIES
Deployment Identity : Enterprise.application, Version=2.0.1.2, Culture=neutral, PublicKeyToken=01a0c9b21695b9a9, processorArchitecture=msil
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\naustin\Desktop\Enterprise 2_0_0_7\Enterprise\publish\Enterprise.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
* [10/03/2011 12:42:16] : Activation of C:\Users\naustin\Desktop\Enterprise 2_0_0_7\Enterprise\publish\Enterprise.application has started.
* [10/03/2011 12:42:16] : Processing of deployment manifest has successfully completed.
ERROR DETAILS
Following errors were detected during this operation.
* [10/03/2011 12:42:16] 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 [10/03/2011 12:42:16]
+ System.Deployment.Internal.Isolation.StoreOperationSetDeploymentMetadata
- Status: Set
- HRESULT: 0x0
+ System.Deployment.Internal.Isolation.StoreTransactionOperationType (27)
- HRESULT: 0x0
I cant give you any more information then that apart from the computer specs, as my colleague is not in the office today i do not have access to his machine, if the problem is not visible from the error log, then i can respond with system specs to see if that is cause the problem.
Is very weird for us as i mentioned before if i do the same publishing method from his machine the installation and running of the application is fine and it starts with no problems on any machine installed.
Thanks in advance
Nick Austin