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
 back to the beginning
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

caxps
Starting Member

35 Posts

Posted - 05 October 2005 :  15:26:13  Show Profile  Visit caxps's Homepage
Looking at the instructions for access to sql... The first bit do i have to run snitz locally to create to tables in the database? Do i create the database in access and connect to it locally with dsnless connection and then run setup.asp?RC5


1. Create, or have your host create a blank database for you.
2. Run setup.asp?RC=5 to create the Snitz base tables in the database.
3. If you have mods installed, run mod setup for each of your mods, so that the necessary changes and additions are done in the database.
4. Use DTS to transfer the data from your Access database to your SQL Server database. You should make sure that for each table the DTS transform column is configured so that any existing table data is deleted and enable identity insert is checked.

For this last step you'll need to use SQL Server's Enterprise Manager or have someone who does it for you (maybe your host, but make sure the settings I described here are used).

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 05 October 2005 :  16:23:18  Show Profile  Send ruirib a Yahoo! Message
The database to be created is a SQL Server database.


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

caxps
Starting Member

35 Posts

Posted - 05 October 2005 :  16:45:58  Show Profile  Visit caxps's Homepage
so i create a blank sql database via EM. Then use a dsnless connection to connect to the db and then run that setup command via the browser?
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 05 October 2005 :  17:15:27  Show Profile  Send ruirib a Yahoo! Message
Yes.


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

caxps
Starting Member

35 Posts

Posted - 06 October 2005 :  15:22:13  Show Profile  Visit caxps's Homepage
i have started the process in that i've created the sql db and successfully created the tables etc. i have started to transfer the date via EM but I am getting some errors. "copy data from FORUM_CONFIG_NEW, FORUM_GROUP_NAMES FORUM_MEMBERS" so far.

Any particular reasons?
Go to Top of Page

caxps
Starting Member

35 Posts

Posted - 06 October 2005 :  15:28:04  Show Profile  Visit caxps's Homepage
message is violation of primary key constraint 'FORUM_SnitzC88'. Can not insert duplicate key in object 'FORUM_TOTALS'

The errors are meaning that the forum has all of the categories but no topics.

Edited by - caxps on 07 October 2005 02:47:41
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 07 October 2005 :  07:03:27  Show Profile  Send ruirib a Yahoo! Message
Follow the recommendations on the topic on Access to MS SQL migration, regarding transform columns.


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

caxps
Starting Member

35 Posts

Posted - 07 October 2005 :  07:56:42  Show Profile  Visit caxps's Homepage
are you referring to step 4. Also I'm using MS Sql not My SQL? The programme mention is called Phpmyadmin where as I'm using asp etc.

Edited by - caxps on 07 October 2005 07:58:05
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 07 October 2005 :  09:05:30  Show Profile  Send ruirib a Yahoo! Message
Sorry, I meant MS SQL Server. I corrected the previous post. I was referring precisely to step 4.


Snitz 3.4 Readme | Like the support? Support Snitz too
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.64 seconds. Powered By: Snitz Forums 2000 Version 3.4.07