Advertisement

03.28.2008 at 03:01PM PDT, ID: 23278697
[x]
Attachment Details

Sql 2005 database will not attach to a separate instance of sql 2005 on a different system when copied.

Asked by jwstock in MS SQL Server, SQL Server 2005

Tags: Could not find row in sysindexes for database

I created a DB in SQL server 2005 and need to copy it to another system running SQL server 2005. When I try to attach it to the new server I receive the following error information:

TITLE: Microsoft SQL Server Management Studio
------------------------------

Attach database failed for Server 'JARED'.  (Microsoft.SqlServer.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=9.00.1399.00&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Attach+database+Server&LinkId=20476

------------------------------
ADDITIONAL INFORMATION:

An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)

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

Could not find row in sysindexes for database ID 8, object ID 1, index ID 1. Run DBCC CHECKTABLE on sysindexes.
Could not open new database 'WeatherDataService'. CREATE DATABASE is aborted. (Microsoft SQL Server, Error: 602)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=602&LinkId=20476

I ran DBCC CHECKTABLE and it returned no errors. What am I missing? WHy will this not attacheStart Free Trial
[+][-]03.28.2008 at 03:09PM PDT, ID: 21234458

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: MS SQL Server, SQL Server 2005
Tags: Could not find row in sysindexes for database
Sign Up Now!
Solution Provided By: cmangus
Participating Experts: 2
Solution Grade: A
 
 
[+][-]03.30.2008 at 05:46PM PDT, ID: 21242572

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628