Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Error when Archiving - 80040e14
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

celder
Starting Member

USA
11 Posts

Posted - 01 February 2006 :  09:35:19  Show Profile  Visit celder's Homepage
http://www.odcmp.org/new_forum/

[Snitz Forums 2000 Version 3.4.05], Using Access database,

I was able to archive the first two topics but then I received the following error when I tried to archive the rest of the topics!

All replies to Topics older than 1/1/2006 9:12:04 AM were archived

.

Topic exists, Stats Updated......
.

Topic exists, Stats Updated......
.

Topic exists, Stats Updated......
.

Topic exists, Stats Updated......
.

Topic exists, Stats Updated......
.

Topic exists, Stats Updated......
.

Topic exists, Stats Updated......
.

Topic exists, Stats Updated......
.

Topic exists, Stats Updated......
.

Topic exists, Stats Updated......
.

Topic exists, Stats Updated......
.

Topic exists, Stats Updated......
.

Topic exists, Stats Updated......
.

Topic exists, Stats Updated......
.

Topic exists, Stats Updated......
.

Topic exists, Stats Updated......
.

Topic exists, Stats Updated......
.

Topic exists, Stats Updated......
.

Topic exists, Stats Updated......
Microsoft JET Database Engine error '80040e14'

Syntax error in INSERT INTO statement.

/new_forum/admin_forums.asp, line 577


strsql = "INSERT INTO " & strArchiveTablePrefix & "TOPICS (CAT_ID, FORUM_ID, TOPIC_ID, T_STATUS, T_SUBJECT, T_MESSAGE, T_AUTHOR, T_REPLIES, T_UREPLIES, T_VIEW_COUNT, T_LAST_POST, T_DATE, T_LAST_POSTER, T_IP, T_LAST_POST_AUTHOR, T_LAST_POST_REPLY_ID, T_LAST_EDIT, T_LAST_EDITBY, T_STICKY, T_SIG)"
strsql = strsql & " VALUES (" & strsqlvalues & ")"
'Response.Write strSql
'Response.End
my_conn.execute(strsql),,adCmdText + adExecuteNoRecords

Any help would be appreciated!

Christine

Edited by - celder on 01 February 2006 09:35:51

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 01 February 2006 :  10:36:08  Show Profile  Send ruirib a Yahoo! Message
Can be a bit difficult to track down. Seems like you have a topic that may have some content that causes a syntax error. It would be necessary to find out which one.
Remove the comment from that line Response.Write strSql and tell us what it shows just before the error message is shown again.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

celder
Starting Member

USA
11 Posts

Posted - 01 February 2006 :  11:14:00  Show Profile  Visit celder's Homepage
Here is the error message once I removed the comment!

Topic exists, Stats Updated......
INSERT INTO FORUM_A_TOPICS (CAT_ID, FORUM_ID, TOPIC_ID, T_STATUS, T_SUBJECT, T_MESSAGE, T_AUTHOR, T_REPLIES, T_UREPLIES, T_VIEW_COUNT, T_LAST_POST, T_DATE, T_LAST_POSTER, T_IP, T_LAST_POST_AUTHOR, T_LAST_POST_REPLY_ID, T_LAST_EDIT, T_LAST_EDITBY, T_STICKY, T_SIG) VALUES (1, 1, 26, 0, 'How about M14 gas systems - please', 'Will the gas systems be made available again?', 242, 0, 0, 0, '20020521113526', '20020521113526', 0, '000.000.000.000', , 0, '', NULL, 0, 0 )
Microsoft JET Database Engine error '80040e14'

Syntax error in INSERT INTO statement.

/new_forum/admin_forums.asp, line 577

Thank you very much for your help!
Christine

Edited by - celder on 01 February 2006 11:14:20
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 01 February 2006 :  11:54:58  Show Profile  Send ruirib a Yahoo! Message
Well the problem seems to be caused by the fact that that topic has no info for the last post author in the topic. Why would that happen? Did any mod or admin change that topic, or was a member deleted or something?


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

