Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - migration from accesss to SQL serv
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

migration from accesss to SQL serv

 Post Reply Post Reply Page  <12
Author
Lazaro View Drop Down
Newbie
Newbie


Joined: 10 June 2003
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote Lazaro Quote  Post ReplyReply Direct Link To This Post Posted: 14 October 2003 at 10:11am

Thanks huwnet, but I can't find it.

But I was able to fix it. I will post what I've done, so the people having this error in the future, will have two opportunitys of finding it:

  • Use DTS to migrate the tables tblAuthor, tblGroups, tblGuests
  • Run the msSQL_server_setup.asp script -it will return some errors, doesn't seem to matter-
  • Use DTS to migrate all tables now -except the tables of the first step-

I don't now if it is a clean solution, but all seems to work fine.

Thank you very much for you hel Borg and huwnet

 



Edited by Lazaro
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 14 October 2003 at 10:50am
Back to Top
otti View Drop Down
Newbie
Newbie
Avatar

Joined: 10 June 2003
Location: Netherlands
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote otti Quote  Post ReplyReply Direct Link To This Post Posted: 02 February 2004 at 10:36am
Originally posted by Lazaro Lazaro wrote:

Thanks huwnet, but I can't find it.

But I was able to fix it. I will post what I've done, so the people having this error in the future, will have two opportunitys of finding it:

  • Use DTS to migrate the tables tblAuthor, tblGroups, tblGuests
  • Run the msSQL_server_setup.asp script -it will return some errors, doesn't seem to matter-
  • Use DTS to migrate all tables now -except the tables of the first step-

I don't now if it is a clean solution, but all seems to work fine.

Thank you very much for you hel Borg and huwnet

I did exactly as you described in your steps I had few errors when running ms_sql setup as you told but during step 3 all tables went well except 2 tables and I got the errors below:

did you get the same problem?? and does it effects the forum or do I miss functionality or performance??

 

 



Edited by otti
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: 02 February 2004 at 2:41pm
If you use dts to copy your tables make sure that you enable Identity insert in the table options.
Back to Top
otti View Drop Down
Newbie
Newbie
Avatar

Joined: 10 June 2003
Location: Netherlands
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote otti Quote  Post ReplyReply Direct Link To This Post Posted: 02 February 2004 at 6:52pm

thnx for you suggestion

It is true I had some tables not enabled identity insert I did that by all tables but by step 3 it still gave the smae errors by the two tables.

ain step 2 I get these errors:

Error Creating the Table tblAuthor (it may already exsist)

Error Creating the Table tblGroup (it may already exsist)

Error Creating the Table tblGuestName (it may already exsist)

Error Creating the Relationship between the tblAuthor and tblGroup tables (it may already exsist)

Error Creating the Relationship between the tblBuddyList and tblAuthor tables (it may already exsist)

Error Creating the Relationship between the tblEmailNotify and tblAuthor tables (it may already exsist)

Error Creating the Relationship between the tblPMMessage and tblAuthor tables (it may already exsist)

Error Creating the Relationship between the tblThread, tblTopic and tblAuthor tables (it may already exsist)

Error entering default values in the Table tblGroup

Error entering default values in the Table tblAuthor

SQL Server database is set up, but with Error!

Back to Top
otti View Drop Down
Newbie
Newbie
Avatar

Joined: 10 June 2003
Location: Netherlands
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote otti Quote  Post ReplyReply Direct Link To This Post Posted: 02 February 2004 at 7:16pm

 After tying 3 times still getting the error in DTS with 2 tables

I tested the forum and everything seems ok but I get followin errors while testing:

insert new user registeration
after filling register form and hit submit I get:

Microsoft OLE DB Provider for SQL Server error '80040e2f'

Cannot insert the value NULL into column 'Author_ID', table 'iforumnl.iforumadmin.tblAuthor'; column does not allow nulls. INSERT fails.

/iforum/register.asp, line 904

 

Delete post:

Active Server Pages error 'ASP 0116'

Missing close of script delimiter

/iforum/delete_post.asp, line 4

The Script block lacks the close of script tag (%>).

in admin section klik on SQL_db statistics

Microsoft OLE DB Provider for SQL Server error '80040e37'

Invalid object name 'master.iforumadmin.spt_values'.

/iforum/admin/sql_server_db_stats.asp, line 24

Information:

MS-SQL 2000 server
hosting: securemate.net
WWF version 7.6
DB name: iforumnl
DB user: iforumadmin (=owner)

Back to Top
otti View Drop Down
Newbie
Newbie
Avatar

Joined: 10 June 2003
Location: Netherlands
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote otti Quote  Post ReplyReply Direct Link To This Post Posted: 04 February 2004 at 6:14am

I solved two of the errors above:

insert registration: error solved
by editing the table design thru enterprise manager. you have to make the column author_id in table author to integer with auto increment = 1

delete error solved
I just uploaded the file delete_post.asp again and it worked. that is strange though because the old file worked fine with the access version !!!

I still have the error of DB statistics (I uploaded the file again but doesn't work)

new error New user
A new registered user gets problems while try to do these things:
- view the profile
- send pm or read pm that new user send
- post new message
and more problems

all those problems seems occurs because of default values in table author like join_date = now() and it should be getdate() for ms-sql
same thing with column no of posts etc...
I fixed the problem with new registration by editing table desing my self,  is there an better way to convert the table author into ms-sql?? instead of having to edit all columns manually??  are there other tables that will need editing??

thanks in advance

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.