Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Index was outside the bounds of the Array. (Microsoft.SqlServer.smo)

I am using SQL Server 2008 R2. It is working fine. But recently, I have changed my hosting server and I came to know that they have installed SQL Server 2012 on Server.

Now, Issue is that after connecting with Server Database through SQL Server 2008 R2, When I click on any table name or Stored Procedure, I am getting error : Index was outside the bounds of the array. (Microsoft.SqlServer.smo)

So, is there any issue from my side or It is from Server Side ??? and How can I prevent this issue ?

like image 530
Jeeten Parmar Avatar asked Apr 21 '14 17:04

Jeeten Parmar


People also ask

What does it mean Index was outside the bounds of the array?

Index was outside the bounds of the array. That error message usually means that you have called for an object in the array at a location that is null, or has nothing there. It happens in cases like the following; myArray = [0,1,2,3]; trace(myArray[6]);

How do I update SQL Server Management Studio?

To upgrade the management studio to the latest version, navigate to Microsoft docs and download the SSMS setup file. If you want to upgrade to a specific version, you can navigate the link and download the respective version file. Click on the Save file in the pop-up window shown below.

How do I create a database schema diagram in SQL Server?

To create a new database diagramIn Object Explorer, right-click the Database Diagrams folder or any diagram in that folder. Choose New Database Diagram on the shortcut menu. The Add Table dialog box appears. Select the required tables in the Tables list and click Add.

Where are SQL Server diagrams stored?

Where the database diagrams are stored? Actually the diagrams are stored in a table called “sysdiagrams”. The sysdiagrams contains a column named “definition”. The structure of the diagram is stored in the “definition” column using varbinary data type.


1 Answers

Restarting the Management Studio worked for me.

like image 174
Abisoye Falabi Avatar answered Sep 21 '22 22:09

Abisoye Falabi