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: Database: MS SQL Server
 MSSQL - MSSQL Migration
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 13 February 2008 :  09:16:04  Show Profile  Visit D3mon's Homepage
Hi all,

Have just moved hosts and copied my MSSQL database from old host server to new host with DTSWizard. All seems to have transferred OK, but I'm left with an error when I or my members try to post:

Cannot insert the value NULL into column 'TOPIC_ID'.../forums/post_info.asp, line 841


A bit of reading suggests that it might be a permissions/user setup issue, but I'm a bit confused as to why its trying to insert a NULL into an ID field...

As a last resort option, I could ask for a backup then restore it to my new hosts, but it seems so close as it is...


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"

HuwR
Forum Admin

United Kingdom
20600 Posts

Posted - 13 February 2008 :  09:48:48  Show Profile  Visit HuwR's Homepage
you should create the tables using Snitz first, then do a transfer with DTS (enabling identity insert), otherwise it does not create the identity fields correctly
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 13 February 2008 :  09:52:02  Show Profile  Visit D3mon's Homepage
Thanks HuwR I'll give it a go. :)


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"

Edited by - D3mon on 13 February 2008 09:52:13
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 13 February 2008 :  13:13:44  Show Profile  Visit D3mon's Homepage
That worked great, thanks. I had some trouble with a couple of mods that I'd installed, which had added extra fields into the source database tables, but once I'd updated the fields in the target tables, it all copied across nicely.


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"
Go to Top of Page
  Previous Topic Topic Next Topic  
 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.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07