Installed VS2012 - now cannot connect to SQL server with SSMS - sql-server

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.

Related

SQL server doesn't install

What we know / I've tried so far:
It failed during installation. Everything else seems to be installed correctly except for "Database Engine Services" (Ignoring server replication).
The installer sent me here, but this solution doesn't seem to work either.
The SQL Server service doesn't start.
The following screenshot is what I see when I click on the repair:
Looking through the logs, this is the repair error description: The SQL Server feature 'SQL_Engine_Core_Inst' is not in a supported state for repair, as it was never successfully configured. Only features from successful installations can be repaired. To continue, remove the specified SQL Server feature.
Thank you!
I couldn't install SQL Server 2019 Developer as well because of other reason below:
A computer restart is required. Please restart your computer and try
the Basic installation again.
So, I restarted my Windows PC, then I could install SQL Server 2019 Developer.

SSMA hangs on connecting to microsoft access database

SQL Server Migration Assistant for access hangs after selecting MS Access database, it just shows 0% and nothing happens. Up to this point, everything worked fine, but after I configured encrypted connections on the server with a TLS certificate, for some reason starts to hang at 0%. At the same time, SQL Server Management Studio connects over an encrypted connection without issues and no other issues were[enter image description here noticed anymore.
Perhaps this information will help someone. I was able to solve my issue in the following way. I uninstall SSMA first, then uninstall Microsoft Access Database Engine 2016 Redistributable. Rebooted the machine, downloaded it again, and installed first SSMA then Microsoft Access Database Engine 2016 Redistributable.
BTW, what I reported earlier was on a Windows 10 machine. Just tried on a Windows Server box and did not run into any problem. That Windows Server box had the most recent defender patch, a slightly different version of course. Version 1.343.352.0

SQL Server 2019 Developer Edition Unable to Install SQL Server (setup.exe)

I had an old version of SQL Server on my laptop which I uninstalled. Now I am trying to install SQL Server 2019 Developer edition but I get an error:
Error Code(Decimal): 2068052293 Error Description: Please install the Visual C++2017 Redistributable from https://aka.ms/vs/15/releaset..exe before running this installer.
I also installed Visual C++ 2017 Redistributable from the suggested path but still same error is happening.
Environment: HP/Pavilion/Windows 10 Pro/4g/500HDD/Corei5
PS: attaching screenshot for kind reference
Screenshot is missing.
Check for the following,
Is, VC++ 2017 is successfully installed? If yes, its worth doing a restart. Sometimes certain dll's should be registered in Windows environment, which will happen after a restart. Start SQL Server 2019 again after restarting.
Ensure both SQL Server 2019 and VC++ 2017 are installed with same user login. Hopefully you should be local admin for the login.
More suggestion can be provided based on screenshot error. Good luck!
This is my suggestion. It worked for me. Partition your local disk and install MSSQL in the new drive. That's all. Problem solved. This problem often happens with windows 11.

How to uninstall MSDE on Windows 10?

I just upgraded my PC from Windows 7 to Windows 10. I did this because I need to upgrade SQL Server from 2014 to 2016 to match our production environment. I am unable to uninstall SQL Server 2014 due to a bug that seems to be due to SQL Server 2000 MSDE also being installed on my PC (I did not install this - can only assume it was bundled with some other software, maybe an old version of Visual Studio?)
The error message when attempting to uninstall SQL Server 2014 is:
SQL Server Setup has encountered the following error: '.', hexadecimal
value 0x00, is an invalid character. Line 1, position 212550. Error
code 0x84B10001.
The proposed fix for this issue is to uninstall MSDE. Unfortunately I cannot uninstall MSDE either. If I try to remove it via Control Panel, after clicking the UAC prompt, the dialog closes and nothing happens.
I found this page that claims to show how to remove MSDE manually if it won't install from Control Panel:
However none of this works either. The registry entries don't exist, so I cannot determine the product code from them, so I can't use MSIZAP.EXE. I managed to delete the files under Program Files as directed, and removed the registry entries for the services, but this does not fix the issue - Microsoft SQL Server Desktop Engine (SQL2000) is still list on Programs and Features on Control Panel, and I still can't uninstall SQL Server 2014.
I have attempted to install SSMS 17.3 only, but install fails with error code 0x80070643.
I think all I can do at this point is wipe my laptop and reinstall Windows 10 from scratch if I can't solve this.

New Windows 10 Laptop - Unable to install SQL Server 2012

I'm getting the exact same error message as see in this blog post:
http://shawndowler.com/blog/2012/06/25/microsoft-sql-server-installation-issue-fix/
I ran the SQL Server 2012 setup exe (renamed it to setup.exe it was the expresss edition) as Admin from the command prompt specifying to install the updates prior which exists in my 'C:\Updates' and got the exact same error message as the blogger "An error occurred during the installation of an assembly"
Someone commented it resolved their issue for SQL 2012 in Windows 10 (I'm using express, they didnt specify which version).
Anyone else had issues with SQL 2012 or other installing on Windows 10 complaining about Microsoft.VC80.MCF or similar?
For Windows 10, you need at least SQL Server 2012 Service Pack 2 - RTM version isn't supported. For some reason, it is only mentioned in documentation regarding SQL Server 2014: Hardware and Software Requirements for Installing SQL Server.
Hopefully, with Express edition you can download the correct version with SP already integrated into it. However, it might be wiser to install SP3 instead and save yourself some hassle in the future.

Resources