Click once not working

Hi,
I'm trying out the click once, but eather I forget somethign or eather it is not working yet. When I try to open publish.htm it only opens an xml file. When I thry to publish on local htt (no HTTP server) then it seems to work also. I have no idea what I do wrong.
I have uploaded a project (it is just a main form) to:
http://www.mestdagh.biz/kieken

If someone can see and eventueally can tell me ? Thanks..
It opens the welcome screen on publish.htm, but when I hit 'launch' then it just opens an XML file.
[617 byte] By [WilfriedMestdagh] at [2008-1-21]
# 1
Did you get this figured out?
durstin at 2007-9-7 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 2

The most likely reason for this is that .application extension is not associated with the right MIME type on your web server. The MIME type for .application should be set to application\x-ms-application.
After configuring the MIME type on server clear your IE cache and try again.

For more info on this see ClickOnce troubleshooting doc on http://msdn2.microsoft.com/library/ms165433(en-us,vs.80).aspx.

-Sameer

SameerBhangar at 2007-9-8 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 3
Hi,
No I stopped searching on it because it does not work.
WilfriedMestdagh at 2007-9-8 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 4
Hi,
Thanks for reply, but the Mime thing seems to be for HTTP upload. I do a regular FTP upload to this server.
WilfriedMestdagh at 2007-9-8 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 5
You are doing an http download (http://users.pandora.be/sonal.nv/kieken/PublishTest.application) and need the correct mime type to be returned from the server to have ClickOnce activated on the client.

How you upload to the server is orthogonal.

SaurabhPant at 2007-9-8 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 6
Wilfried,
There are two issues that I see with your app on http://users.pandora.be/sonal.nv/kieken/PublishTest.application:

1. The server is returning Content-Type=text/plain for .application extension. You should reconfigure server to return application/x-ms-application for .application files. This will enable ClickOnce engine to get invoked at install time.

2. Looks like you published your app to http://www.mestdagh.biz/kieken and then copied over to http://users.pandora.be/sonal.nv/kieken location. The deployment provider location in the .application file points to original location on www.mestagh.biz so although app is deployed on users.pandora.be site ClickOnce will still download app from www.mestdagh.biz. See "Deployment Provider usage" section on http://msdn2.microsoft.com/library/ms165433(en-us,vs.80).aspx for more info.

SameerBhangar at 2007-9-8 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 7
Hi Sameer,
1. Thanks, that was it. I just found out myseslf after a long search. This really should be published somewhere !
2. The mestdagh.biz server does a HTTP redirect (302) to the pandora.be server. So the browser should do his GET every time at the right server. Do you think the application itself should have problems with a redirect if checking for a newer version ?
WilfriedMestdagh at 2007-9-8 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 8

I am having the same problem, however I am publishing to a personal page on an ISP web site (comcast) and am not sure I have control of the file Content-Type. Any thoughts?

GPearlman at 2007-9-8 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...
# 9

I have the same problem on an ISP which i can not change there settings anybody solvd this ?

Steve

gearcam at 2007-9-8 > top of Msdn Tech,Windows Forms,ClickOnce and Setup & Deployment Projects...