Click here to Skip to main content
15,918,574 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
TITLE: Microsoft SQL Server Management Studio
------------------------------

Attach database failed for Server 'ABHINAV-PC'. (Microsoft.SqlServer.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.4000.0+((KJ_PCU_Main).120628-0827+)&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)

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

The database 'timtableso' cannot be opened because it is version 655. This server supports version 611 and earlier. A downgrade path is not supported.
Could not open new database 'timtableso'. CREATE DATABASE is aborted. (Microsoft SQL Server, Error: 948)

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

------------------------------
BUTTONS:

OK
------------------------------
This error is shown every time when i'm trying to attach a database.
and this database is created in sql server 2008 and i'm also using sql server 2008,still it is giving an error.
Posted

1 solution

It seems your database has been created with SQL Server 2008, but the actual version of SQL Server you are trying to attach it to is SQL Server 2005 (see Internal SQL Server Database Version Numbers[^]).

The help link shows to you may use SQL Server Management Studio 2008 R2 (10.50); are you sure that the instance you are trying to attach your database to is also a SQL Server 2008 R2 one? Because the error message states this instance is a SQL Server 2005 one.
 
Share this answer
 
Comments
Abhinav Chaudhary 7-Mar-14 3:13am    
Sir actually in background database engine is sql server 2005 and management studio is sql server 2008....
phil.o 7-Mar-14 3:37am    
So that is your problem : you are trying to attach a 2008 Database (655) to a 2005 instance (611); that cannot work, obviously. You may try:
- either update your 2005 instance to a 2008 one
- or install another instance on the same server (a 2008 one)
Abhinav Chaudhary 7-Mar-14 9:59am    
hmm....you're right....thank you!
phil.o 7-Mar-14 10:03am    
You're welcome. Good luck!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900