Solved

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

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
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…
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 use and create new code templates in NetBeans IDE 8.0 for Windows.

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now