简体   繁体   English

本地数据库的 IIS Razor 站点部署错误

[英]IIS Razor site deployment error with local db

My razor website gives this error and wouldn't proceed.我的剃须刀网站出现此错误,无法继续。 What's wrong?怎么了?

A network-related or instance-specific error occurred while establishing a connection to SQL Server.与 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.验证实例名称是否正确以及 SQL Server 是否配置为允许远程连接。 (provider: SQL Network Interfaces, error: 50 - Local Database Runtime error occurred. Error occurred during LocalDB instance startup: SQL Server process failed to start. (提供程序:SQL 网络接口,错误:50 - 发生本地数据库运行时错误。LocalDB 实例启动期间发生错误:SQL Server 进程无法启动。

Sounds like your web server doesn't have the localDB engine installed on it.听起来您的 Web 服务器上没有安装 localDB 引擎。 Are you using shared hosting?您使用的是共享主机吗? Might want to check with your hosting provider to see what database services they provide.可能想咨询您的托管服务提供商以了解他们提供的数据库服务。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM