Chance1234
IS-IT--Management
I have a C# windows application. It works fine and I have no problems installing it on XP based machines, and the windows 2003 box that it was developed on.
I am trying to install it on another windows 2003 box and I am running into problems.
First of all I was getting an error box with the following when trying to run the setup.exe
Cannot Continue. The application is improperly formatted.
Contact the application vendor for assitance
Reading BOL and googling , I noticed that most of these problems occur around the manifest.
My application doesn’t include any spaces in its name, which seems to be the main reason behind this.
After changing many settings to do with security and signing, I am still no further. I have posted the log from the last attempt below this message.
.
I think I have now reached the point where , rather than going through all the settings again, I should start clean.
So, my question is, if you were about to deploy an application, which is to be installed from a server path for a windows 2003 box. What steps would you take ?
LATFORM VERSION INFO
Windows : 5.2.3790.131072 (Win32NT)
Common Language Runtime : 2.0.50727.42
System.Deployment.dll : 2.0.50727.42 (RTM.050727-4200)
mscorwks.dll : 2.0.50727.42 (RTM.050727-4200)
dfdll.dll : 2.0.50727.42 (RTM.050727-4200)
dfshim.dll : 2.0.50727.42 (RTM.050727-4200)
SOURCES
Deployment url : file:///C:/FileWatchLiveNew7/FileWatchLiveNew7/FileWatch.application
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\FileWatchLiveNew7\FileWatchLiveNew7\FileWatch.application resulted in exception. Following failure messages were detected:
+ Exception reading manifest from file:///C:/FileWatchLiveNew7/FileWatchLiveNew7/FileWatch.application: the manifest may not be valid or the file could not be opened.
+ Manifest XML signature is not valid.
+ The system cannot find the file specified.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [13/05/2008 10:06:33] : Activation of C:\FileWatchLiveNew7\FileWatchLiveNew7\FileWatch.application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [13/05/2008 10:06:33] System.Deployment.Application.InvalidDeploymentException (ManifestParse)
- Exception reading manifest from file:///C:/FileWatchLiveNew7/FileWatchLiveNew7/FileWatch.application: the manifest may not be valid or the file could not be opened.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Deployment.Application.InvalidDeploymentException (SignatureValidation)
- Manifest XML signature is not valid.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)
at System.Deployment.Application.ManifestReader.FromDocument(String localPath, ManifestType manifestType, Uri sourceUri)
--- Inner Exception ---
System.Security.Cryptography.CryptographicException
- The system cannot find the file specified.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Internal.CodeSigning.SignedCmiManifest.VerifyPublicKeyToken()
at System.Deployment.Internal.CodeSigning.SignedCmiManifest.Verify(CmiManifestVerifyFlags verifyFlags)
at System.Deployment.Application.Manifest.AssemblyManifest.ValidateSignature(Stream s)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
Chance,
F, G + yeah reached 50