Publish to Remote Website using ClickOnce

I am trying to publish a windows forms solution to a remote website. I useftp://ftp.mydomain.com/projectname/ as the publishing location. I usehttp://www.mydomain.com/projectname/ as the installation url. The update location is the same as publishing location. The files all get to the right place, and when I open the publish.htm page from the site and hit install it opens the xml from projectname.application in my browser instead of installing the application. If I run setup.exe from the website browser it looks like its installing, but then it also opens up projectname.application as an xml file in my browser and quits. I was going to try and test this at a site this coming monday, but may end up using msi if I can't get any help soon. Thanks

p.s. I tried it on localhost and everything seemed to work fine.

[1045 byte] By [lkinney] at [2008-2-7]
# 1
Does the client have .NET 2.0 framework installed? That should set up the mime type mappings on the client side.

If not that, chances are it is a problem with the mime type mappings on your web server. Check out the following link with solutions to this problem.

http://msdn2.microsoft.com/library/ms165433(en-us,vs.80).aspx

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

Hello Ikinney

I'm having the same problem when other PCs try to Install my application.. Only get XML code page.

Where you able to solve the problem?

Please let me know.

Thank you.

Mirko

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

You sure its a Windows Server your deploying to?

How about uploading an .htaccess file in the same folder as your deployment root with the following:

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

That should stop it from showing you the XML code and will access process the file.

Good luck. Let me know if it works.

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