473,395 Members | 1,975 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Upsize Database to Sql Server

I am attempting to upsize a 60MB database in Access 2000 to sequel
server using the upsizing wizard. I go thru all the steps that it
mentions in the book, but none of the tables are actually
upsized/converted. The error report says "Table was skipped or export
failed" for every table. When I attempt to add a new table to this
new project, I get an error that says "Table cannot be opened due to a
dropped server connection". I have no idea what that means... Can
anyone help?

Thanks.

Karen
Nov 13 '05 #1
3 5566
First, make sure you have compacted your Access mdb file. If you
haven't done that, your 60 meg file may really be only 20 megs. Either
way, 60 megs isn't a whole lot (even for Access). I have never had much
luck with the upsizing wizard. Your best bet is to use the Data
Transfer Service (DTS) from Sql Server. To get to DTS you can go

Start/Microsoft Sql Server/Import and Export Data

Or you can go straight to Enterprize Manager, select your database,
right-click on the database name (or on any name under the database), on
the context menu select All Tasks/Import data. This will also bring up
DTS. From DTS you can import all your Access tables in one try. But if
you are having import errors, I would do one table at a time.
Hopefully, only one table has the problem. At least with DTS you will
be able to Identify the offending table(s) and should be able to get a
better error message. Usually the problem is an invalid character in a
field, like text in a data field. Access is way more forgiving than Sql
Server because it is not an Enterprise application and you don't have to
worry about propagating errors throughout your system.

Once in DTS, the data source will be an Access MDB. scroll upward until
you find Access. Then locate your mdb file in the Filename window
(works best if the Access mdb is on the same machine as sql Server).
Then click next (assuming you have selected the correct Sql Server DB to
plant your table into - if not, make sure you selected the correct Sql
Server DB from the dropdown list right above the Back button), click
next, click next - here you select the table(s) to import - click in the
check box next to the table name, click next, click finish (and cross
your fingers).

If you get an import error, you will have to go through all the records
in the offending table to identify the invalid piece of data. Use DAO
code and loop through all the fields in each record to find that guy,
usually a typo (1/1/0 instead of 1/1/01) in a data field.

Rich

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 13 '05 #2
kr****@portlite.com (Karen) wrote:
I am attempting to upsize a 60MB database in Access 2000 to sequel
server using the upsizing wizard. I go thru all the steps that it
mentions in the book, but none of the tables are actually
upsized/converted. The error report says "Table was skipped or export
failed" for every table.
The problem is likely dates in Access which don't work in SQL Servers default
smalldatetime sized field.

See my Random Thoughts on SQL Server Upsizing from Microsoft Access Tips page at
http://www.granite.ab.ca/access/sqlserverupsizing.htm for some things to try.

When I attempt to add a new table to this
new project, I get an error that says "Table cannot be opened due to a
dropped server connection". I have no idea what that means... Can
anyone help?


That one's wierd and may be the cause of the original message. Can you access the
SQL Server via the Enterprise Manager and create tables there?

Are you using an MDB or ADP? Presumably an MDB.

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Nov 13 '05 #3
Not sure about the server connection issue but when I was upsizing I had to
massage a lot of the data in the Access tables before it would take all the
records. There were huge issues around dates as any record with date prior
to I believe the year 1743 would cause an error. Obviously you shouldn't
have records with this year on it but in the case of an incorrect data entry
(in my case, a number of records had the year 202 instead of 2002), this can
happen.

I used DTS to do the import rather than the upsize wizard. I also manually
mapped each field to the proper field type in SQL server. I found that some
fields that were set to text in my MDB were being converted to integer in
SQL Server which caused data to be dropped. I also had to modify the field
length in some of my varchar fields in SQL server as the default field
length was too short to accomodate the entire data transfer.

It took me a good handful of attempts before it finally imported correctly.
However the upside was that it did give me a chance to clean up some of the
data in my MDB file.

Hope this helps.

"Karen" <kr****@portlite.com> wrote in message
news:50**************************@posting.google.c om...
I am attempting to upsize a 60MB database in Access 2000 to sequel
server using the upsizing wizard. I go thru all the steps that it
mentions in the book, but none of the tables are actually
upsized/converted. The error report says "Table was skipped or export
failed" for every table. When I attempt to add a new table to this
new project, I get an error that says "Table cannot be opened due to a
dropped server connection". I have no idea what that means... Can
anyone help?

Thanks.

Karen

Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: David C. Barber | last post by:
upsized an MDB to ADP/SQL Server 2000 under Access 2000. All the DAO code that I've changed to ADO code is working fine, HOWEVER the form Record Source itself does not seem willing to return data....
1
by: rcmail14872 | last post by:
I have a standard Access database with standard Forms and it is not split. I am going to run the upsizing wizard to change the data tables to SQL. I also need to split the database and I am going...
1
by: Terry | last post by:
Hello, Has anyone experienced the following problem following an Upsize from Access 97 to SQL 2000 using the MS Upsize Wizard? Or can anyone see what the problem might be. Before Upsize...
32
by: dreadnought8 | last post by:
I have a client who wishes to upsize an A97 system from Jet backend to SQL Server 2000. They have up to 4 users. Will they need to buy the minimal 5-seat SQL Server product, or would it be...
3
by: Holysmokes99 | last post by:
Hello, All I would like to write a VB.Net app that will take an Access 2000 database that has tables, relationships, and data (no queries, forms macros, etc), and create a corresponding SQL...
4
by: R.E.V. | last post by:
Hello I've seen a number of posts concerning the above type of conversion but have not been able to locate anything that gives a clear set of instructions to accomplish this. Here is my...
1
by: Access | last post by:
When I upsized my database to SQL Server it took some of my queries and created functions that return a table out of them. My question is in the past I have always used stored procedures. Is...
4
by: EiEiO | last post by:
Hello, I have a front end back end application created in Access. I need to get it into SQL Server. I used the upsize wizard to create the SQL Server database and the adp front end. The front...
5
by: Yoda | last post by:
Hi, i'm working on a project for convert from a mdb AccessXP(2002) application backend to SQL Server Express 2005. In the past i convertend a similar backend to SQL Server 2000. My problem...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.