Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

DB will not connect

$
0
0

Hi All, I have SQL Server 2016 installed locally. I have my connection string defined :

"VisualJobsContextConnection": "Server=(localdb)\\mssqllocaldb;Database=VisualJobsDb;Trusted_Connection=True;"

when I attempt to log in I get:

•Cannot open database "VisualJobsDb" requested by the login. The login failed. Login failed for user 'visualserver-PC\visualserver'

I have tried changing Database to 'Initial Catalog' I have also tried:

setting Server=(Localdb)\\visualserver-pc\\visualserver\\msqllocaldb   with this I get the network actively refused the connection error message.


Viewing all articles
Browse latest Browse all 9386

Trending Articles