未找到版本 "GeneralPurpose" 的默认服务级别 objective

No default service level objective found of edition "GeneralPurpose"

我在 Azure SQL

中创建数据库时在 SSMS 中收到此错误 No default service level objective found of edition "GeneralPurpose"

请从 here 下载最新的 SQL Server Management Studio 版本。版本 18.0 有许多与 Azure 托管实例相关的修复。

这是您目前使用的免费订阅的限制。 ""'免费试用订阅可以提供基本、标准 S0 到 S3 数据库,最多 100 个 eDTU 基本或标准弹性池和 DW100 到 DW400 数据仓库"

您也可以尝试使用 T-SQL 创建数据库,如下所示。

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

就我而言,这是因为我的应用程序设置 (.NET) 中的连接字符串有误。

要找到您的连接字符串,您需要在 Azure 上访问您的数据库,并且在概览中您需要找到 "connection string"。