celder
Starting Member

USA
11 Posts

Posted - 01 February 2006 :  12:23:50  Show Profile  Visit celder's Homepage
I don't believe the member was deleted or the topic was changed......I did a simple reply to the topic above, tried to run the achiving again, and received a few more errors....it looks like all the errors are topics that have no replies. Is there anyway to archive the topics with no replies?

Thanks!

Christine
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 01 February 2006 :  12:27:07  Show Profile  Send ruirib a Yahoo! Message
Somehow your system is misbehaving. That may be due to code changes or database problems. What database are you using?


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

celder
Starting Member

USA
11 Posts

Posted - 01 February 2006 :  12:31:19  Show Profile  Visit celder's Homepage
Microsoft Access .mdb

Christine
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 01 February 2006 :  12:38:33  Show Profile  Send ruirib a Yahoo! Message
Well somehow the code is not working correctly. I can try and check if I have some code to correct that.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

celder
Starting Member

USA
11 Posts

Posted - 01 February 2006 :  13:00:49  Show Profile  Visit celder's Homepage
Thanks! I appreciate any help you can offer!

Here is the error from my last attempt to archive:

.

Topic exists, Stats Updated......
.

Topic exists, Stats Updated......
INSERT INTO FORUM_A_TOPICS (CAT_ID, FORUM_ID, TOPIC_ID, T_STATUS, T_SUBJECT, T_MESSAGE, T_AUTHOR, T_REPLIES, T_UREPLIES, T_VIEW_COUNT, T_LAST_POST, T_DATE, T_LAST_POSTER, T_IP, T_LAST_POST_AUTHOR, T_LAST_POST_REPLY_ID, T_LAST_EDIT, T_LAST_EDITBY, T_STICKY, T_SIG) VALUES (1, 1, 56, 0, '03 springfield', 'what the chances of a o3 receiver failing serial # 234717? ROCK ISLAND', 291, 0, 0, 2, '20020703191336', '20020703191336', 0, '000.000.000.000', , 0, '', NULL, 0, 0 )
Microsoft JET Database Engine error '80040e14'

Syntax error in INSERT INTO statement.

/new_forum/admin_forums.asp, line 577

Christine
Go to Top of Page

modifichicci
Average Member

Italy
787 Posts

Posted - 02 February 2006 :  17:18:04  Show Profile  Visit modifichicci's Homepage
Have you seen if in A_TOPICS the topic is already written?
A problem could be with the keys setted in A_TOPICS, I had to remove index from that table and A_REPLY...
If you try this, remember to do a COPY of your db!!!

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 02 February 2006 :  19:37:01  Show Profile  Send ruirib a Yahoo! Message
Christine, extract the asp file from this zipped file, upload it to your server and execute it. It should fix the faulty topics and allow the archiving operations to proceed.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

celder
Starting Member

USA
11 Posts

Posted - 08 February 2006 :  10:38:46  Show Profile  Visit celder's Homepage
Thanks! That file fixed the error and I was able to archive the Forum topics.

Thanks again!

Christine
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 08 February 2006 :  11:01:58  Show Profile  Send ruirib a Yahoo! Message
You're welcome .


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

tribaliztic
Senior Member

Sweden
1532 Posts

Posted - 01 March 2006 :  11:53:59  Show Profile  Visit tribaliztic's Homepage  Send tribaliztic an ICQ Message
Yes!
Thanks alot, that file (with some alternations) and some other hacks to the db solved my archiving errors!

This is a good week so far, both the archiving AND the search functions are working! =)

/Tribaliztic
- www.gotlandrace.se -
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 01 March 2006 :  12:26:35  Show Profile  Send ruirib a Yahoo! Message
Glad to be of help .


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Comicozzi
Starting Member

49 Posts

Posted - 07 March 2006 :  08:35:47  Show Profile
Is that file usable and recommended for 3.4.03

Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.3 seconds. Powered By: Snitz Forums 2000 Version 3.4.07