Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Page cannot be found error when Install button pressed...
 

Page cannot be found error when Install button pressed...

Trying to publish my application to our web server by:

1. Publish to a local directory (C:\ClickOnceApps\) on my dev PC

2. Installation Folder URL: is set to our real web server URL (i.e. https://www.company.com/ClickOnceApps/)

3. manually copy the files over to our web server from my dev PC via RDP

4. Navigate to https://www.company.com/ClickOnceApps/Publish.htm and get the appropriate Install web page

5. Click on the Install button and get "HTTP Error 404 ... The Page cannot be found" pointing to https://www.company.com/ClickOnceApps/Setup.exe -- the file is there along with other deployment files

Any suggestions why ClickOnce is not working?

Rob Ainscough  Friday, May 30, 2008 6:44 PM

think you misunderstood, the URLs I listed are bogus, that was just for examples sake.

I solved the problem, apparently I need to create a virutal directory in IIS pointing to the physical location of my clickonce deployment files. Now works.

Rob Ainscough  Monday, June 02, 2008 6:17 PM

It can't find the installation, so you have apparently put them in the wrong place.

If there some reason you don't deploy the files directly to the web server? If they won't give you http access (many won't), then can they give you ftp access to that specific folder? Then you can publish to ftp://(etc), and have the http address as the installation url.

Which version of VS are you using, 2005 or 2008?

RobinS.

GoldMail.com

RobinDotNet  Sunday, June 01, 2008 12:51 AM

think you misunderstood, the URLs I listed are bogus, that was just for examples sake.

I solved the problem, apparently I need to create a virutal directory in IIS pointing to the physical location of my clickonce deployment files. Now works.

Rob Ainscough  Monday, June 02, 2008 6:17 PM

I knew the urls were bogus. I assumed you already had the virtual directory stuff defined. Silly me.

I'm glad you got it to work!

RobinS.

GoldMail.com

RobinDotNet  Thursday, June 05, 2008 5:41 PM

You can use google to search for other answers

Custom Search

More Threads

• Modify app.config during application runtime?
• Locating the Path to a ClickOnce Executable
• Corrupted Libraries? is it possible?
• Windows Installer sometimes silently fails to install data files under [LocalAppDataFolder]
• SQL Server 2005 SP2 as Prerequisite?
• Editing Wid Dialogs
• URGENT: Install from CD and update from Internet
• Run InstallUtil from C# InstallClass as a custom action for setup created in vs.net 2003
• Problem With Oracle 9i r 2 and Vb.net
• Creating Network Share During Installation