Home » Programming / Coding

HTTP Error 403.1 – Forbidden: Execute access is denied – IIS

6 January 2011 6,458 views No Comment

In cases you have asp pages on your website but you get this error when you try to view the page on the browser. If you are getting this error there are two things to check.

Make sure that you have allowed Scripts to execute on your website.
To do that:

  • Open up IIS Manager
  • Go to the Home Directory tab
  • Under Execute Permissions set one of Scripts Only or Scripts and Executables.
  • Click Apply

If that didnt resolve your problem its also likely that you need to enable web service extensions for .ASP and .ASPX on your IIS.

To do that:

  • Open up IIS Manager
  • You will see a folder called Web Service Extensions, Click on it
  • Click on Active Server Pages, if you see that prohibited on the status column, click on Allow button.
  • Click on Asp .Net (whatever version you use for website), if you see that prohibited on the status column, click on Allow button.

When you try to set Allow permission you may get error like this one:

System.Web.HttpException: The current identity (NT AUTHORITY\NETWORK SERVICE) does not have write access to ‘C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Tem porary ASP.NET Files’.

If you get this error set Network Service account modify permission on the “Framework” folder and let the permissions be inherited by its child folders.

______________

From Webcosmo Webmaster Forum http://www.webcosmoforums.com/windows-server/25186-http-error-403-1-forbidden-execute-access-denied-iis.html

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading ... Loading ...

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.