Microsoft KB Archive/256631

= "Access Denied" Error Message Occurs When Trying to View Publishing Reports =

Article ID: 256631

Article Last Modified on 3/12/2000

-

APPLIES TO


 * Microsoft Site Server 3.0 Standard Edition

-



This article was previously published under Q256631



SYMPTOMS
When you try to view Publishing Reports from either the Microsoft Management Console (MMC) or the URL to /SiteServer/Publishing/Report.asp, you may receive an "Access Denied" error message that appears as HTML text in the browser window.



CAUSE
This error message can occur if the Directory Security for the /SiteServer/Publishing virtual directory has been set to only allow Anonymous access.



WORKAROUND
Use one of the following methods to work around this issue:  Allow Basic Authentication or Windows NT Challenge Response to the /Siteserver/Publishing virtual directory. -OR-

  If you want to keep Anonymous access as the only authentication method, edit the Report.asp page located in the Microsoft Site Server/SiteServer/Publishing directory by removing or commenting out the lines of code that check for user authentication. These lines of code are located at the beginning of the Report.asp page in the "forcing authentication of the client" section, as follows: <% '=========================================================  ' Forcing authentication of the client. '=========================================================  If (Len(Request.ServerVariables("REMOTE_USER")) = 0 ) Then Response.Status = "401 Unauthorized" Response.Write ("" & g_msgLogonFail & "") Response.End End if %> 

Keywords: kbprb KB256631

-

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

© Microsoft Corporation. All rights reserved.