MSSQLWIKI

Karthick P.K on SQL Server

“Value cannot be null” when i connect SQL Server from SSMS

Posted by Karthick P.K on May 26, 2010

I get this below when I connect to SQL Server using SSMS…… What should i do?

Error

Value cannot be null.
Parameter name: viewInfo (Microsoft.SqlServer.Management.SqlStudio.Explorer)

Resolution

Right click SSMS   “run as administrator”   :)

If the “run as administrator doesn’t resolve the problem verify if %Temp% environment variable to set properly for the logged on widows account

If %Temp% is not set properly in environment variables we might end up with error.

If you liked this post, do like us on FaceBook at
https://www.facebook.com/mssqlwiki
and join our FaceBook group
https://www.facebook.com/mssqlwiki#!/groups

Thank you,

Karthick P.K |Technical Lead | Microsoft SQL Server Support  |My Facebook Page |My Site| Blog space| Twitter

About these ads

7 Responses to ““Value cannot be null” when i connect SQL Server from SSMS”

  1. Regina said

    It does help! :-)
    Thank you!
    –R

  2. Suhas said

    Can you let us know the cause of the issue? I mean, why does “Run as Administrator” fix the problem.

    Sorry, but I feel it a big challenge to remember to launch SSMS everytime as “Run as Administrator”.

    Suhas

  3. Srikanth Jasti said

    Hi I am also getting same error but if I try to run as administrator still I am getting the same error…. what could be the problem anyone help me?

    • Check if environment variable for TEMP has valid path

    • Sane said

      Karthick P.K said
      August 12, 2012 at 3:59 AM
      Check if environment variable for TEMP has valid path
      ——————————————————————————————-

      Also check that there is space for the Temp

  4. Carl said

    It also appears to be a sympton of running out of space on the C drive.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

Join 1,700 other followers

%d bloggers like this: