Ask a questionAsk a question
 

AnswerCannot Access ASPX Pages in Layouts Folder

  • Tuesday, November 03, 2009 10:07 AMSai Abhilash Manikonda Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi all :

    I want to access the ASPX Pages under C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS Directory via a browser but i am getting 403 error.

    What might be the error ? Any Help ?

Answers

All Replies

  • Tuesday, November 03, 2009 10:23 AMMike Walsh MVPMVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    You access them via their URL.

    http://servername/ _layouts/???.aspx

    You need administrator rights in most cases.

    FAQ sites: (SP 2010) http://wssv4faq.mindsharp.com; (v3) http://wssv3faq.mindsharp.com and (WSS 2.0) http://wssv2faq.mindsharp.com
    Complete Book Lists (incl. foreign language) on each site.
  • Tuesday, November 03, 2009 10:36 AMSai Abhilash Manikonda Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I am the Admin for my Machine...But Still i could not access the page..!
  • Tuesday, November 03, 2009 6:46 PMAvinashKT Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi Abhilash,

    Here in SharePoint, you need to be authorized user of site (not only the machine) to access layout pages via browser.

    I would suggest that you please google about application and site pages, these would help in understanding the various types of pages in sharepoint and the way to use/manage it.

    Regards, Avinash | avinashkt.blogspot.com
  • Tuesday, November 03, 2009 9:38 PMSreenivas Gudipati Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Hello Sai,

    Has your ASPX page contains the code behind ? If so, where did you deploy... ?


    sreenivas
  • Tuesday, November 03, 2009 11:42 PMSundar Narasiman MVPMVP, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    http 403 error is forbiddent. It means the url that you are using in browser to access the application pages does not have valid characters

    Like mike walsh mentioned, check the following url pattern to access your application pages.
    http://servername/ _layouts/???.aspx


    Once your url is right and if you don't have the access to the application page, you'll get access defined. Then you can sign-in and supply the credential that has access to the application page
    Sundar Narasiman