Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > click once only possible with IIS ?
 

click once only possible with IIS ?

Hi,

I have read many messages here. I did not succeed to get the click once to work. But I see almost all mesages here related to IIS and/or  HTTP uploads.

Does this means that click once does not work on a reagular internet site ? Note that most ISP doe not support HTTP uploads.

I do like this thing get to work, but before I try again, this is maybe the reason I cannot get it to work. If so is there a workaround for it ?
Wilfried Mestdagh  Monday, June 13, 2005 6:39 PM
Hi Sameer,

Now I finally understeand it. The article is a little confusing with the word "publishing", because it can translate in many languages as "upload". Also it took me a while to understeand what it really means. I explain it here for others (like me) that are a little slower :) Please correct if I'm wrong.

If I download the *.application file from my internet pages then the ISP's HTTP server give me following headers:

HTTP/1.0 200 OK
Accept-Ranges: bytes
Date: Tue, 14 Jun 2005 06:44:56 GMT
Content-Length: 5593
Content-Type: text/plain
Proxy-Connection: keep-alive
Server: Apache

And this will not work. The "Content-Type" has to be following:

Content-Type: application/x-ms-application

So this means that you have to have access to the HTTP server so that he gives the correct header information for this type of file (*.application)..

So that's what the article try to tell. Please correct if I'm wrong again ...
Wilfried Mestdagh  Tuesday, June 14, 2005 7:04 AM
Hi Wilfried,

ClikOnce works with file://, http:, https: protocols. Also, you don't need IIS, it should work fine with any web-server. The web-server you host the ClickOnce application must allow the MIME mappings discussed in this article. http://msdn2.microsoft.com/library/ms165433(en-us,vs.80).aspx

Does this means that click once does not work on a reagularinternet site ? Note that most ISP doe not support HTTP uploads.

You can upload the deployment using FTP or any protocol your ISP supports. It does not have to be http. We support http: and file:// based publishing through VS2005. We don't support ftp. So if your ISP does not support http:// of file:// protocol for uploading you can alwasy use ftp:// to upload.

Thanks,
Sameer
Sameer Murudkar - MSFT  Tuesday, June 14, 2005 12:20 AM
Hi Sameer,

Now I finally understeand it. The article is a little confusing with the word "publishing", because it can translate in many languages as "upload". Also it took me a while to understeand what it really means. I explain it here for others (like me) that are a little slower :) Please correct if I'm wrong.

If I download the *.application file from my internet pages then the ISP's HTTP server give me following headers:

HTTP/1.0 200 OK
Accept-Ranges: bytes
Date: Tue, 14 Jun 2005 06:44:56 GMT
Content-Length: 5593
Content-Type: text/plain
Proxy-Connection: keep-alive
Server: Apache

And this will not work. The "Content-Type" has to be following:

Content-Type: application/x-ms-application

So this means that you have to have access to the HTTP server so that he gives the correct header information for this type of file (*.application)..

So that's what the article try to tell. Please correct if I'm wrong again ...
Wilfried Mestdagh  Tuesday, June 14, 2005 7:04 AM

You can use google to search for other answers

Custom Search

More Threads

• C:\Documents and Settings\Local Settings\Apps\2.0\* getting cleared each log off
• 64-bit setup project
• How to set CustomErrorStatus in ProjectInstaller class with C#
• Click Once / Crystal Reports - will users without CRs installed always need to go to website?
• Click once Temporary Key Problem!
• deploying under microsoft iis sharepoint services
• VisualStudio 2008 Beta2 ClickOnce
• Running a ClickOnce application from VBscript
• Users cannot run app after upgrade from VS2005 to VS2008
• Visual Studio2005 Application doesn't run on a normal .NET 2.0 PC