Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > ClickOnce myapp.application doesn't work on website
 

ClickOnce myapp.application doesn't work on website

I have aClickOnce applicationthat works great when loaded from a Windows Shareor my local computer's test IIS website. However, when I post it to my company's internal website, loading the application file from IE displays the text of the application file, rather than loading the click-once. Is there some setting in IIS that can stop ClickOnce technology from working?

Thanks
-Nathan
Nathan R Arnott  Tuesday, December 23, 2008 6:47 PM
You need to set up the MIME types correctly on the server so it knows what to do with the files. Here they are:

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

If you are targeting the .Net 3.5 Framework, you also need these MIME types:

.msp --> application/microsoftpatch
.msu --> application/microsoftupdate

And if you have a VSTO application, you need this one as well:

.vsto --> application/x-ms-vsto

RobinS.
GoldMail.com


RobinS. GoldMail.com
RobinDotNet  Wednesday, December 24, 2008 6:54 AM
You need to set up the MIME types correctly on the server so it knows what to do with the files. Here they are:

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

If you are targeting the .Net 3.5 Framework, you also need these MIME types:

.msp --> application/microsoftpatch
.msu --> application/microsoftupdate

And if you have a VSTO application, you need this one as well:

.vsto --> application/x-ms-vsto

RobinS.
GoldMail.com


RobinS. GoldMail.com
RobinDotNet  Wednesday, December 24, 2008 6:54 AM

You can use google to search for other answers

Custom Search

More Threads

• Creating shortcuts using "Primary output of [project]"
• Setup project - Get previous installation path when upgrading
• Clickonce for an Addin
• launch exe.
• RegAsm/InstallUtil on C# issue.
• Launch icon in the icon tray at the end of setup.
• Auto uninstall another version ?
• Need help about Prequiest
• publish error
• Update version of publishing using MageUI.exe