Microsoft KB Archive/929264

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

Article ID: 929264

Article Last Modified on 12/29/2006

-

APPLIES TO


 * Microsoft Office SharePoint Portal Server 2003
 * Microsoft Windows SharePoint Services

-



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\ \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 == &quot;&quot;)

{

%>

<%

}

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. 

Keywords: kbexpertiseinter kbtshoot kbprb KB929264

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.