【发布时间】:2015-07-15 22:34:03
【问题描述】:
我使用 EPiServer v8.0 安装了一个新的空站点。该站点是使用以管理员身份运行的 Visual Studio 扩展创建的。当我运行该站点时,我收到一个数据库连接错误:
"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: 50 - Local Database Runtime error occurred. Error occurred during LocalDB instance startup: unable to create the SQL Server process.
)"
我来自 web.config 的连接字符串是这样的:
<add name="EPiServerDB" connectionString="Data Source=(LocalDb)\v11.0;AttachDbFilename=|DataDirectory|EPiServerDB_1293efd2.mdf;Initial Catalog=EPiServerDB_1293efd2;Connection Timeout=60;Integrated Security=True;MultipleActiveResultSets=True" providerName="System.Data.SqlClient" />
我已经并排安装了 Alloy 站点,这工作正常。 Alloy 的连接字符串与我的空站点相同,但数据库名称除外。
我在来自 SQLLocalDB 的事件查看器应用程序日志中有很多这样的错误:
Windows API call CreateProcessAsUserW returned error code: 740. Windows system error message is: The requested operation requires elevation.
Reported at line: 3705.
【问题讨论】:
-
现在我的 Alloy 网站也停止工作了,同样的错误。
-
你有想过这个吗?
标签: episerver