Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - New Topic ERROR pls help
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

New Topic ERROR pls help

 Post Reply Post Reply
Author
MnGMaster View Drop Down
Newbie
Newbie
Avatar

Joined: 30 October 2006
Location: Turkey
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote MnGMaster Quote  Post ReplyReply Direct Link To This Post Topic: New Topic ERROR pls help
    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...
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
myhyipforum.com View Drop Down
Newbie
Newbie
Avatar

Joined: 13 April 2006
Location: East Timor
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote myhyipforum.com Quote  Post ReplyReply Direct Link To This Post 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



Edited by myhyipforum.com - 03 November 2006 at 2:40am
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.