简体   繁体   中英

Can't connect to SQL Server anymore after adding an ODBC source

I can't connect to my SQL Server 2008 R2 database after having created a ODBC connector to that particular database! I can't connect neither using SQL Server Management Studio nor Toad.

I'm 100% sure that the misconnection is due to the new ODBC. Meanwhile the ODBC itself works fine! I can connect through it. But if I delete it, the connection isn't brought back.

As a work around, you might try creating an alias name on your computer that points to the IP address.

You could do this in your hosts file. You can also do this using SQL Server Configuration Manager. Open your local node > SQL Native Client X Config (32 bit) > Aliases > New...

Give it a name, different from the actual sql name, a port if it's a named instance and then in the server field, put the IP address.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM