SQL Server | Error Fix | A network related or instance specific error (Local_DB)

Publicado em: 27 Janeiro 2018
no canal de: The Amazing Codeverse
22,694
96

Fix For Error:
Unhandled exception has occurred in your application. if you click Continue, the application will ignore this error and attempt to continue. if you click Quit, the application will close imminently.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connection.(Provider: SQL Network Interfaces, Error:52 - Unable to locate a Local Database Runtime installation. Verify that SQL Server Express is properly installed and that the Local Database Runtime feature is enabled.)

Intall SQL Server & Management Studio:
   • How to Install SQL Server & SQL Server Man...  

Convert Your Database To A LocalDB:
   • Convert SQL Server Database To Local Datab...  

Cannot Connect To SQL Server (Error Fix):
   • SQL Server Managemnet Studio | Error Fix |...  

CONNECTION STRING:
string domain = (AppDomain.CurrentDomain.BaseDirectory).ToString();

string connect = @"Data Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename= " + domain + "YourLocalDBName.mdf;" + "Integrated Security=True;Connect Timeout=15;";

Note that:
YourLocalDBName.mdf is the only thing you have to change.


Nesta página do site você pode assistir ao vídeo on-line SQL Server | Error Fix | A network related or instance specific error (Local_DB) duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário The Amazing Codeverse 27 Janeiro 2018, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 22,694 vezes e gostou 96 espectadores. Boa visualização!