Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Error in Executing application from localhost

Error in Executing application from localhost

Scheduled Pinned Locked Moved ASP.NET
helpquestion
7 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    suzzain
    wrote on last edited by
    #1

    Hi all, When Im trying to execute my page through localhost like this http://localhost/default.aspx im getting the following error HTTP 403.1 Forbidden: Execute Access Forbidden Internet Information Services. Please tell me what are the possible causes and how my page can execute?

    S 1 Reply Last reply
    0
    • S suzzain

      Hi all, When Im trying to execute my page through localhost like this http://localhost/default.aspx im getting the following error HTTP 403.1 Forbidden: Execute Access Forbidden Internet Information Services. Please tell me what are the possible causes and how my page can execute?

      S Offline
      S Offline
      SeMartens
      wrote on last edited by
      #2

      Hi, open the MMC IIS, select your virtual directory (did you forgot to set one?) and grant execution rights (checkboxes on the first tab). Regards Sebastian

      It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.

      S 1 Reply Last reply
      0
      • S SeMartens

        Hi, open the MMC IIS, select your virtual directory (did you forgot to set one?) and grant execution rights (checkboxes on the first tab). Regards Sebastian

        It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.

        S Offline
        S Offline
        suzzain
        wrote on last edited by
        #3

        I have done this but still im getting the error.

        S 1 Reply Last reply
        0
        • S suzzain

          I have done this but still im getting the error.

          S Offline
          S Offline
          SeMartens
          wrote on last edited by
          #4

          Where is your default.aspx located? It seems like you put this one under the "Default Web Site". I don't know if you need a virtual directory for this (e.g. http://localhost/MyVirtualDirectory/default.aspx).

          It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.

          S 1 Reply Last reply
          0
          • S SeMartens

            Where is your default.aspx located? It seems like you put this one under the "Default Web Site". I don't know if you need a virtual directory for this (e.g. http://localhost/MyVirtualDirectory/default.aspx).

            It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.

            S Offline
            S Offline
            suzzain
            wrote on last edited by
            #5

            yes I have put it under Default website.

            S 1 Reply Last reply
            0
            • S suzzain

              yes I have put it under Default website.

              S Offline
              S Offline
              SeMartens
              wrote on last edited by
              #6

              Well, then open the "Default Web Site"-property window, go to the tab "Base directory" and check whether the executing properties (second dropdownlist from bottom) are set (at least to scripts).

              It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.

              S 1 Reply Last reply
              0
              • S SeMartens

                Well, then open the "Default Web Site"-property window, go to the tab "Base directory" and check whether the executing properties (second dropdownlist from bottom) are set (at least to scripts).

                It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.

                S Offline
                S Offline
                suzzain
                wrote on last edited by
                #7

                Thanks for your suggestion. I have forgotten to do this. Thank u again

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups