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.
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
www.iis.net.
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?
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:
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?
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!
hai guys, i too faced similar problem like cant access the IIS metadatabase and CGI SCRIPTS and 403.1 forbidden the solution is that "metaccl.vbs script file is there in website http://msdn.microsoft.com/en-us/library/aa546011.aspx ------ this url is helpful
is solving the problem and for the forbidden problems in your system there is a problem with ur registry settings so pleasse use REGSRC tool to find the problem in registry settings thanks NAVAS KHAN
Vision619
Member
1 Points
28 Posts
HTTP Error 403.1 - Forbidden: Execute access is denied.
Mar 17, 2007 11:10 PM|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!
Mike
jeff@zina.co...
All-Star
87677 Points
11637 Posts
Moderator
Re: HTTP Error 403.1 - Forbidden: Execute access is denied.
Mar 17, 2007 11:30 PM|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 www.iis.net.
Jeff
Vision619
Member
1 Points
28 Posts
Re: HTTP Error 403.1 - Forbidden: Execute access is denied.
Mar 18, 2007 06:50 PM|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?
Any idea's?
Vision619
Member
1 Points
28 Posts
Re: HTTP Error 403.1 - Forbidden: Execute access is denied.
Mar 18, 2007 10:52 PM|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?
jeff@zina.co...
All-Star
87677 Points
11637 Posts
Moderator
Re: HTTP Error 403.1 - Forbidden: Execute access is denied.
Mar 19, 2007 10:39 AM|LINK
See:
http://www.visualwin.com/ASP.NET/
Jeff
Vision619
Member
1 Points
28 Posts
Re: HTTP Error 403.1 - Forbidden: Execute access is denied.
Mar 19, 2007 10:21 PM|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!!!!!
navaskhan
Member
2 Points
1 Post
Re: HTTP Error 403.1 - Forbidden: Execute access is denied.
Sep 11, 2008 12:18 PM|LINK