?
Solved

URGENT : Error Attaching databases in SQL Server 2000

Posted on 2003-02-23
5
Medium Priority
?
2,653 Views
Last Modified: 2010-05-18
Will really appreciate any help I can get - urgently. This is the situation : There were problems with our SQL Server and
had to reinstall it. I am trying to attach two databases but am getting an error message -
the same one for both - "Error 5173 : Cannot associate files with
different databases.". Now apparently both the databases initially started off with file names, with updated files
added later on to replace the older ones. When we tried to attach the
older files, they attached beautifully, but the newer files don't. Any
idea how we can fix this problem?
0
Comment
Question by:Roneel
[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
5 Comments
 
LVL 1

Expert Comment

by:ComputerWiz
ID: 8005480
Can you attach them to a different database and then append?
0
 

Accepted Solution

by:
yurrea earned 800 total points
ID: 8007549
Check the filenames of your data and log files when you attach the database. Chances are, there's an existing database with the same name.

Regards,
Yvann
0
 

Expert Comment

by:CleanupPing
ID: 9276426
Roneel:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 34

Expert Comment

by:arbert
ID: 10910573
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.  

I will leave the following recommendation for this question in the Cleanup topic area:

Accept Answer From yurrea


Any objections should be posted here in the next 4 days. After that time, the question will be closed.

Arbert
EE Cleanup Volunteer
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Suggested Courses

764 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