I’m trying to publish my app with ClickOnce to install from a Web page. I’m using a free server at “000webhost.com”. But is not working. My files are uploaded but when I click on Install (from the publish.html page) I get a broken link, and when I click “launch” an XML file is opened in my browser. Apparently I’m missing something so elemental that no one bothers to talk about. I think I read somewhere that the server must have FrontPage extension installed. Any help will help.
Edit: Now I tried to install it from Internet Explorer. This time I didn’t get a broken link but I got this error: “Cannot continue. The application is improperly formated. Contact the application vendor for assistance”. So, still, any help will help. And by the way are they assuming everyone uses IE or why am I getting a broken link when using Chrome?
Check the MIME type configuration for
.applicationfiles on the Web server (probably you can’t change it on a free service). The web server is sending the ClickOnce manifest as plain-text instead as application/octet-stream, so the browser just displays it instead of trying to launch it with the installer.