Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Cdate error after migration
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Cdate error after migration

 Post Reply Post Reply Page  <1234>
Author
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: 13 February 2005 at 4:20pm
no problem

1 Setting default values

- open the database in Access
- then open the tables in design view
then in each row/field you see a name,field type - comment

if you click the row in the bottom section you see lots of values /options.

make sure the one that says default value has '0' for the number of posts (this is for the threads table)

2. to Compact and repair

ope n the database in access, then on the tools menu you will see database utilities i think

click that and select Compact & Repair"


trying a new database

upload a new blank database withithe same name as the one on the server , this will replace the existing one.. then try posting a message, if it works you know its the original database thats the problem.

make sure you back up the original database before uplopading a blank one.
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2005 at 4:32pm
then in each row/field you see a name,field type - comment
 
So you're saying that I should replace any value in those fields with the word: commentQuestion or a dash before whatever comment is there?
 
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: 13 February 2005 at 4:39pm
no.. ill explain thats was just saying what the collumn names where

in the above screen shot you see te section called general and one set back saying lookup?

if you make sure the general pannel is in front as it is in the screen shot.

then in the list below you should see default value .

--> where it says field name at the top of the screen shot.. there is a list of fields (PM_ID, Author_ID....)

click on PM_Message_Date, then in the section i mentioned above about the defaul value see if it s default value is set to NOW()

then use the same method to check the post count within the tblauthor table, the default value should be 0

also check that the join dates default value  is set to NOW()



after another way to check is to open the table in record view so you can see the records.

thehn see what value is in those fields mentioned if there is nothing at all in them for any record, oralso the very bottom one as the last one is the default values per a new record.
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2005 at 5:04pm
Do I do this for every single table or just for the ones that you mentioned (PM_Message_Date, join dates, post count within the tblauthor table)?
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: 13 February 2005 at 5:08pm
you need to make sure all tables default values are correct, you wiull have to compare them to a default/blank database.
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2005 at 5:11pm
Ok I can't do this Confused I will try to go back to MS SQL, my friend has an MS SQL db. I will keep you informed if I get any errors while doing that.
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: 13 February 2005 at 5:14pm
if you can are able to / security i mean . you can send a copy of the database to me at aaron [@] emagine-hosts.com and i wil download and look tomorrow.?
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2005 at 5:18pm
Ok but before we do this, do you think I should go back to MS SQL as I have about 1000 forum mebers? By the way, I can zip the db and upload it on my webspace and you can download it from there.

Edited by Info_Tech - 13 February 2005 at 5:45pm
Back to Top
 Post Reply Post Reply Page  <1234>

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.