Microsoft Knowledge Base Email Alertz

The logon dialog box reappears when you try to log on to a SharePoint Portal Server 2003 Web site as an unauthorized user

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 929264 - Last Review: December 29, 2006 - Revision: 1.4

The logon dialog box reappears when you try to log on to a SharePoint Portal Server 2003 Web site as an unauthorized user

SYMPTOMS

When you try to log on to a Microsoft Office SharePoint Portal Service 2003 Web site as an unauthorized user, the logon dialog box reappears.

Note This occurs after every time that you enter your logon information and then press ENTER.

Additionally, you cannot obtain the Reqacc.aspx page to send a request for access to the site owner. This problem occurs after you configure the AlternateHeader page in the Onet.xml file to customize the site definition.

CAUSE

This problem occurs because unauthorized users do not have permission to execute dynamic content in the AlternateHeader page. When you try to access the customized site as an unauthorized user, you are redirected to the Reqacc.aspx page. The Reqacc.aspx page executes the AlternateHeader page. The Reqacc.aspx page contains dynamic content.

WORKAROUND

To work around this problem, use one of the following methods:
  • Remove the AlternateHeader (MyHeader.aspx) setting that was configured in the Onet.xml file. The Onet.xml file is in the following location:
    %programfiles%\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\1033\Site_Definition_Folder\XML
    Note If you do this, you may lose the functionality of the AlternateHeader page.
  • Remove dynamic content, such as Navigation controls, from the AlternateHeader page. If you have only static content, such as images and links, the Reqacc.aspx page loads correctly.
  • Remove the following lines from the Reqacc.aspx page.

    Note The Reqacc.aspx page is in the following location:
    %programfiles%\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\LAYOUTS\1033
    <%
    
    string alternateHeader = SPControl.GetContextWeb(Context).AlternateHeader;
    
    if (alternateHeader == null || alternateHeader == "")
    
    {
    
    %>
    
    <%
    
    }
    
    else
    
    {
    
        Server.Execute(alternateHeader);
    
    }
    
    %>
    
    Note Microsoft does not support modifying the default files, such as the Reqacc.aspx.

    Note After you do this, you will be able to see the Reqacc.aspx page. When you click SendRequest to send an access request to the site owner, the site owner will receive the e-mail message. However, you will not be redirected to a confirmation page.

APPLIES TO
  • Microsoft Office SharePoint Portal Server 2003
Keywords: 
kbexpertiseinter kbtshoot kbprb KB929264
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate