Print Page | Close Window

migration from accesss to SQL serv

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=6395
Printed Date: 07 April 2026 at 9:59pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: migration from accesss to SQL serv
Posted By: Lazaro
Subject: migration from accesss to SQL serv
Date Posted: 14 October 2003 at 3:33am

 

Hi I was runnigh WWF 7 Access version, and I've tryed updating to WWF 7.5 SQL server.

So I've migrated my old database access, and when i run my new SQL server forum all seems to go ok until I try to post a new message. The I get a quite strange error

ADODB.Recordset (0x800A0CB3)

Current Recordset does not support updating. This may be a limitation of the provider, or of the selected locktype.
/forum/post_message.asp, line línea 746

I Don't know wich can be the error. Any Suggestions?

 



-------------

http://www.freesoc.com/ - Sociología y Política



Replies:
Posted By: WebWiz-Bruce
Date Posted: 14 October 2003 at 3:41am
The SQL server and access versions are slightly different, make sure that you have set the database type to SQL srever and have also created all the stoored procedures required for the SQL server version on teh SQL server.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Lazaro
Date Posted: 14 October 2003 at 3:56am

I have done both things (I've also execite de MSsql_server_setup.asp)

I can browse th forum , but when trying to post it gives me this error.

I will try to convert my database again and will tell you

Thanks!



-------------

http://www.freesoc.com/ - Sociología y Política


Posted By: WebWiz-Bruce
Date Posted: 14 October 2003 at 4:06am
Also try re-uploading the files again as you may have a corrupted file.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Lazaro
Date Posted: 14 October 2003 at 4:34am

 

Thanks Borg I also had tryed this.

Now I have made some progress:

what i did was to migrate the database and then execute Mssql_server_setup.

Now. I have firstly executed the MSsql_server_setup and after this I migrated the database. It gave some errors, but Now I can post, but the problem is that the users were not migrated; so there are no users in the forum and i can not log in.

Any Idea of how to migrate users and to go trough the error!

Thanks again!



-------------

http://www.freesoc.com/ - Sociología y Política


Posted By: WebWiz-Bruce
Date Posted: 14 October 2003 at 5:46am
Do a search of the forum to find how othere users have done this.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Lazaro
Date Posted: 14 October 2003 at 6:53am

Thanks again Borg;

But I am not finding anything about this issue with the search function even when I have tryed it for several minutes! - maybe due to my bad english and my vocabulary limitations -

I will continue trying to find something about this issue; but meanwhile could someone give a link to the topic in wich this issue is solutioned - I swear you that I've tryed hard but i can't findit -

Thans a lot!



-------------

http://www.freesoc.com/ - Sociología y Política


Posted By: huwnet
Date Posted: 14 October 2003 at 8:02am
Try going to the next page of posts. I know there are some about what you want there. One of them has a link about how to do it.


Posted By: Lazaro
Date 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

 



-------------

http://www.freesoc.com/ - Sociología y Política


Posted By: WebWiz-Bruce
Date Posted: 14 October 2003 at 10:50am
This search forun a number:-
%0Ahttp://forums.webwiz.net/search.asp?KW=sql+access&SM=1&SI=PT&FM=1&OB=1&Submit=Start+Search -
http://forums.webwiz.net/search.asp?KW=sql+access &SM=1&SI=PT&FM=1&OB=1&Submit=Start+Searc h


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: otti
Date 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??

 

 



Posted By: michael
Date 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.

-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: otti
Date 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!



Posted By: otti
Date 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)



Posted By: otti
Date 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




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net