Print Page | Close Window

Problem: Guest post error

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=17052
Printed Date: 16 April 2026 at 6:30am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Problem: Guest post error
Posted By: Per..
Subject: Problem: Guest post error
Date Posted: 27 October 2005 at 2:09pm
I am running Wiz forum 7.9. MS Access?
 
I have a forum in which I would like all users to write.
But when a guest try to post he get this error:
 
*********************
Microsoft JET Database Engine error '80040e21'

You cannot add or change a record because a related record is required in table 'tblAuthor'.

/post_message.asp, line 756

***********
I wonder if itīs becuace my guest has author_ID 134 in database
I hope someone have the answer



Replies:
Posted By: WebWiz-Bruce
Date Posted: 27 October 2005 at 2:13pm
When a guest posts they use the built in guest account.

The built in guest account needs to have the Author_ID of 2 in the database, and the admin Author_ID of 1

If you change either of these your forum will not only be insecure, but fail to run correctly.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Per..
Date Posted: 27 October 2005 at 2:35pm
Thanks for the quick response!
 
hmm.... cant I just replace user_id=2 to user_id=134?


Posted By: aks427
Date Posted: 27 October 2005 at 4:27pm
If you do, you will have to change a lot of code.  The guest account ID is hardcoded into the forum.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net