Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > How do i set the deployment providor from within the project? One Click
 

How do i set the deployment providor from within the project? One Click

I have an app that i am trying to maintain with one click. It was working until i did something.

The one click folder is on a shared drive. when the user clicks on the "EarningsUpdate.application" file, it errors out before it executes.

I get a "Cannot start application" message box. At this point, the app has not even started. There is a details box that i click. Here is what it displays:

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:///G:/SSA/Net2005/EarningsUpdate/EarningsUpdate.application
Deployment Provider url: http://jerry8250/EarningsUpdate/EarningsUpdate.application

ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of G:\SSA\Net2005\EarningsUpdate\EarningsUpdate.application resulted in exception. Following failure messages were detected:
+ Downloading
http://jerry8250/EarningsUpdate/EarningsUpdate.application did not succeed.
+ The remote server returned an error: (404) Not Found.

In particular, the Deployment provider is invalid. The computername 'Jerry8250' is my own workstation. My guess is that is should point to the same file location as the deployment Url. Anyway it was working just fine for several weeks and several updates, however today i broke something. How do i set the deployment providor from within the project?

Any one out there know whats going on?

Thanx

Jerry Cicierega

JerryCic  Tuesday, January 09, 2007 9:49 PM

After searching on the same problem I stumbled on it

In the properties of the project go to the Publish tab and click on updates. Change the update location to the desired location. Hope this helps.

bhorsley  Friday, March 02, 2007 8:34 PM

After searching on the same problem I stumbled on it

In the properties of the project go to the Publish tab and click on updates. Change the update location to the desired location. Hope this helps.

bhorsley  Friday, March 02, 2007 8:34 PM

Even weirder and worth knowing about...My 'Updates' button was greyed out. I selected 'The application is available offline aswell...' to enabled it, and low and behold, the file path was looking in a different (out of date) folder. I unselected the 'Check for updates' option, OK'd, then reselected '..available online only' option and saved. Job done.

I don't ever remember enabling offline publishing, or updates, but I guess I must have at some point.

Thanks for the pointer.

WillC9999  Wednesday, October 08, 2008 2:25 PM

You can use google to search for other answers

Custom Search

More Threads

• Forgot Password to Expired Certificate
• Error 1303 using 'major upgrade' with included msvc runtime merge module
• question on the publish wizard
• How to call my C# code when a user clicks ClickOnce link
• vs 2008 setup project
• Launching application after install
• Web Setup Project: Installer fails on Vista, but not on XP
• Office Charting controls and ClickOnce
• Detached prerequisite detection
• How to update a deployed C# Windows Application VS2005