我已经使用EPiServer v8.0安装了一个新的空白站点。该网站是使用以管理员身份运行的Visual Studio扩展程序创建的。当我运行的网站,我得到一个数据库连接错误:在新安装的EPiServer中无法连接数据库
"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的连接字符串与我的空白站点相同,除了数据库名称。
我的事件查看器中有很多这些错误ap折叠日志从SQLLocalDB:
Windows API call CreateProcessAsUserW returned error code: 740. Windows system error message is: The requested operation requires elevation.
Reported at line: 3705.
现在我的合金网站也停止工作了,同样的错误。 –