Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

just i format my system and install windows 7 OS then after that install sql server 2005 express.
the problem is that when a try to attached the .mdf(i.e database file) file to our database it's throwing error..

An error occurred when attaching the database(s). Click the hyperlink in the Message column for details.

i did all the think re-install the sql server 2005 and try to attach different database it gives me same error. i don't know what exactly the problem is with my database if anybody have knowledege about it provide me a solution.


Thanks in Advance
Mohd. faizan khan
Posted
Updated 23-May-12 19:40pm
v2
Comments
uspatel 24-May-12 1:54am    
Click the hyper-link and see what the Message?
sachin10d 24-May-12 3:08am    
Try to run SQL server using Run As administrator.
or please give the error details.
Sandeep Mewara 24-May-12 3:15am    
You forgot to add the error details. Please add them.

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