Please help me

kenjie meada 1 Reputation point
2021-10-09T06:50:32.53+00:00

My Sql server 2014 has have a problem because my sql serve can't create the Database Diagram please help me

this is an error

"Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
(Microsoft.VisualStudi.OLE.Interop)" thank you for helping me mabuhay kayong lahat

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

2 answers

Sort by: Most helpful
  1. Ronen Ariely 15,191 Reputation points
    2021-10-09T11:08:37.96+00:00

    Good day and welcome to the QnA forum, :-)

    First, you have a small typo in the error messages which might make it harder for people o search it online. The error is probably

    Attempted to read or write protected memory. This is often an indication that other memory is corrupt. (Microsoft.VisualStudio.OLE.Interop)

    Notice that you wrote VisualStudi instead of VisualStudio

    Solution

    This is a known issue related to the version of the SSMS. Please install the latest version of SQL Server Management Studio - this should fix the issue probably.

    Download the SSMS rom here: https://learn.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms

    You can read more about the issue in the following post

    https://sqlstudies.com/2019/02/18/error-in-ssms-attempted-to-read-or-write-protected-memory/

    0 comments No comments

  2. AmeliaGu-MSFT 13,976 Reputation points Microsoft Vendor
    2021-10-11T03:05:01.68+00:00

    Hi kenjiemeada-8083,

    How are things going?
    Have you tried to install the latest version of SSMS 18.10 mentioned by pituach?
    If you have any question, please feel free to let us know.

    Best Regards,
    Amelia

    0 comments No comments

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.