我已經使用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.
現在我的合金網站也停止工作了,同樣的錯誤。 –