471,071 Members | 1,299 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,071 software developers and data experts.

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

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.ex e.config.deploy'.
+ Could not find file 'C:\Software\GalleryScreenshots
\GalleryScreenShots_1_0_0_17\GalleryScreenShots.ex e.config.deploy'.
+ Could not find file 'C:\Software\GalleryScreenshots
\GalleryScreenShots_1_0_0_17\GalleryScreenShots.ex e.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.DeploymentDownloadEx ception (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.Downl oad(SubscriptionState
subState)
at
System.Deployment.Application.DownloadManager.Down loadDependencies(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.ex e.config.deploy'.
- Source: System
- Stack trace:
at System.Net.FileWebRequest.EndGetResponse(IAsyncRes ult
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.ex e.config.deploy'.
- Source: System
- Stack trace:
at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri
uri, FileAccess access, Boolean asyncHint)
at System.Net.FileWebRequest.WrappedGetResponseCallba ck(Object
state)
--- Inner Exception ---
System.IO.FileNotFoundException
- Could not find file 'C:\Software\GalleryScreenshots
\GalleryScreenShots_1_0_0_17\GalleryScreenShots.ex e.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.

May 21 '07 #1
0 5045

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Tony Wright | last post: by
1 post views Thread by Scott Hamlin | last post: by
14 posts views Thread by Roland Hall | last post: by
13 posts views Thread by Mary Lei | last post: by
5 posts views Thread by John | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.