问答详情
源自:6-3 创建以及初始化数据库

update-database报错

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 52 - Unable to locate a Local Database Runtime installation. Verify that SQL Server Express is properly installed and that the Local Database Runtime feature is enabled.)

SqlServer服务都启动了

提问者:慕勒4242169 2020-05-24 16:24

个回答

  • 阿莱克斯刘
    2020-06-03 13:23:48

    这铁定是sql server出了问题。你是如何启动SqlServer服务的?是不是使用了sqlServer express?课程里用的是visual studio 自带的数据库,如果是开发或者是学习用途已经足够了。

  • weixin_慕神4321231
    2022-08-05 16:48:36

    这个怎么处理啊