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. how to resolve this Error "You are not authorized to view this page" errorpage

how to resolve this Error "You are not authorized to view this page" errorpage

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netwindows-adminsecurityhelp
9 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.
  • P Offline
    P Offline
    prateekfgiet
    wrote on last edited by
    #1

    Im trying to put my ASP.Net application online but I just keep getting "You are not authorized to view this page" errorpage (error 401.1). Heres what i have done: -Placed the complied ASP.net application and its files to D:\mypage\ -Created a virtual folder in IIS 5.1 called mypage and selected correct ASP.Net version (2.0.50727) -Directory security is set to anonymous access (using IUSR_machinename). No integrated windows logon is selected. Now when i try to open from client side http://client IP/mypage/ i get "You are not authorized to view this page". Im out of ideas. When I did the same on my local host everything worked fine. Thax in advance

    A 1 Reply Last reply
    0
    • P prateekfgiet

      Im trying to put my ASP.Net application online but I just keep getting "You are not authorized to view this page" errorpage (error 401.1). Heres what i have done: -Placed the complied ASP.net application and its files to D:\mypage\ -Created a virtual folder in IIS 5.1 called mypage and selected correct ASP.Net version (2.0.50727) -Directory security is set to anonymous access (using IUSR_machinename). No integrated windows logon is selected. Now when i try to open from client side http://client IP/mypage/ i get "You are not authorized to view this page". Im out of ideas. When I did the same on my local host everything worked fine. Thax in advance

      A Offline
      A Offline
      Abhishek Sur
      wrote on last edited by
      #2

      Check if the virtual directory itself points to correct directory. Sometimes we often point to directory just parent to it and find such problems. :)

      Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


      My Latest Articles-->** Microsoft Bing MAP using Javascript
      CLR objects in SQL Server 2005
      Uncommon C# Keywords
      /xml>

      P 1 Reply Last reply
      0
      • A Abhishek Sur

        Check if the virtual directory itself points to correct directory. Sometimes we often point to directory just parent to it and find such problems. :)

        Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


        My Latest Articles-->** Microsoft Bing MAP using Javascript
        CLR objects in SQL Server 2005
        Uncommon C# Keywords
        /xml>

        P Offline
        P Offline
        prateekfgiet
        wrote on last edited by
        #3

        i hv given right directory path. n problem is still unresolve

        A 1 Reply Last reply
        0
        • P prateekfgiet

          i hv given right directory path. n problem is still unresolve

          A Offline
          A Offline
          Abhishek Sur
          wrote on last edited by
          #4

          I think you must specify correct default Startup page from IIS console. As Directory browsing is turned off, it throws you this error. Also check http://client IP/mypage/yourpage.aspx is working or not. :-D

          Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


          My Latest Articles-->** Microsoft Bing MAP using Javascript
          CLR objects in SQL Server 2005
          Uncommon C# Keywords
          /xml>

          P 1 Reply Last reply
          0
          • A Abhishek Sur

            I think you must specify correct default Startup page from IIS console. As Directory browsing is turned off, it throws you this error. Also check http://client IP/mypage/yourpage.aspx is working or not. :-D

            Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


            My Latest Articles-->** Microsoft Bing MAP using Javascript
            CLR objects in SQL Server 2005
            Uncommon C# Keywords
            /xml>

            P Offline
            P Offline
            prateekfgiet
            wrote on last edited by
            #5

            i have specify the startup page at iis console.and one more thing when i restart my server web application run till 20 to 30 min.then again give massege on web browser that "You are not authorized to view this page".

            A 1 Reply Last reply
            0
            • P prateekfgiet

              i have specify the startup page at iis console.and one more thing when i restart my server web application run till 20 to 30 min.then again give massege on web browser that "You are not authorized to view this page".

              A Offline
              A Offline
              Abhishek Sur
              wrote on last edited by
              #6

              I think the problem is with your application. It must have doing something wrong... (might be eating up all the application pool memory)... thus throwing this nasty error message. Create a new pool for this application.. or trace your application to see if this error is because of memory related issue or not. :doh:

              Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


              My Latest Articles-->** Microsoft Bing MAP using Javascript
              CLR objects in SQL Server 2005
              Uncommon C# Keywords
              /xml>

              P 1 Reply Last reply
              0
              • A Abhishek Sur

                I think the problem is with your application. It must have doing something wrong... (might be eating up all the application pool memory)... thus throwing this nasty error message. Create a new pool for this application.. or trace your application to see if this error is because of memory related issue or not. :doh:

                Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


                My Latest Articles-->** Microsoft Bing MAP using Javascript
                CLR objects in SQL Server 2005
                Uncommon C# Keywords
                /xml>

                P Offline
                P Offline
                prateekfgiet
                wrote on last edited by
                #7

                pool??? i didn't get pool means. and i have made other virtual directory for web application its also run till 20 to 30 min after restarting server. and web application is running smoothly on local server

                A 1 Reply Last reply
                0
                • P prateekfgiet

                  pool??? i didn't get pool means. and i have made other virtual directory for web application its also run till 20 to 30 min after restarting server. and web application is running smoothly on local server

                  A Offline
                  A Offline
                  Abhishek Sur
                  wrote on last edited by
                  #8

                  Application Pool is a feature in IIS which separates one Application memory with another. Each pool actually creates a separate worker process with its own memory so that each session assigned, server side processing is done in that pool for the web directory. If you create a new application pool, it means you are not sharing the memory with the existing default application pool, therefore probability of getting outofmemory will be lesser. :) You can read this to have more depth on Application Pool : How Application Pool Works[^] :) :rose::thumbsup:

                  Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


                  My Latest Articles-->** Microsoft Bing MAP using Javascript
                  CLR objects in SQL Server 2005
                  Uncommon C# Keywords
                  /xml>

                  P 1 Reply Last reply
                  0
                  • A Abhishek Sur

                    Application Pool is a feature in IIS which separates one Application memory with another. Each pool actually creates a separate worker process with its own memory so that each session assigned, server side processing is done in that pool for the web directory. If you create a new application pool, it means you are not sharing the memory with the existing default application pool, therefore probability of getting outofmemory will be lesser. :) You can read this to have more depth on Application Pool : How Application Pool Works[^] :) :rose::thumbsup:

                    Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.


                    My Latest Articles-->** Microsoft Bing MAP using Javascript
                    CLR objects in SQL Server 2005
                    Uncommon C# Keywords
                    /xml>

                    P Offline
                    P Offline
                    prateekfgiet
                    wrote on last edited by
                    #9

                    perhaps application pool is supported on iis 6.0 while i am using iis 5.1. i have done one more thing start -> programs -> visual studion 2005 -> visual studion tools than type the command aspnet_regiis -i for reparing iis

                    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