Posted on: 6/8/2011 10:36:36 AM | Views : 799

I am trying to attach database in sql management studio and i keep getting this error:
 

=================================== Cannot show requested dialog. =================================== Parameter name: nColIndex Actual value was -1. (Microsoft.SqlServer.GridControl) ------------------------------ Program Location: at Microsoft.SqlServer.Management.UI.Grid.GridControl.SetColumnWidthInternal(Int32 nColIndex, GridColumnWidthType widthType, Int32 nWidth) at Microsoft.SqlServer.Management.UI.Grid.GridControl.SetColumnWidthInternalForPublic(Int32 nColIndex, GridColumnWidthType widthType, Int32 nWidth) at Microsoft.SqlServer.Management.UI.Grid.GridControl.SetColumnWidth(Int32 nColIndex, GridColumnWidthType widthType, Int32 nWidth) at Microsoft.SqlServer.Management.SqlManagerUI.AttachDatabase.SetGridColumnWidth(SqlManagerUIDlgGrid grid, Double[] columnWidthRatio, Int32 columnIndex) at Microsoft.SqlServer.Management.SqlMan ...

Go to the complete details ...