Hi there,
(Orignally posted in this SQL Server forum: http://social.msdn.microsoft.com/Forums/vstudio/en-US/6273605c-ac85-45d8-bef0-ba4f9b51e4db/can-i-uninstall-sql-server-2012-after-i-install-2014?forum=vssetup&prof=required but was asked to post here)
I'm running VS2013 SP1. I was running SQL Server 2012, but VS pushed the 2014 version on me, so I installed it. I converted my application to use a new database running in the 2014 instance, and it works great.
From there, I wanted to see if I could uninstall everything related to 2012 since I'm using 2014. I proceeded via the "programs and features" control panel, and my app (and VS mostly) still work great, except for one big thing:
In my ASP.NET app, when I choose 'publish' and hit preview, I get:
Web deployment task failed. (The type initializer for 'Microsoft.Web.Deployment.DeploymentManager' threw an exception.)
Not sure how to get more details on the failure. And, if I try to do "validate connection:"
The type initializer for 'Microsoft.Web.Deployment.DeploymentManager' threw an exception. The type initializer for 'Microsoft.Web.Deployment.BuiltInTypesCache' threw an exception.
When I do a "repair" on the VS install, it works again. From there, as soon as I uninstall 2012, it happens again.
Also, after uninstalling 2012, I tried creating a new ASP.NET website, and hit the same issue.
So my question: Should I be able to uninstall SQL Server 2012 after 2014 is installed, or are there other components that have a hard dependency on the 2012 version? (If so, is there any way to specify in a config to use the 2014 version instead?)
Thanks...
-Ben