?
Solved

Serving .EXE files on an IIS 6.0 Web Server, ClickOnce

Posted on 2008-10-15
1
Medium Priority
?
1,371 Views
Last Modified: 2013-12-17
I just wanted to know, I'm already using the "Use, .deploy file extension" option on my project settings and by default I did add in the .deploy type as mentioned in the MSDN webby.

After doing this I still find the ClickOnce deployment path in VS 2005 still generates a setup.exe file. The very file i need serving by the IIS. in the past the IIS was already set up for me but recently it has been rebuilt so I'm learning and picking up the pieces as I go along.

My Deployment uploads quite a few .exe files namely pre requisites and in VS 2005 i find myself with Warnings in the Error List window. Saying ...

"Warning      1      Could not download 'setup.exe' from http://10.*.*8.8*/M...and_T._2/.            1      1      ...ce"

I never seen these before But it was 15+ before I added in the .deploy mime type onto my IIS WS.

Any ideas ... any one got a wiki or something that i could follow that shows you to fully set-up an IIS WS ready to recieve ClickOnce deployments?

Thanks,
Ibrar
0
Comment
Question by:iamumtaz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
iamumtaz earned 0 total points
ID: 22720001
I managed to get it to work by adding the mime types on the default website virtual directory and then removing them from all other places I had them.

I added in mime types for the  .application, .deploy and .manifest as said in the MSDN libraries.

Then I ran 'Check Server Extensions' and got the tool to fix any problems it find such as folder not marked as executable and no private folder.

I lowered the permissions on the deployed application, down to none and the app pool to default app pool.

Turned the IIS off (STOP).

Re-checked to make sure the MIME types are still in place.

Deleted any existing deployments made and but kept any automatically generated hidden folders (_vti_bin, _private, _vti_cnf, _vti_pvt, _vti_script and _vti_txt).

Turned the IIS on (START).

In VS 2005, re published the deployments to find no errors or warning to my target server.

Just getting some testers to feed back to me and let me know how they get on but I reckon its all working now. Any comments or accepted solutions then please reply. I will choose the best solution that matches.
0

Featured Post

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.
Suggested Courses

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question