简体   繁体   中英

Installed VS2012 - now cannot connect to SQL server with SSMS

Since installing VS 2012 and un-installing VS 2010, I am now unable to connect to our SQL Server using Management Studio 2012 (which was already installed)

All I get is

A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (privider: SSL Provider, error: 0 - the wait operation timed out) (Microsoft SQL Server, Error: 258)
the wait operation timed out

I have 'repaired' my SQL Server 2012 tools instance, but still no worky. I can connect to local instances - unfortunately this is of no use at all

Any ideas on this one? I'm thinking I will have to uninstall the lot and start again, which surprise surprise I'd rather not have to do

EDIT: ok so having googled a bit more, I uninstalled .net 4.5 (and installed .net 4.0) and magically SMSS connected again, but of course VS2012 then stopped working. so I installed VS2012 again, and low and behold SMSS refuses to connect again. what frickin gives?

You should installing SQL Server 2012 first before you install VS 2012.

Uninstalling VS 2010 will also break VS 2010 IDE that is included with SQL Server 2010.

In my situation, I had a content filter/proxy called Covenant Eyes that was the likely cause.

I tried repairing the install of SQL server 2012 (just for management studio!) and it crashed the install and still did not fix the problem. As soon as I generated an uninstall code and uninstalled the filter, I could connect; I did not even have to reboot.

Check for proxies and content filters on the machine and disable them!

Believe it or not! Error is caused by Apple Itunes messing with the winsock on the machine. I often need to reset the winsock because of crappy Itunes. You dont need to uninstall .net or studio etc.

Open command prompt under admin priv Type netsh winsock reset reboot

Magic you can connect.

Your welcome.

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