No default service level objective found of edition “GeneralPurpose”

孤者浪人 提交于 2019-12-11 08:47:01

问题


I am getting this error No default service level objective found of edition "GeneralPurpose" in SSMS when creating database in Azure SQL


回答1:


Please download the latest SQL Server Management Studio version from here. Version 18.0 has many fixes related to Azure Managed Instances.

It is a limitation of the free subscription you are using at this time. ""'Free Trial subscriptions can provision Basic, Standard S0 through S3 databases, up to 100 eDTU Basic or Standard elastic pools and DW100 through DW400 data warehouses"

You can also try to create the database using T-SQL as shown below.

CREATE DATABASE Testdb
( EDITION = 'Standard', SERVICE_OBJECTIVE = 'S3' );
GO



回答2:


In my case it was because I had wrong connection string in my app settings(.NET).

To find your connection string you need to go to your db on azure and in overview you need to find "connection string".



来源:https://stackoverflow.com/questions/56530169/no-default-service-level-objective-found-of-edition-generalpurpose

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!