|
Home > Archive > IIS Server > February 2004 > Permission denied on .exe
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Permission denied on .exe
|
|
|
| try following
select your virtual application folder in IIS.
right click on it..go to properties.
see applications setting..
change execute permisssions to script and executables.
it should work
cheers..
dave
quote:
>-----Original Message-----
>I have a Windows XP pro system with IIS 5.1 configured
on it.quote:
>Everything works great and I just installed php and perl
on it.quote:
>They are working great, and i figured out how to write
to files too.quote:
>
>But now no one can download .exe files from me.
>When i goto http://localhost/sound.exe (an example .exe)
i get this:quote:
>
>You do not have permission to view this directory or
page using the credentials you supplied.quote:
>HTTP 401.3 - Access denied by ACL on resource
>Internet Information Services
>
>if i right click it and click save as when browsing
directory /quote:
>then internet explorer returns: "was not able to open
this Internet site. The requested site is either
unavailable or cannot be found. Please try again later."quote:
>but the rest of the site works fine, just .exe files are
being denied.quote:
>
>I checked security tab and IUSR has read rights to it.
>.
>
| |
| =?Utf-8?B?Sm9Lbw==?= 2004-02-04, 2:37 pm |
| actually...
that was the problem, it was set to script and executables
when i changed it to just script it works fine now.
It seems it took .exe and was trying to run it instead of give download, and IIS denied the .exe
but thanks for pointing me in the right direction!!!
| |
| David Wang [Msft] 2004-02-04, 5:34 pm |
| This behavior is by design.
If you give "Script and Executables" execute permission, you are instructing
IIS to interpret URLs for .EXE files as "execute this EXE on the server".
If you give any other execute permission, such as "Scripts" or "None", you
are instructing IIS to interpret URLs for .EXE files as "download this
file".
People tend to either want to download OR execute a EXE file when they give
a URL. This configuration option gives that choice.
--
//David
IIS
This posting is provided "AS IS" with no warranties, and confers no rights.
//
"JoKo" <anonymous@discussions.microsoft.com> wrote in message
news:4D52AB6D-D034-4ADD-A50C-44CDFC625C59@microsoft.com...
actually...
that was the problem, it was set to script and executables
when i changed it to just script it works fine now.
It seems it took .exe and was trying to run it instead of give download, and
IIS denied the .exe
but thanks for pointing me in the right direction!!!
|
|
|
|
|