Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - ClickOnce 404 problem

Reply
 
Old 10-29-2008   #1 (permalink)
Lutz Kretzschmar


 
 

ClickOnce 404 problem

I have used ClickOnce to deploy my app to a file share on a server in my intranet. That folder is under a webserver root so I want my users to go to http://someserver.dom.com/App/Publish.htm and to get the app from there. This does not work. The initial MyApp.application is downloaded, but it is unable to download the rest of the files. The logs all indicate a 404 (Not Found) error.
Looking in the webserver logs, it is trying to download files that have "App/Application+Files/App_1_0_0_10/" in them. I have no idea why the plus sign is in there. It should be a space or a %20. I am unable to find how VS generates the Application Files path, so I can change it to something else, it seems to be hard-coded.

Any ideas?

- Lutz


My System SpecsSystem Spec
Old 10-30-2008   #2 (permalink)
Zhi-Xin Ye [MSFT]


 
 

RE: ClickOnce 404 problem

Hi Lutz,

Thank you for using Microsoft Managed Newsgroup Service, my name is Zhi-Xin
Ye, I'm assigned to help you on this issue.

The "404(Not Found)" error is often caused by impoper server
configurations. If you use Internet Information Services (IIS) on Windows
Server 2003, and your deployment contains a file type that Windows does not
recognize, such as a Microsoft Word file, IIS will refuse to transmit that
file, and your deployment will not succeed.

So you can verify that the Web server is configured so that it does not
block download of this file. For more information, you can refer to these
document:

Server and Client Configuration Issues in ClickOnce Deployments
http://msdn.microsoft.com/en-us/library/ms228998.aspx

Please try my suggestion and let me know the result.

Sincerely,
Zhi-Xin Ye
Microsoft Managed Newsgroup Support Team

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can

improve the support we provide to you. Please feel free to let my manager
know what you think of the level

of service provided. You can send feedback directly to my manager at:
msdnmg@xxxxxx.

==================================================
Get notification to my posts through email? Please refer to

http://msdn.microsoft.com/en-us/subs...#notifications.

Note: MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the

community or a Microsoft Support Engineer within 2 business day is
acceptable. Please note that each follow

up response may take approximately 2 business days as the support
professional working with you may need

further investigation to reach the most efficient resolution. The offering
is not appropriate for situations

that require urgent, real-time or phone-based interactions. Issues of this
nature are best handled working

with a dedicated Microsoft Support Engineer by contacting Microsoft
Customer Support Services (CSS) at

http://msdn.microsoft.com/en-us/subs.../aa948874.aspx
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

My System SpecsSystem Spec
Old 10-30-2008   #3 (permalink)
Lutz Kretzschmar


 
 

Re: RE: ClickOnce 404 problem

None of the three extensions are blocked.

Any other ideas? Why is there a plus sign in the path instead of a %20?

- Lutz
My System SpecsSystem Spec
Old 11-03-2008   #4 (permalink)
Zhi-Xin Ye [MSFT]


 
 

Re: RE: ClickOnce 404 problem

Hi Lutz,

I don't think the plus sign causes the problem, I check my web logs and see
the plus sign in the path, but the application is downloaded successfully.

Would you please collect the following information at your earliest
convenience? It will help me get a more concrete idea as to what the exact
problem is and how to resolve it efficiently.

1. Which operating system is used on your server?
2. Which Web server is running on the server? Internet Information
Service(IIS) or third-party web servers?
3. Which .NET Framework version is used on the server?
4. When you deploy the application, did you set the "Publishing Folder
Location" to the file share on the server, and set the "Installation Folder
URL" to the URL that for the users to install?

Anyway, you can check on the server to make sure:

1. The following MIME types are set up correctly on the server:

.application --> application/x-ms-application
.manifest --> application/x-ms-application
.deploy --> application/octet stream

2. Regular users have read access to the root deployment folder and all the
files and folders within.

I look forward to hearing from you.

Sincerely,
Zhi-Xin Ye
Microsoft Managed Newsgroup Support Team

Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can

improve the support we provide to you. Please feel free to let my manager
know what you think of the level

of service provided. You can send feedback directly to my manager at:
msdnmg@xxxxxx.

This posting is provided "AS IS" with no warranties, and confers no rights.

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
ClickOnce Vista security
clickonce .NET General
ClickOnce - Is it right for me? .NET General
ClickOnce exception in IE .NET General
ClickOnce Deployment (BUG?) .NET General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46