Solved

Can't Attach SQL 2000 Database to a 2005 Instance, but same database attaches to 2008r2

Posted on 2010-09-02
8
376 Views
Last Modified: 2012-05-10
I have a SQL Server database that will not attach or for that matter DTS over to a new Database container on SQL 2005. However, the same database attaches without a peep in SQL 2008 R2 Express.

Is there some configuration in SQL 2005 that I am unaware of ?
0
Comment
Question by:shelbyinfotech
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 59

Expert Comment

by:Kevin Cross
ID: 33592975
What is the original version of the SQL 2000 database?  What is the size of the database being moved?

What version of SQL Server 2005 are you moving to?
Keep in mind that SQL 2005 Express has 2GB database limit whereas SQL 2008 R2 is 10GB.  Therefore, if the database came from SQL 2000 standard for example and is greater than 2GB in size, then you could see the failure you are seeing but yet have success going to SQL 2008 R2 Express.
0
 
LVL 42

Expert Comment

by:Eugene Z
ID: 33592981
you should not have problem to attach lower 2000 to 2005 or 2008
but can not 2008 to 2000 or 2005
or 2005 to 2000
---
also if it is sql 2005 express  - it has 4gb db limit
2008r2 express 10gb db limit
---anyway what is your sql serve 2005 edition ?
and how big db?
also what was error?
--
dts migration is differnt topic: you can :
http://blogs.msdn.com/b/psssql/archive/2009/02/19/how-to-copy-dts-2000-packages-between-servers-and-from-sql-2000-to-sql-2005-and-sql-2008.aspx 
0
 
LVL 59

Expert Comment

by:Kevin Cross
ID: 33592997
Yes, 4GB limit -- sorry!
0
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 
LVL 5

Expert Comment

by:ThakurVinay
ID: 33594397
what error are you getting?

as EugeneZ says its possible to attache lover version to upper version.

HTh
Vinay
0
 

Author Comment

by:shelbyinfotech
ID: 33595220
The database is only 310 megabytes, the 2005 Server is the full edition


.mdf version is 661, your db supports the version 655
0
 
LVL 42

Accepted Solution

by:
Eugene Z earned 500 total points
ID: 33595422
it when you try to attach? corrrect
means- it is not for 2005 sql server anymore just for 2008
---
if you need it back as 2005 > you need to create empy database and pump data via SSIS from sql2008; or to fund original sql2000 database.
--do you still have running sql2000 server with the database?
if yes - > try detach it (or stop sql200 service) and copy mdf\ldf files somewhere to sql2005 directory and try to attach..
---
also make sure - you do not attach already upgraded sql2008 mdf\ldf  files (check location)
0
 

Author Comment

by:shelbyinfotech
ID: 33597463
Eugene ...the db that i was attempting to attach was attached to sql 2000 ! That why this makes no sense
0
 

Author Closing Comment

by:shelbyinfotech
ID: 33597602
You were right ..the copy HAD been previously mounted on 2008
0

Featured Post

Backup Solution for AWS

Read about how CloudBerry Backup fully integrates your backups with Amazon S3 and Amazon Glacier to provide military-grade encryption and dramatically cut storage costs on any platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question