"Cannot start application. Missing required file" error when deploying

bogorman

New member
Joined
Dec 28, 2008
Messages
1
Programming Experience
Beginner
Am new to VS2005 but have developed a simple application incorporating a Setup program.
I can deploy this on my pc and on my laptop with no problem but I get the above error when trying to deploy it on other machines. I have noticed that on the machines where I have a problem the ODBC MySQL drivers are not installed and am wondering if this could be the reason.

The application creates an install page on the net which users open. When clicking on the install button on this page, the following happens:

1. on clicking Install: "Do you want to run or save this file?" -
2. click Run.
3. dialog appears. Publisher could not be verified. Are you sure you want to run?
4. click Run.
5. dialog appears "opening LIFEnetMail application. You have chosen to open LIFEnetMail application which is APPLICATION file from http://63...... Would you like to save this file?"
6. click Yes. Icon saved to desktop.
7. clicking icon gives error "Cannot start application. Missing required file"

The error file is:
PLATFORM VERSION INFO
Windows : 5.1.2600.196608 (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:/Documents%20and%20Settings/Matthew%20O'Gorman/Desktop/LIFEnetMail.application

IDENTITIES
Deployment Identity : LIFEnetMail.application, Version=2.0.0.14, Culture=neutral, PublicKeyToken=12a99b5a2e2f77ef, 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:\Documents and Settings\Matthew O'Gorman\Desktop\LIFEnetMail.application resulted in exception. Following failure messages were detected:
+ Downloading file:///C:/Documents and Settings/Matthew O'Gorman/Desktop/LIFEnetMail_2_0_0_14/LIFEnetMail.exe.manifest did not succeed.
+ Could not find a part of the path 'C:\Documents and Settings\Matthew O'Gorman\Desktop\LIFEnetMail_2_0_0_14\LIFEnetMail.exe.manifest'.
+ Could not find a part of the path 'C:\Documents and Settings\Matthew O'Gorman\Desktop\LIFEnetMail_2_0_0_14\LIFEnetMail.exe.manifest'.
+ Could not find a part of the path 'C:\Documents and Settings\Matthew O'Gorman\Desktop\LIFEnetMail_2_0_0_14\LIFEnetMail.exe.manifest'.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
* [23/12/2008 18:32:38] : Activation of C:\Documents and Settings\Matthew O'Gorman\Desktop\LIFEnetMail.application has started.
* [23/12/2008 18:32:39] : Processing of deployment manifest has successfully completed.
* [23/12/2008 18:32:39] : Installation of the application has started.

ERROR DETAILS
Following errors were detected during this operation.
* [23/12/2008 18:32:39] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading file:///C:/Documents and Settings/Matthew O'Gorman/Desktop/LIFEnetMail_2_0_0_14/LIFEnetMail.exe.manifest did not succeed.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)
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)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Net.WebException
- Could not find a part of the path 'C:\Documents and Settings\Matthew O'Gorman\Desktop\LIFEnetMail_2_0_0_14\LIFEnetMail.exe.manifest'.
- Source: System
- Stack trace:
at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.FileWebRequest.GetResponse()
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
--- Inner Exception ---
System.Net.WebException
- Could not find a part of the path 'C:\Documents and Settings\Matthew O'Gorman\Desktop\LIFEnetMail_2_0_0_14\LIFEnetMail.exe.manifest'.
- Source: System
- Stack trace:
at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
at System.Net.FileWebRequest.WrappedGetResponseCallback(Object state)
--- Inner Exception ---
System.IO.DirectoryNotFoundException
- Could not find a part of the path 'C:\Documents and Settings\Matthew O'Gorman\Desktop\LIFEnetMail_2_0_0_14\LIFEnetMail.exe.manifest'.
- Source: mscorlib
- Stack trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)
at System.Net.FileWebStream..ctor(FileWebRequest request, String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async)
at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)

COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.


The strange thing is that running the install program on my own pcs just displays a "do you want to install" dialog, everything is downloaded and installed properly and the program automatically runs.

Would appreciate anyone's help on this.
 
Back
Top