Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: IIS7 WPF
hello everyone
My server: windows server 2008 r2 , II7
I deploy a wpf webbrowser application into the IIS7,then I put a .exe file in "C:\inetpub\wwwroot",I want my client application to get the remote exe file,but always return null.
I have research some documents,someone tells me maybe IIS7 locks all the exe files,so that i can not download them,but i dont't know what can I do.
Did anyone encounted this problem ? help me,please,this problem makes me despair.
Posted 16-Sep-12 22:12pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I could be wrong, but I do not think this is a concern that is up to the IIS (server-side) to decide. That would be wrong, and dangerous if the host/owner of malicious websites should decide what the client can download.

So this is up to the client. The visitors to your site should allow exe-files to be downloaded within the settings in the web browser.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sascha Lefévre 485
1 Sergey Alexandrovich Kryukov 325
2 Maciej Los 240
3 Abhinav S 174
4 Peter Leow 120
0 Sergey Alexandrovich Kryukov 6,773
1 OriginalGriff 6,311
2 Maciej Los 2,692
3 Peter Leow 2,654
4 Abhinav S 2,562

Advertise | Privacy | Mobile
Web04 | 2.8.150414.1 | Last Updated 14 Dec 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100