I'm trying to define a connection string for EF code-first approach to generate the database in SQL Server Express.
I'm logging into my pc using /user
account, once I put following connection string in web.config
file in my WebAPI project
<connectionStrings>
<add name="libraryappconnectionstring"
connectionString="Data Source=minchiepad\SQLEXPRESS;Initial Catalog=LibraryAppDB;Integrated Security=SSPI;"
providerName="System.Data.SqlClient"/>
</connectionStrings>
I can see its listing under server explorer tab
When I try to connect I'm getting following error
Once I googled, all the related answer for this errors are for existing DBs
Where should I configure to fix that error connection string or SQL Server? And how?