Check for these:
1. There might be an error with your SQL Server instance..
Make sure your SQL Server instance(MSSQLSERVER) is running. To check in services list:
a. open run dialog box and type: "services.msc" (without quotes) and hit Enter.
b. services management console opens up - check whether your instance in running or not.
2. Try to change your connection string section in web.config to look like:
<connectionstrings>
<add name="MyDbContext" connectionstring="Data Source=DESKTOP-VTLRB7T\SQLEXPRESS;Initial Catalog= ERPapp;Integrated Security=true;" providername="System.Data.SqlClient"></add>
</connectionstrings>
3. If the problem still persists, then try using:
Data Source=.\SQLEXPRESS
instead