Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > ClickOnce Install Cant Find Included Data File
 

ClickOnce Install Cant Find Included Data File

Using ClickOnce to deploy an applicationwith a Data File for download/install from a web page. All works fine -- FTP shows that the manifest files are on the web page along with an App_Data folder that contains the data file (named like mydatafile.txt.deploy. However, when attempt to install, an error condition shows up:
"Downloading http://.../App_Data/mydatafile.txt.deploy did not succeed. The remote server returned an error: (404) Not Found"

I know the file is there since I can see it using FTP. So how could it be not found when doing download?

I've tried to install from the web page on both an XP and Vista computer. Same results.

Any advice greatly appreciated.

dickey38  Saturday, July 12, 2008 10:46 PM

After lots of experimenting I found answer:

The folder App_Data which we are advised to use to hold datafiles in ASP.Net 2.0, apparantly blocks ClickOnce access during the download/install process. I moved the file to the main directory and it downloaded fine.

dickey38  Sunday, July 13, 2008 8:41 PM

After lots of experimenting I found answer:

The folder App_Data which we are advised to use to hold datafiles in ASP.Net 2.0, apparantly blocks ClickOnce access during the download/install process. I moved the file to the main directory and it downloaded fine.

dickey38  Sunday, July 13, 2008 8:41 PM

You can use google to search for other answers

Custom Search

More Threads

• Problem With Deployment
• Can I change how Publish.html looks like?
• Changing checkbox selection from msiexec command line
• Selecting application version to run
• Deploying Multiple Product Variants with CO
• ClickOnce not working without Windows Installer 3.1
• Certificate - does client need it?
• MSBUILD error MSB3147
• Deploy a Winform Application using SQL Express 2005
• suppress reboot