"Access Denied" Error Message Occurs When Trying to View Publishing Reports (256631)



The information in this article applies to:

  • Microsoft Site Server 3.0

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 <server>/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 ("<B>" & g_msgLogonFail & "</B><P>")
            Response.End
       End if 
    %>
    						

Modification Type:MajorLast Reviewed:3/12/2000
Keywords:kbprb KB256631