Microsoft KB Archive/195882

= Guestbook does not include new entries when refreshed =

Article ID: 195882

Article Last Modified on 1/23/2007

-

APPLIES TO


 * Microsoft FrontPage 2000 Standard Edition
 * Microsoft FrontPage 2002 Standard Edition
 * Microsoft Office FrontPage 2003

-



This article was previously published under Q195882



SYMPTOMS
When you browse to a FrontPage guestbook and add an entry, your entry cannot be seen even when you refresh the page. Additionally, on the server, you will see errors that are similar to the following logged in the event log:

Error #20005 Message: Cannot create file "C:\inetpub\wwwroot\_vti_cnf\guestbook.htm"

Microsoft FrontPage Server Extensions:

(OS Error #5 Message: Access is denied.)



CAUSE
The FrontPage guestbook uses an Include component that requires a recalculation of hyperlinks in order to add new entries. This will also fix the error messages mentioned above.



RESOLUTION
Open the Web and on the Tools menu, click Recalculate Hyperlinks.



WORKAROUND
To work around this problem, you can do the following:
 * 1) Open the Web site that needs the guestbook.
 * 2) Click File, and then click New.
 * 3) In the task pane, click More Page Templates.
 * 4) Click the Frames Pages tab, click Horizontal Split, and then click OK.
 * 5) Click New Page in both frame windows.
 * 6) Click File, and then click Save.

You are prompted to save three times. You are prompted one time for the top frame, one time for the bottom frame, and one time for the page that defines the frameset. Name the pages GuestForm.htm, GuestLog.htm, and GuestBook.htm, respectively.
 * 1) Click inside the top frame, click Insert, click Form, and then click Text Area.

Note Change the size and shape as you want.
 * 1) Right-click in the text area, and then click Form Field Properties.
 * 2) In the Name field, type Comment, and then click OK.
 * 3) Right-click in the text area, and then click Form Properties.
 * 4) In the What to do with results box, click Send to File Name.
 * 5) Click Browse, locate and then click the Guestlog.htm file, and then click OK.
 * 6) Click the icon next to the Target Frame field in the Form Properties dialog box.
 * 7) Click the bottom frame, and then click OK.
 * 8) Click Options.
 * 9) Click the File Results tab, click HTML in the File Format box, and then click to clear the Latest results at end check box.
 * 10) Click the Confirmation Page tab, and then click Browse.
 * 11) Locate and click the GuestLog.htm file, and then click OK.
 * 12) Click the Saved Fields tab, delete the B1 field, and then click OK.
 * 13) Click OK to close the Form Properties dialog box.
 * 14) Click OK if you are prompted in a warning that the results may be publicly browsable.

Now when you make an entry in the Guest Book, all you need to do is click the Refresh button to see new posts.



MORE INFORMATION
If you want to automate the process even more, you can add a meta refresh tag to automatically refresh the bottom frame. Care should be applied when you use meta refresh tags as they can cause undue stress on the server.

The tag below can be used to refresh a page every 15 seconds:  This tag goes in the section of the htm page.

Additional query words: front page

Keywords: kbpending kbprb KB195882

-

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

© Microsoft Corporation. All rights reserved.