Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot Create Database Diagram in SQL Server 2019 Database

Tags:

sql-server

I have a SQL Server 2019 database that I restored from a SQL Server 2017 backup. It has diagrams present in the System Tables dbo.sysdiagrams table, but they are not visible. If I try to create a diagram I get an error:

enter image description here

What is the problem and how do I fix it?

Thank you,

like image 484
user3802434 Avatar asked Aug 19 '26 18:08

user3802434


1 Answers

A shot in the dark...likely a good one. Check the database owner to make sure it is set. It might have been a login that is not valid on this instance. Not having a owner can cause access issues in SSMS.

like image 93
Randy in Marin Avatar answered Aug 23 '26 09:08

Randy in Marin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!