Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Dear,

i have visual studio 2010 Professional and sql express 2008. When i try to make a connection with mdf file it says version 705 and the server supports version 664..Please Help me how to open thi mdf file.


Regards,
Mohi
Posted
Comments
OriginalGriff 7-Jun-12 1:00am    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
Perhaps if you are trying to connect via code, a relevant code fragment? Or if via SQL directly, you could tell us the exact steps you are taking?
Use the "Improve question" widget to edit your question and provide better information.
mvengaqua 7-Jun-12 1:46am    
I am trying to make a connection through Visual Studio. In server window there is option of making a new connection
There i add the mdf file. and then it says the version is 705 and the server supports 655.

1 solution

I believe you have a SQL Server 2012 mdf file (which is version 705). Since you have SQL Express 2008, you can only open mdf files that were created by SQL Server 2008 or earlier (version 664 or earlier). There is not a way to open a 2012 file with 2008. Your other option would be to install SQL Express 2012.
 
Share this answer
 
Comments
Sandeep Mewara 8-Jun-12 2:20am    
Comment from OP:
Thanks you very much TIM Corey

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