IIS 5 & IIS 6
HTTP Error 403.1 - Forbidden: Execute access is denied.
Last post Sep 16, 2012 07:03 AM by huydangthai
Mar 17, 2007 06:16 PM|Vision619|LINK
I cannot get these pages with extension .asp or .aspx to load on my new Windows Server 2003 setup. I get the old ...
"The page cannot be displayed
You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed. "
I just bought it and it's been a while since I've been an administrator hosting websites so I'm a nit rusty. Until my Firebox gets here I am using the Firewall that comes with 2003 :(. I hope that's not the problem. Any idea's?
Any help is GREATLY appreciated!
Mar 17, 2007 11:33 PM|Robba|LINK
You need to enable the web service extensions for .ASP and .ASPX to work. You'll find directions here: http://technet2.microsoft.com/WindowsServer/en/library/cda7d603-fdd6-4a48-b045-89adac6e519e1033.mspx?mfr=true.
Mar 18, 2007 06:55 PM|Vision619|LINK
I couldn't find any help there but here is where i am at:
Well i turned on "Alow Scripts" in the properties of the website in question and instead of the 403.1 error, I now get " 404 Page not found" for .aspx files ... and this is what comes up when i got to the test.asp page i created:
Active Server Pages error 'ASP 0221'
Invalid @ Command directive
/test.asp, line 1
The specified 'Page Language="VB" ' option is unknown or invalid.
Seems like I need to add a Web Service Extension to allow these scripts to run in the "Web Service Extension" folder in IIS but I don't know which extension to add?
Mar 18, 2007 09:53 PM|Vision619|LINK
Mar 18, 2007 11:37 PM|Robba|LINK
Mar 19, 2007 08:41 AM|Vision619|LINK
ASP.NET v1.14322 ia already enabled as wellas Active Server Pages. However, I just installed 2.2 and that's what I have the properties set to on the website. Unfortunately, when I right click to add an extension in the "Web Server Extension " area, there
is nothing related to ASP.NET 2.2.
I then tried to switch the site properties to run on 1.1 and it still has the same errors? i am truly baffled here.
Mar 19, 2007 09:03 AM|Vision619|LINK
ok, getting a little further. finally figured out where to add 2.2 in Web Service Extensions. But when i allow it I now get this error :
Exception Details: System.Web.HttpException: The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to 'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files'.
Mar 19, 2007 10:14 AM|Robba|LINK
Mar 20, 2007 09:21 AM|tomkmvp|LINK
Sep 16, 2012 07:03 AM|huydangthai|LINK