locked
Some times "Access Denied" page on default.aspx and others pages? RRS feed

  • Question

  • I am getting "access denied" error some times for "Pages/default.aspx" and some times for different pages too. but if you refresh or type the page is showing properly.

    I am not understanding where is the problem?

    If it is "Access denied". It should show "Access denied" page all the time. But it is not happening that way.


    ItsMeSri MOSS SP2, 3 WEFs, Windows 2008 R2 x64.

    Wednesday, May 9, 2012 4:59 PM

Answers

  • Hi ItsMeSri,

    This may cause by the compilation setting.

    Please check the web.config in your root site of SharePoint Server 2007. The setting is not supported when you set the batch attribute of the compilation element to “true” for the root of the SharePoint Server 2007 Web site. Therefore, the root site of the compilation element in the web.config file should resemble the following element.

    <compilation batch="false" debug="false" />

    Please refer to these link

    http://www.thecodeking.co.uk/2009/09/intermittent-access-denied.html

    http://support.microsoft.com/kb/953459

    Hope that helps.

    Thanks,


    Lambda Zhao

    TechNet Community Support

    Friday, May 11, 2012 3:27 AM