Solved

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

Posted on 2008-10-15
1
1,351 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

790 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