Possible duplicate:SQL Server 2008 Express failed to attach mdf file
I am using SQL Server 2008 r2, I am new to SQL Server, so I have some sample files that I want to attach.
for some reason, it shows the following messegebox:
Unable to display the requested dialog. Additional information: parameter name: nColIndex Actual value: -1. (Microsoft.Sqlserver.GridControl)
Thanks!
This is a known bug in SSMS Express. Use T-SQL instead, and you should be successful:
EXEC sp_attach_db @dbname = N'yourDbName', @filename1 = N'C:\yourMDFlocation\DB_File.mdf', @filename2 = N'C:\yourLDFlocation\DB_Log.LDF'
Source: https://habr.com/ru/post/903553/More articles:Good slide transition between full-screen and full-screen UIViewController - iosHow to colorize an image in CSS? - cssset transaction_subject PayPal IPN - paypalMissing button view application profile page page - facebookExport signed command-line application package - androidSQL Server 2008 Express failed to mount mdf file - sql-serverList vs long [], memory usage - c #How to control the size of images and graphics? - wolfram-mathematicaBringIntoView Method - c #How is SAT 2-CNF located in P and 3-CNF SAT located in NPC? - algorithmAll Articles