How to fix this error "Could not load file or assembly System.Runtime ,Version=6.0.0.0..." when opening a query window or any object from SSMS

Vishnu Priya Ravi 0 Reputation points
2024-10-09T07:02:47.8933333+00:00

While opening a new query window or any object from SSMS, it says "Could not load file or assembly System.Runtime ,Version=6.0.0.0

When I am trying to open a query window or click modify a stored proc or create script of any obj table/view etc ,I get the below error. I am able to connect to the sql server instance alone but further not able to proceed with anything.I have tried installing the newer version or repairing the ssms but no luck .

Could not load file or assembly 'System.Runtime, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. (mscorlib).

Kindly help.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
14,009 questions
{count} votes

1 answer

Sort by: Most helpful
  1. CathyJi-MSFT 22,306 Reputation points Microsoft Vendor
    2024-10-09T08:00:07.51+00:00

    Hi @Vishnu Priya Ravi

    What is the version of your SSMS? You can get this info from SSMS UI. SSMS->help->about. The latest version is SSMS 20.2, please uninstall your SSMS and use the latest one. You can get it from here.

    According to your error message, it seems you're encountering an issue with loading the System.Runtime assembly in SQL Server Management Studio (SSMS). This error typically occurs when there is a mismatch between the versions of the .NET assemblies being referenced. Please check your .NET Framework version, suggest you installing the latest .NET Framework. Or uninstall your  .NET Framework, reinstall SSMS will installing the related .NET Framework.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.