Quantcast
Viewing all articles
Browse latest Browse all 15889

error when Attach a Database in SQL Server ,,

hello to all of you ,,

actually i get trouble when i attach Database in SQL Server 2008 ,,

it display message with..

 

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

Attach database failed for Server 'USER1-TOSH\SQLEXPRESS'.  (Microsoft.SqlServer.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1617.0+((KJ_RTM_GDR).110422-1125+)&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 header for file 'C:\Program Files (x86)\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS\MSSQL\DATA\CarRental_log.ldf' is not a valid database file header. The FILE SIZE property is incorrect. (Microsoft SQL Server, Error: 5172)

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

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

OK
------------------------------  }}

 

and i open it as administrator :| but still like that !!

plz help me because i have exam in sql :(


Viewing all articles
Browse latest Browse all 15889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>