Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - upgrading to sql server
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

upgrading to sql server

 Post Reply Post Reply Page  12>
Author
netsonic View Drop Down
Newbie
Newbie


Joined: 30 January 2004
Status: Offline
Points: 27
Post Options Post Options   Thanks (0) Thanks(0)   Quote netsonic Quote  Post ReplyReply Direct Link To This Post Topic: upgrading to sql server
    Posted: 23 January 2005 at 11:25am
Hi all

i am upgrading my webwizforum access db to ms sql server version...but i have some problemss...

i directly use dts tool..source my computer access db and destination web host sql server...it successfully convert and upload it but i am not sure if it takes the relations on database to sql server?

also when i look under stored procedures i saw there is no procedures.
so when i try to open connect my forum it says internal server error...

is it because of no stored procedures? or what must i do exactly in order?

please help...

thankk you

Burak
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: 23 January 2005 at 11:29am
with out a more detailed error message.

i can assome its the stored procedures as they aren't in the Access version. you need to run the MSSQL+Server_setup.asp file to create the stored procedures. you will have to edit the file so it wont cause errors, when trying to create the tables, that already will exist.

there is a pinned topic within the support forums about upgrading to SQL from access

what Version are you using (V7.9?)
Back to Top
netsonic View Drop Down
Newbie
Newbie


Joined: 30 January 2004
Status: Offline
Points: 27
Post Options Post Options   Thanks (0) Thanks(0)   Quote netsonic Quote  Post ReplyReply Direct Link To This Post Posted: 23 January 2005 at 11:41am
yes exactly 7.9 version...

i have tried to run
MSSQL+Server_setup.asp on an empty database then used dts tool to convert and upload my access db to sql...these time i had 2 duplicated tables from everyone...so it didnt worked again

these time if i use dts tool first then i run the MSSQL+Server_setup.asp file secondly ....does it work? what you think?

i couldnt try this before asking because my db is very big

thank you

Back to Top
netsonic View Drop Down
Newbie
Newbie


Joined: 30 January 2004
Status: Offline
Points: 27
Post Options Post Options   Thanks (0) Thanks(0)   Quote netsonic Quote  Post ReplyReply Direct Link To This Post Posted: 23 January 2005 at 12:09pm
in an old topic i saw this

 ""If you use dts to copy your tables make sure that you enable Identity insert in the table options.""

where is the table options i cannot find??
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: 23 January 2005 at 1:30pm
im not sure about ""If you use dts to copy your tables make sure that you enable Identity insert in the table options.""

but if importing into a fresh database.

you need to delete the creation of tables, index, etc.. and only leave the stored procedures.
Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 23 January 2005 at 6:32pm
In a Nuthshell, like djair basically said, you create the empty db like you already did, run the setup file to have all tables and sp's. Then you import the tables using DTS in the right order meaning don't contradictforeign keys by i.e. importing forum groups before forums, go from bottom to top. In the DTS Wizard click on the Transform button and select 'Enable Identity Insert' and 'Delete rows in Destination Table' You may have to do more then one pass because DTS 8.0 does not let you sort the tables the way it's necessary.
Back to Top
netsonic View Drop Down
Newbie
Newbie


Joined: 30 January 2004
Status: Offline
Points: 27
Post Options Post Options   Thanks (0) Thanks(0)   Quote netsonic Quote  Post ReplyReply Direct Link To This Post Posted: 23 January 2005 at 11:47pm
Then you import the tables using DTS in the right order meaning don't contradictforeign keys by i.e. importing forum groups before forums, go from bottom to top.

thanks a lot but i didnt understand clearly what you mean here?which tables i must import first?

and also when i tried only the group table to import...ihve choosen identity insert and delete rows etc...it gave this error...

'DELETE statement conflicted with COLUMN REFERENCE constraint tblAUTHORFK_00'





Edited by netsonic - 24 January 2005 at 12:02am
Back to Top
netsonic View Drop Down
Newbie
Newbie


Joined: 30 January 2004
Status: Offline
Points: 27
Post Options Post Options   Thanks (0) Thanks(0)   Quote netsonic Quote  Post ReplyReply Direct Link To This Post Posted: 24 January 2005 at 12:14am
and for the author table it says this error....

'INSERT STATEMENT conflicted with COLUMN FOREIGN KEY constraint tblAUTHOR_FK00

i am doing a common and mistake i think but its the first time i am related with SQL...i am sorry ...thanks for helping mee
Back to Top
 Post Reply Post Reply Page  12>

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.