?
Solved

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

Posted on 2008-10-15
1
Medium Priority
?
1,389 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

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

Question has a verified solution.

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

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.
Suggested Courses

829 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