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
 Step by Step Upgrade from Access to MS SQL
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 5

Mr Pink
Junior Member

United Kingdom
387 Posts

Posted - 19 May 2008 :  16:18:27  Show Profile  Visit Mr Pink's Homepage  Send Mr Pink an AOL message
I've been playing around with a test forum for the past few days and I'm not getting very far with converting my Access to MSSql.

I do not have SQL Enterprise Server Manager so can't follow the steps listed in this guide.

I do have SQL Server Management Studio Express, DTSWizard and Microsoft SQL Server Migration Assistant for Access.

After trying variations of the above, some of the tables are uploaded to the SQL server but some always come up with errors. FORUM_A_TOPICS and FORUM_FORUM are always empty after trying a conversion.

If anyone knows of a step by step guide for one of the above packages I would be grateful for some help.<

Martin
Leyland Forum Leyland Lancashire UK
Go to Top of Page

pierretopping
Junior Member

United Kingdom
224 Posts

Posted - 03 January 2009 :  13:09:43  Show Profile  Visit pierretopping's Homepage
Hello All,

I've a small problem I hope you can help with. I'm upgrading from Access to MS-SQL 2000, and I've followed the guide above, but when I enter setup.asp?RC=5, its saying at the top "Database Type: Microsoft Access", and not MS-SQL ? I have changed the config.asp, and I've also checked it connects by doing a ODBC connect from another PC using the news user in the database and it all looks good ?

If I do go ahead and enter the administrator user name and password, it tells me that there were 13 critical errors

Any idea where I have made the mistake ?


<
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 03 January 2009 :  13:16:12  Show Profile  Send ruirib a Yahoo! Message
Make sure you have set the correct strDbType in config.asp.<


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

pierretopping
Junior Member

United Kingdom
224 Posts

Posted - 03 January 2009 :  14:09:48  Show Profile  Visit pierretopping's Homepage
Hi, I think I've got the right string, and if I use the wrong password, it does not connect (so I'm guessing its write..).

I'm using the below....

strConnString = "driver={SQL Server};server=localhost<
Go to Top of Page

pierretopping
Junior Member

United Kingdom
224 Posts

Posted - 03 January 2009 :  14:14:09  Show Profile  Visit pierretopping's Homepage
Sorry, you are right :o)

I left the strDBtype = access and not sqlserver

Sorry, you people are great :o)<

Edited by - pierretopping on 03 January 2009 14:14:19
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 03 January 2009 :  14:15:45  Show Profile  Send ruirib a Yahoo! Message
Glad you sorted it .<


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

stratacafe
Starting Member

Canada
44 Posts

Posted - 18 February 2009 :  21:44:58  Show Profile  Visit stratacafe's Homepage
Hi all,

Hopefully I can sort through my remaining issue here =)

I've done all the steps up to running setup.asp to build all the tables. So far so good.

I cannot import my Access database. I've tried to install the DTS tool, no errors, just no install. I've tried to install the "toolkit", but it said I already had everything installed from that package.

My core problem right now is that I don't have an "import" command anywhere to get my MDB into the SQL 2005 Express Management app.

Is there another way I could turn the MDB into maybe a SQL .BAK file so I could "restore" the database, rather than importing it?<
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 19 February 2009 :  08:41:29  Show Profile  Send ruirib a Yahoo! Message
No, afraid that's not an option.<


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

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 19 February 2009 :  10:53:35  Show Profile  Visit HuwR's Homepage
there is an access to sql express migration tool that should work.

SQL Server Migration Assistant for Access<
Go to Top of Page

stratacafe
Starting Member

Canada
44 Posts

Posted - 19 February 2009 :  16:54:16  Show Profile  Visit stratacafe's Homepage
Definitely has some issues to sort out after that, but that Migration assistant did the trick.

Advertise that link, that was beautiful compared to the crap I've been dealing with trying to get the import command into the SQL management tool.

Thank you!<
Go to Top of Page

stratacafe
Starting Member

Canada
44 Posts

Posted - 19 February 2009 :  20:25:06  Show Profile  Visit stratacafe's Homepage
I'm having some issues which seem to indicate that some fields which were nullable are no longer.

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

The INSERT statement conflicted with the CHECK constraint "SSMA_CC$FORUM_MEMBERS_PENDING$M_HOMEPAGE$disallow_zero_length". The conflict occurred in database "michaell_snitzforums", table "snitzadmin.FORUM_MEMBERS_PENDING", column 'M_HOMEPAGE'.

/forum/register.asp, line 599
--

This is an error from the new member registration page.

Is there a list somewhere of what fields should be nullable?

Thanks,

Michael<
Go to Top of Page

stratacafe
Starting Member

Canada
44 Posts

Posted - 20 February 2009 :  02:32:43  Show Profile  Visit stratacafe's Homepage
*sigh*

It looks like the migration assistant didn't respect the null status of any field in any table (other than auto ids).

Can I copy the raw SQL code from the same table in a newly created SQL database to the existing database without altering the content of that table?<
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 20 February 2009 :  03:17:20  Show Profile  Visit HuwR's Homepage
just remove the constraints, if you can access your db via enterprise manager then just set them to allow null (they should be anyway)<
Go to Top of Page

NWBA
Starting Member

2 Posts

Posted - 05 August 2009 :  10:11:35  Show Profile
After reading through the various posts regarding migrating from access, I request some confirmation of the steps I took.

I used the SQL Server Migration Assistant to create the MSSQL database.

It added constraints to some of the fields to disallow zero length which are not in the constraints if you let setup create the tables. I deleted these.

Everything is working okay so far in my testing. But this is only local testing with no volume or multiple users.

I am a little confused by reading some posts that indicate that setup needs to create the tables.

Any confirmation would be appreciated that this will work or if there are some mine fields in the future.

Thanks
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 06 August 2009 :  05:42:12  Show Profile  Send ruirib a Yahoo! Message
The Migration assistant has evolved and I think it doesn't create the same type of errors it did before. However, the Access database doesn't have the indexes that SQL Server requires, so I still think it's wise to create the database before moving the data, in order to avoid future problems. I can't also state beyond doubt that the structure is properly created.

That being the case, we still advise for the table structure be created by the Snitz code.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page
Page: of 5 Previous Topic Topic Next Topic  
Previous Page
 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.15 seconds. Powered By: Snitz Forums 2000 Version 3.4.07