visual stduio link with local db
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: SNI_PN11, error: 56 - Unable to load the SQLUserInstance.dll from the location specified in the registry. Verify that the Local Database Runtime feature of SQL Server Express is properly installed.)
9 Replies
using vs studio 2022. I want to use local db. it workds on my destop but when i clone the asp.net mvc project on my laptop. No local db is created even when i run the update databaase coomnad
did you install sql express on your laptop?
yes i ddi that but i got some error but i thauht i i dowload that with vs stduio
could ti me because i am running it on arm bassed emulator on mac.
@jIMMACLE
if you got an error installing it that's probably why it's not there
https://learn.microsoft.com/en-us/sql/database-engine/configure-windows/sql-server-express-localdb?view=sql-server-ver16
you can install it on its own
what do you eman bit lost
you said you got "some error" installing sql express
so it makes sense that you don't have sql express
does it even run on mac?
but like on my other destop pc in class it create it automaticllay for me like i see that databse that vs makes. But when i run it at home there is none
no its a emualtor of windows
but its arm windows
what did the error say when you tried to install it?
one sec
i am dowloaidng it again so ic an tell you the error