I am an absolute beginner so please forgive me. I have installed EPiServer v8.0 and am having trouble connecting to the database. I get this error when I hit F5 from 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."
The site was created from within VS using the New...Project method. VS is running as Administrator. The site is an empty EpiServer site, the only files I have added are a StartPage class file.
As a side note, I successfully installed the Alloy site and that works just fine.
I am using Visual Studio 2013.
If you are running under IIS (and not IIS Express) then you would need to move either to SQL Server or SQL Server Express to access DB from IIS process.
If you are still in IIS Express - http://stackoverflow.com/questions/13287252/cannot-start-localdb may help.
I am using IIS Express. I have tried deleting the EPiServer site and starting again but I get the same result.
Looking in my Event Viewer I see lots of errors from SQLLocalDB 12.0:
"Windows API call CreateProcessAsUserW returned error code: 740. Windows system error message is: The requested operation requires elevation.Reported at line: 3705. "
I found the solution. LocalDB was not running. I can only guess that it was running when I installed Alloy, then at some point it stopped which broke the install for the empty site.