Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Guestbook does not include new entries when refreshed


View products that this article applies to.

This article was previously published under Q195882

↑ Back to the top


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.)

↑ Back to the top


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.

↑ Back to the top


Resolution

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

↑ Back to the top


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.
  7. Click inside the top frame, click Insert, click Form, and then click Text Area.

    Note Change the size and shape as you want.
  8. Right-click in the text area, and then click Form Field Properties.
  9. In the Name field, type Comment, and then click OK.
  10. Right-click in the text area, and then click Form Properties.
  11. In the What to do with results box, click Send to File Name.
  12. Click Browse, locate and then click the Guestlog.htm file, and then click OK.
  13. Click the icon next to the Target Frame field in the Form Properties dialog box.
  14. Click the bottom frame, and then click OK.
  15. Click Options.
  16. Click the File Results tab, click HTML in the File Format box, and then click to clear the Latest results at end check box.
  17. Click the Confirmation Page tab, and then click Browse.
  18. Locate and click the GuestLog.htm file, and then click OK.
  19. Click the Saved Fields tab, delete the B1 field, and then click OK.
  20. Click OK to close the Form Properties dialog box.
  21. 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.

↑ Back to the top


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:
   <meta http-equiv="refresh" content="15"> 
				
This tag goes in the <head> section of the htm page.

↑ Back to the top


Keywords: kbpending, kbprb, KB195882

↑ Back to the top

Article Info
Article ID : 195882
Revision : 5
Created on : 1/23/2007
Published on : 1/23/2007
Exists online : False
Views : 619