Last post Sep 11, 2008 01:18 PM by navaskhan
Mar 18, 2007 12:10 AM|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 18, 2007 12:30 AMemail@example.com|LINK
You can always find out if the firewall is an issue by turning it off, but in this case you don't have the directory set with Execute permissions for the ASP.NET process account. It's an IIS setting. Also make sure you enabled ASP.NET as a web service
extension. For more on running IIS, check the forums at
Mar 18, 2007 07:50 PM|Vision619|LINK
Jeez! What a reminder of what a rookie I am at hosting. And to think this is only for my site.
well i tured off the firewall, same problem. ASP.NET is enabled and someone had suggested that in SP2 I need to the Web Service Extensions folder in IIS and allow .asp & .aspx. However, when I go in there, there is nothing. Says, "There are no items n this
view". Then I right click to add and there's nothing to choose from?
Mar 18, 2007 11:52 PM|Vision619|LINK
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 one?
Mar 19, 2007 11:39 AMfirstname.lastname@example.org|LINK
Mar 19, 2007 11:21 PM|Vision619|LINK
well i 'm actually using .NET 2.2 so it turns out i had to add 2.2 to my "Web Service Extensions" folder an then adjust permissions on the temp ASP.NET 2.2 folder. What a bunch of crap that turned out to be. All is well not though!
THANKS FOR YOUR HELP!!!!!
Sep 11, 2008 01:18 PM|navaskhan|LINK