C
C#10mo ago
qwertyz

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
qwertyz
qwertyzOP10mo ago
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
Jimmacle
Jimmacle10mo ago
did you install sql express on your laptop?
qwertyz
qwertyzOP10mo ago
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
Jimmacle
Jimmacle10mo ago
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
qwertyz
qwertyzOP10mo ago
what do you eman bit lost
Jimmacle
Jimmacle10mo ago
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?
qwertyz
qwertyzOP10mo ago
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
Jimmacle
Jimmacle10mo ago
what did the error say when you tried to install it?
qwertyz
qwertyzOP10mo ago
one sec i am dowloaidng it again so ic an tell you the error
Want results from more Discord servers?
Add your server