How to uninstall MSDE on Windows 10? - sql-server

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.

Related

what do I do to enable my Microsoft SQL Server 2008 install and run on my windows7 computer

I tried Installing Microsoft SQL Server 2008 at first, Its installation was going smoothly until I closed my computer to attend to an occasion. Before I tried installing it for a second time, I compressed my C drive(C:) so as to create more storage space. On Installing it again, It couldn't install as a dialog box displayed showing that my attributes doesn't match.
I uncompressed my C: drive and tried installing it again yet it couldn't install. Finally I tried for the last time just to see the image below.
What do I do? My computer is a 32bit OS. and window 7 Ultimate.
You should take a look at the Hardware and Software Requirements for Installing SQL Server 2008, some conditions are:
SQL Server Setup will block installations on read-only or compressed drives.
For minimum version requirements to install SQL Server 2008 on Windows Server 2012 or Windows 8, see Installing SQL Server on Windows Server 2012 or Windows 8 (http://support.microsoft.com/kb/2681562).
So please read it carefully, you can found it in the MSDN here

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.

Unable to install Microsoft SQL Server 2012 Developer

I have a problem with installing SQL Server 2012 (no matter which edition I choose).
Installation usually runs well, but near the end shows up an error:
The help link points to not-existing article on MSDN page.
After I click OK button, the installation reaches it's end and shows up another window:
After that I am able to start, for example SQL Management Studio, but cannot connect to database. Also services of SQL Server are stopped and I am not able to start them manually (any try throws an undefined error):
I tried complete reinstalling of SQL Server, cleaning registry entries, different editions of that software - none method helped. Also, I tried the .iso images of installation media on other computers - it worked well and installed without any errors.
My OS is Windows 8.1 x64.

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.

Visual Studio and SQL Server - correct installation sequence?

I am rebuilding my development machine. This issue is not new to me, but I don't remember the solution.
I started with SQL 2008 Developer, then VS 2008 Pro, then the SQL SP1, then VS SP1. The result is that I cannot open SSIS projects (see the error below). What is the correct order so that I can avoid the installation of SQL Server Express and still have all the features working?
---------------------------
Microsoft Visual Studio
---------------------------
Package Load Failure
Package 'DataWarehouse VSIntegration layer' has failed to load properly ( GUID =
{4A0C6509-BF90-43DA-ABEE-0ABA3A8527F1} ). Please contact package vendor for
assistance. Application restart is recommended, due to possible environment
corruption. Would you like to disable loading this package in the future? You
may use 'devenv /resetskippkgs' to re-enable package loading.
---------------------------
Yes No
---------------------------
You should install SQL 2008 Developer first, this will rule out the need for VS installing SQL which comes with it. Or you could do like others suggested and choose custom VS installation.
My favorite way is this:
SQL 2008 Developer
Visual Studio Professional 2008
Run Windows Updates
Install Resharper :-)
Install RedGate SQL ToolBelt
But it seems that to get some features to work the proper order is:
Visual Studio Professional 2008 (with SQL Unchecked)
SQL 2008 Developer
Run Windows Updates
Install Resharper/Redgate Tools
Resharper and Redgate in my opinion are far the best tools for developing in C#/SQL.
It turns out I was missing 2 important pieces of information in my question that make this installation such a pain:
I was installing the 64 bit version of SQL Server
I was installing to a non-standard location (i.e. the D: drive, because C: is an SSD with not all
that much space)
This was not successful. Here is what I ended up doing in my first (second, and third) attempt:
Install VS 2008 Professional on D:
Install VS 2008 SP 1
Install SQL Server 2008 Developer Edition (instance and shared components on D:)
Install SQL Server SP 1
Apparently VS 2008 Pro does not require a database. I am not sure why I remembered that it does. While the Visual Studio installation was eventless, I encountered the following errors during the SQL Server installation:
The INSTANCESHAREDWOWDIR command line value was not specified.
I was able to resolve that be starting setup from the command line (thanks to this MSDN forum post):
setup.exe /INSTALLSHAREDWOWDIR="D:\Program Files(x86)\Microsoft SQL
Server" /INSTALLSHAREDDIR="D:\Program Files\Microsoft SQL Server"
/ACTION=install
Then towards the end of the installation, I got this error:
Upgrade Failed due to the following Error.The error code is :-2147467259.Message:Unspecified error
There is no solution, but a workaround, described in this post on connect.microsoft.com. It consists of copying a VS config file around before and after the installation, and re-running the installer just for BIDS (which is the one component that failed).
The SQL Server SP1 installation ran without issue. VS Studio, when trying to load a solution with an SSIS project, still threw the error that I posted in my original question.
I had ignored this error that popped up towards the end of the BIDS installation:
Microsoft Visual Studio Tools for Applications 2.0
Cannot find one or more components. Please reinstall the application.
However, there was no error in the install log and it completed "successfully", so I thought it would be ok to ignore the error.
It seems that my configuration is not possible (but I know with certainty that I had the 2005 versions of VS and SQL Server on a D: drive).
I uninstalled everything once again, manually deleted whatever folders were left, and reinstalled on the C: drive, including the SQL Server shared components. I put the instance folder on the D:.
Install VS 2008 Professional on C:
Install VS 2008 SP 1
Install SQL Server 2008 Developer Edition (instance on D:, shared components on C:)
Install SQL Server SP 1
This time everything installed and I can open my SSIS project.
If you are trying to install SQL-2008 and you also have visual studio 2008 installed with service pack one (SP1) and get the error
A previous release of Microsoft Visual Studio 2008 is installed on
this computer. Upgrade Microsoft Visual Studio 2008 to the SP1 before
installing SQL Server 2008”
Then welcome to the Microsoft beta testing program even if you purchased the faulty software.
With XP the most common solution seem to be renaming the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DevDiv\VS\Servicing\9.0
and replacing 9.0 with 9.0Old. However this does not solve the problem if you are using windows 7 and the only solution I managed to find that worked was to uninstall VS2008 and all the components and to then install SQL-2008 and finally reinstall VS2008.
Install Visual Studio Professional 2008.
Install SQL 2008 Developer
Apply SQL SP1
Apply VS SP1
Then all should be good.

Resources