Cannot connect to SQLEXPRESS

Publicerad 4 februari, 2011

A 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: SQL Network Interfaces, error: 26 – Error Locating Server/Instance Specified) (.Net SqlClient Data Provider).

Får du detta meddelande när du försöker logga in i SQL Server Management Studio?

Öppna upp SQL Server Configuration Manager, som finns i Configuration tools mappen, under SQL Server i Program på startmenyn.

Under SQL Server Services, kolla så att SQL Server (SQLEXPRESS) status är Running, om inte så starta den. Detsamma gäller SQL Server Browser.

Kolla också om protkollen Shared Memory, Named Pipes och TCP/IP, under SQL Server Network Configuration – Protocols for SQLEXPRESS, har status Enabled, om inte så enabla dem. När du gjort det, så måste du starta om SQL Server (SQLEXPRESS) service också, för att ändringarna ska gälla.

Testa att logga in igen.

Dela detta inlägg:

Twitter Facebook Digg Google Bookmarks reddit Mixx StumbleUpon Technorati Yahoo! Buzz Delicious BlinkList Furl

Skriv en kommentar