简体   繁体   中英

How to rectify 'Index was outside the bounds of the array (Microsoft.sqlserver.Express.smo)' in SQL Server 2012?

I am using SQL Server 2012 Management Studio Express.

I installed this few days back. when i try to create a new database or new table, I am getting the below error message:

Cannot show requested dialog.

ADDITIONAL INFORMATION:

Cannot show requested dialog. (Microsoft.SqlServer.Express.SqlMgmt)

Index was outside the bounds of the array. (Microsoft.SqlServer.Express.Smo)

I tried installing some service packs. But nothing worked.

Can you please help me out of this issue.

Thanks in advance.

if you are using the interface of the Management Studio to create a database or a table then try writing the query by clicking New Query on the top left corner of the management studio.

for creating a new database use :

   CREATE DATABASE database_name

to use the database after creating it :

   USE database_name

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM