Error Upon Installing: Cannot download the application. The applicatin is missing required files...

T

Tifer

Hello,

I am building my first .Net Application. The first couple of Publish
and Installs I did went fine. But after a couple of builds, I get a
modal dialogue box error every time upon trying to install using the
setup.exe. Title is "Cannot Start Application" and it says:

====================
Cannot download the application. The application is missing required
files. Contact application vendor for assistance.
====================



I'm publishing this to my own computer. Full admin permissions if that
matters.

Clicking "Details..." brings up a log file with:




====================
PLATFORM VERSION INFO
Windows : 5.1.2600.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:/Software/GalleryScreenshots/GalleryScreenShots.application
Application url : file:///C:/Software/GalleryScreenshots/GalleryScreenShots_1_0_0_17/GalleryScreenShots.exe.manifest

IDENTITIES
Deployment Identity : GalleryScreenShots.application,
Version=1.0.0.17, Culture=neutral, PublicKeyToken=5c8230c65cb5811d,
processorArchitecture=msil
Application Identity : GalleryScreenShots.exe, Version=1.0.0.17,
Culture=neutral, PublicKeyToken=5c8230c65cb5811d,
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 C:\Software\GalleryScreenshots
\GalleryScreenShots.application resulted in exception. Following
failure messages were detected:
+ Downloading file:///C:/Software/GalleryScreenshots/GalleryScreenShots_1_0_0_17/GalleryScreenShots.exe.config.deploy
did not succeed.
+ Could not find file 'C:\Software\GalleryScreenshots
\GalleryScreenShots_1_0_0_17\GalleryScreenShots.exe.config.deploy'.
+ Could not find file 'C:\Software\GalleryScreenshots
\GalleryScreenShots_1_0_0_17\GalleryScreenShots.exe.config.deploy'.
+ Could not find file 'C:\Software\GalleryScreenshots
\GalleryScreenShots_1_0_0_17\GalleryScreenShots.exe.config.deploy'.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
* [5/21/2007 9:53:40 AM] : Activation of C:\Software
\GalleryScreenshots\GalleryScreenShots.application has started.
* [5/21/2007 9:53:40 AM] : Processing of deployment manifest has
successfully completed.
* [5/21/2007 9:53:40 AM] : Installation of the application has
started.
* [5/21/2007 9:53:40 AM] : Processing of application manifest has
successfully completed.
* [5/21/2007 9:53:42 AM] : Request of trust and detection of platform
is complete.

ERROR DETAILS
Following errors were detected during this operation.
* [5/21/2007 9:53:42 AM]
System.Deployment.Application.DeploymentDownloadException (Unknown
subtype)
- Downloading file:///C:/Software/GalleryScreenshots/GalleryScreenShots_1_0_0_17/GalleryScreenShots.exe.config.deploy
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.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)
at
System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object
state)
--- Inner Exception ---
System.Net.WebException
- Could not find file 'C:\Software\GalleryScreenshots
\GalleryScreenShots_1_0_0_17\GalleryScreenShots.exe.config.deploy'.
- 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 file 'C:\Software\GalleryScreenshots
\GalleryScreenShots_1_0_0_17\GalleryScreenShots.exe.config.deploy'.
- 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.FileNotFoundException
- Could not find file 'C:\Software\GalleryScreenshots
\GalleryScreenShots_1_0_0_17\GalleryScreenShots.exe.config.deploy'.
- 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.

====================


So it appears that C:/Software/GalleryScreenshots/
GalleryScreenShots_1_0_0_17/GalleryScreenShots.exe.config.deploy is
the offending file. Is there some setting I need to enable to get this
file to publish?

And like I said, this was working at some point.

Any help here would be appreciated.

Chris T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top