?
Solved

ClickOnce Update to disk path

Posted on 2008-01-30
2
Medium Priority
?
2,258 Views
Last Modified: 2008-02-07
I am using ClickOnce deployment for a Visual Studio 2005 windows application. This application is distributed to a file sharing server on a network of which all the computers have access to the server as a mapped network drive x:

say I publish to X:\software\publish\

i also want the software to check for updates from this same path however, when I enter this path into the location during the ClickOnce wizard it says:

Invalid value for 'Update URL' . The string must be a fully qualified URL or UNC path, for example 'http://www.microsoft.com/myapplication" or "\\server\myapplication"

I have tried "\\x\software\publish", "http:\\localhost\x\software\publish", "\\localhost\x\software\publish" these all allow me to publish the sofware but the software then crashes when you run it saying the update location can not be found.

How do I set the update path to a simple disk path for updates? This location will always be static and available.
0
Comment
Question by:wilsoada
2 Comments
 
LVL 2

Accepted Solution

by:
flyinga earned 2000 total points
ID: 20783140
Is there any reason you cannot use the actual path to the fileserver (not the mapped drive letter?)

e.g. \\servername\software\publish   ?

one way to find out the actual path of server is:

Click on the 'Start' menu
Click on 'Run'
Type: CMD and press ENTER
Type: net use

Under 'Local' it will show the drive letter 'X:' and under 'Remote' it will show the mapped path. Just use the full path of the server (rather than the mapped drive letter).
0
 

Author Comment

by:wilsoada
ID: 20783822
no reason at all that's a great idea, I will check this in the morning if I don't get the points back to you it is because I'm on vacation for 7 days and will finish this question up on my return.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
How can you see what you are working on when you want to see it while you to save a copy? Add a "Save As" icon to the Quick Access Toolbar, or QAT. That way, when you save a copy of a query, form, report, or other object you are modifying, you…
The video will let you know the exact process to import OST/PST files to the cloud based Office 365 mailboxes. Using Kernel Import PST to Office 365 tool, one can quickly import numerous OST/PST files to Office 365. Besides this, the tool also comes…

588 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question