Click here to Skip to main content
Rate this: bad
good
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 21:12pm

1 solution

Rate this: bad
good
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.
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 6,725
1 OriginalGriff 6,696
2 CPallini 5,315
3 George Jonsson 3,589
4 Gihan Liyanage 2,650


Advertise | Privacy | Mobile
Web02 | 2.8.140921.1 | Last Updated 14 Dec 2012
Copyright © CodeProject, 1999-2014
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