I program C# as a hobby and recently decided to start learning the ins and outs of ASP.NET as to expand my skill set. However, I recently been having issues with SQL LocalDB (2014) and the "WingtipToys" project provided by asp.net.

As stated in the title, I get this error: error: 50 - Local Database Runtime error occurred (picture provided)

enter image description here

I have tried the following solutions to rectify this problem: -Installed SQL Server Express 2014 rather than just the LocalDB

-Restarting the service

-Creating another local db through the command line

-using MSQLLocalDB in my connection string <add name="WingtipToys" connectionString="Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\wingtiptoys.mdf;Integrated Security=True" providerName="System.Data.SqlClient" />.


<add name="ASP.NET v4.0" autoStart="true" managedRuntimeVersion="v4.0"     managedPipelineMode="Integrated">
<processModel identityType="ApplicationPoolIdentity" loadUserProfile="true" setProfileEnvironment="true" />

to the applicationhost.config. I could not find it anywhere either, a quick search on my computer turns this up: enter image description here just to be safe, I added it to all of them. However, this did not affect anything. I googled around looking to see if anyone else's was missing, but it seems as though I am the only one with this specific issue.

-Checked to see if SQL Server Agent (SQLEXPRESS) was running. (it was)

Is there something I am missing? I don't quite understand why I continually get this error even though I have tried all of the solutions listed. I looked in event viewer, but it didn't give me any information beyond that that the server gave me.

I am running Windows 10 with SQL Server Express 2014 x64 with Tools if that information helps.

Related posts

Recent Viewed