Print Page | Close Window

New Topic ERROR pls help

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=21785
Printed Date: 28 March 2026 at 5:59pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: New Topic ERROR pls help
Posted By: MnGMaster
Subject: New Topic ERROR pls help
Date Posted: 30 October 2006 at 11:25am

Server Error in Forum Application
An error has occured while writing to the database.
Please contact the forum administrator.

Support Error Code:- err_Access_save_new_topic_data
File Name:- new_post.asp

Error details:-
Microsoft JET Database Engine
The changes you requested to the table were not successful because they would create duplicate values in the index, primary key, or relationship. Change the data in the field or fields that contain duplicate data, remove the index, or redefine the index to permit duplicate entries and try again.

i dont open only new topic... Pls help me...



Replies:
Posted By: dj air
Date Posted: 30 October 2006 at 1:09pm
this was posted in the wrong forum,
 
(MOVED)
 
 
have you edited the database in any way,
 
also is this an upgraded version because it maybe that, if this is a fresh install try re installing the software on a new database, sounds like maybe corrupt or not set up correctly


Posted By: myhyipforum.com
Date Posted: 03 November 2006 at 2:32am
This error suggests that your Access database has become corrupted.

Access is a flat desktop file and not a proper database, so often becomes corrupted when used as a forum backend as it can not cope with the amount of reads and writes performed on the database unless.

If you have more than a handful of visitors a day you should look at using mySQL or SQL Server as the database to prevent these types of issues from happening.

As a temporary measure to get the database going, download it, open it in MS Access and select 'compact and repair database' from the Tools menu. This will hopefully fix the database.

http://forums.webwiz.net/forum_posts.asp?TID=20571



For MS Access:
1. Add 1 thread with your script
2. Get the thread_ID
3. Paste it to started_thread_ID and last_thread_ID on tblTopic


Script Note:
Line 767
new_post.asp


'******************************************
'*** Save new topic subject ***
'******************************************

'Set the Lock Type for the records so that the record set is only locked when it is updated
.LockType = 2




on other line

Save new Poll
Save poll choices
Save New Post
Update Email Notify if this is a reply

'Set the Lock Type for the records so that the record set is only locked when it is updated
.LockType = 3



-------------
- READ FIRST http://webwizguide.info/bbs/forum_posts.asp?TID=22292 - Guide to Modifications .. Removing Ads ..



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