Execute access is denied ?#@?

Discussion in 'ASP.NET / ASP.NET Core' started by noahcoad, Dec 3, 2007.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I'm getting an HTTP 403 Error "You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed." when hitting any ASP.NET file.

    I just created a very little ASP.NET app w/ Visual Studio 2008 that has a connection to one table in my DiscountASP.NET SQL 2000 DB, one .aspx file to display the data, one .asmx to put a record in the table, and a LINQ to SQL .dbml file. I created it as a 'website' on my PC, then used 'publish' to put it up on my site. I can show a .html file, but when hitting any other file's URL in the site (below), I'm getting that error. What's going on? My site should have .NET 2.0/3.0/3.5 support.

    http://coad.net/blog/resources/CountSentMailWebSite/

    Thanks,
    -Noah
     
  2. It appears you've created privileges on that folder.
    If I climb up a few folders the pages work.
     
  3. Thanks for the reply, but I sure as heck didn't do anything explicit about permissions. How would I change them? I couldn't find anything about 'execute' permissions in theDS.NET Control Panel.
     
  4. Go to your CP then click on the left side where it reads: Permission Manager
    Click on the folder /CountSentMailWebSite/ in the Directory Tree.
    Check to see what the Set Permission is, on the right side.
    Salute,
    Mark
     
  5. It is set to anonymous has Read (not write) access, like any other web application on my account. The directory is marked as a web application like any other too. Could it have something to do with .NET 3.5?
     
  6. I'd suggest a Support ticket, the DASP crew might just spot what's going on.
    salute,
    Mark
     
  7. Bruce

    Bruce DiscountASP.NET Staff

    I think what you are seeing is a nasty bug with VS.NET's Web Extension Client (WEC). It sometime shut off IIS execute / script permission on directory.


    If you are using VS.NET 2005 or above, use FTP as a upload method rather than HTTP.


    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
  8. Is there a way to turn script execution back on (short of deleting the directory)?


    I tried creating a second directory and manually FTPing the files into there. But when I use the control panel's "Web Application Tool" to "Install Application" on that directory, it bombs with an "System Temporarily Unavailable" error message every time.
     
  9. Bruce

    Bruce DiscountASP.NET Staff

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page