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 ?
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]);
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.
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 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.
Restarting the Management Studio worked for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With