Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I deployed a custom application page to central admin. http://msdn.microsoft.com/en-us/library/ff798467.aspx

If I am a farm administrator and the central admin site collection administrator I can access teh page with no problem.

However, if I am a farm administrator but a central admin site collection administrator i get access denied.

how can I fix that?

share|improve this question
add comment

1 Answer

You probably want to give the application page anonymous access. inherit UnsecuredLayoutsPageBase class like the following

public partial class ApplicationPage1 : UnsecuredLayoutsPageBase
{
    protected void Page_Load(object sender, EventArgs e)
    {
    }
}
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.