Microsoft KB Archive/172287

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 17:15, 20 July 2020 by X010 (talk | contribs) (Text replacement - "<" to "<")
Knowledge Base


ACC97: Error When Clicking Page Link in Report Exported to HTML

Article ID: 172287

Article Last Modified on 1/20/2007



APPLIES TO

  • Microsoft Access 97 Standard Edition
  • Microsoft FrontPage 97 Standard Edition
  • Microsoft FrontPage 1.0 Standard Edition
  • Microsoft FrontPage 1.0a
  • Microsoft FrontPage 1.1 Standard Edition
  • Microsoft FrontPage 1.1a



This article was previously published under Q172287

Moderate: Requires basic macro, coding, and interoperability skills.


SYMPTOMS

When you export a report to HTML format, and then view the report in your Web browser, you may receive one of the following error messages when you click on one of the page links:

HTTP/1.0 500 Server Error (161)

   -or-
                

HTTP/1.0 400 Bad Request

CAUSE

You edited a template in Microsoft FrontPage, and then you used that template when you exported the report to HTML.

RESOLUTION

After you have edited the template in Microsoft FrontPage, open it in a text editor, such as Notepad. In the tokens that create the navigation links, replace any instance of the string "%3c" with the character "<"; replace any instance of the string "%3e" with the character ">" as well. For example, change

<a href="/?scid=%253c!--accesstemplate_firstpage--%253e">First</a>
<a href="/?scid=%253c!--accesstemplate_previouspage--%253e">Previous</a>
<a href="/?scid=%253c!--accesstemplate_nextpage--%253e">Next</a>
<a href="/?scid=%253c!--accesstemplate_lastpage--%253e">Last</a>



to:

<a href = "