Click here to Skip to main content
15,885,915 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello all.
I want attach my data base in SQL server but it give me error.

ERROR is :

Attach database failed for Server 'DIAMOND'. (Microsoft.SqlServer.Smo)
ADDITIONAL INFORMATION:
An exception occurred while executing a Transact-SQL statement or batch. (Microsoft.SqlServer.ConnectionInfo)
The database 'STD' 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 'STD'. CREATE DATABASE is aborted. (Microsoft SQL Server, Error: 948)


my data base name is :STD
ver for SQL server is :2005 STANDARD.
please help me
tanks
Posted

The error is pretty clear.......
The database you are trying to attach is of a higher version (maybe SQL 2008)
and you server is 2005 which is a lower version
so the error is shown;


You can do the following.......

1)Install higher version of Sql Server(Eg 2008)
OR
2)Use queries to create the database in your own server(pretty tedious if you need data too)



Best of luck.........
 
Share this answer
 
Comments
P.Salini 5-May-12 7:43am    
my 5!
Mantu Singh 5-May-12 7:52am    
Thanks a lot!
Dear Friend,

at left side u will find options click it.
as it opens u will find 2 textboxes.

In the first Textbox at the end give name as .mdf
and in the second textbox at the end give name as .ldf
and then click on OK.

This will work for u.
 
Share this answer
 

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