Share via

Azure Data Studio - Error when loading Table Designer

SCHULTE, MAREIKE 0 Reputation points
2023-06-23T08:54:50.9466667+00:00

Hi all,

I can't open the Table Designer, not when clicking on "New Table" nor when I want to edit an existing table.

This is the error message:

"An error occurred while initializing the table designer: Failed to initialize the table model."

How do I fix this?

The error details read:

   at Microsoft.Data.Tools.Sql.DesignServices.TableDesigner.TableDesigner..ctor(String connectionString, String accessToken, String schemaName, String tableName, Boolean isNewTable, TableDesignerOptions options)
   at Microsoft.SqlTools.ServiceLayer.TableDesigner.TableDesignerService.CreateTableDesigner(TableInfo tableInfo) in /_/src/Microsoft.SqlTools.ServiceLayer/TableDesigner/TableDesignerService.cs:line 1808
   at Microsoft.SqlTools.ServiceLayer.TableDesigner.TableDesignerService.<>c__DisplayClass18_0.<<HandleInitializeTableDesignerRequest>b__0>d.MoveNext() in /_/src/Microsoft.SqlTools.ServiceLayer/TableDesigner/TableDesignerService.cs:line 102
--- End of stack trace from previous location ---
   at Microsoft.SqlTools.ServiceLayer.TableDesigner.TableDesignerService.<>c__DisplayClass17_0`1.<<HandleRequest>b__0>d.MoveNext() in /_/src/Microsoft.SqlTools.ServiceLayer/TableDesigner/TableDesignerService.cs:line 88
Azure SQL Database

2 answers

Sort by: Most helpful
  1. AGR-GMNTS 5 Reputation points
    2023-09-12T10:49:49.5066667+00:00

    On my side, the problem came from my company's network rules (the rules on firewall destinations and protocols are very strict).

    0 comments No comments

  2. way0utwest 81 Reputation points MVP
    2023-08-09T16:56:25.7466667+00:00

    I would upgrade to 1.45 and test that. Alternatively, uninstall and reinstall ADS. It's possible you had some issue with the way this was configured. As of today, this is working for me.

    2023-08-09 10_53_35-● Aristotle_SQL2022 - Acess - dbo.NewTable - Azure Data Studio

    Let me know what ADS version and also what SQL Server instance version. I have tested this on SQL 2017/2019/2022 and it works for me.
    Windows 10, 22H2

    0 comments No comments

Your answer

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