Thank you for recommending "Dev Pro provides comprehensive, independent how-to content on building applications with the Microsoft stack.".
Your recommendation has been successfully processed.
October 20, 2010 05:10 PM
Why Can't SQL Server and Visual Studio Get Along?
Michael Campbell wants to see Microsoft address ongoing incompatibilities with SSMS, BIDS, and Visual Studio
Dev Pro
InstantDoc ID #128857
Complaining runs the risk of making you look like a miserable crank.
Only, a recent problem that I bumped into while trying to install SQL Server Management Studio 2008 R2 on my workstation highlights a time-consuming, expensive, and recurring theme of versioning and incompatibility between Visual Studio and SQL Server that really needs to be addressed.
Specifically, I'm not writing so much about a single problem that caused me grief—but a manifestation of a trend that just seems to keep getting worse. Specifically, my beef in this case has to do with the ways in which the most recent versions of Visual Studio and SQL Server's management and development tools consistently manifest costly and problematic incompatibilities.
Installation of SSMS 2008 R2 Failed
By way of background, my workstation has Visual Studio 2008 (SP1) and Visual Studio 2010 running on it—because I still have some clients using VS2008 solutions. I also have SQL Server Management Studio 2008 installed because that's what I use to connect to my own development databases (on my dev server) and to some of my more regular clients' SQL Servers as well.
I also have a number of virtual machines (using VMware Workstation) on my desktop that I use to connect to clients' servers via VPN. And, since some of my clients are using SQL Server 2008 R2, I also have a VM with SQL Server Management Studio 2008 R2 installed.
With SQL Server Management Studio 2008 R2 successfully running on a VM, I haven't really felt the need to put it on my workstation. That and I've just worried about any issues or problems that would come from trying to put SQL Server Management Studio 2008 R2 on my box. But yesterday I asked myself: "how bad could it be, especially if I've just done a full system backup?"
Well, it turns out that trying to install SSMS 2008 R2 on my workstation didn't mess anything up.
But it also wouldn't install.
During installation, the installer started off by performing some compatibility checks. Imagine my surprise then when SSMS 2008 R2 complained about two problems that make absolutely no sense.
First, the installer complained about finding Visual Studio 2008 on my computer—without SP1. I've complained a number of times (even in this column) about how insanely hard it is to get Visual Studio 2008, SQL Server Management Studio 2008, and SP1 all living (happily) on the same box. More importantly, the only reason I have all three running on my box together now is because I rebuilt my machine a few months ago to make sure I'd be able to get those three things running on my box at the same time. And I've definitely got SP1 installed (it shows up on the About/Splash page for VS2008, and it's in the Add/Remove Programs listing as well).
Yet, the installer for SQL Server Management Studio 2008 R2 doesn't detect SP1. I can only begin to image how much fun I'll have troubleshooting that one.
Likewise, the same installer tells me I've got SQL Server 2005 Express tools installed. Huh? What? Seriously? Since I just repaved this box a few months ago, I'm sure I've never had SQL Server 2005 on this machine. Nor does anything with 2005 even get listed in the Add/Remove programs listing.
Yes, I'm sure I could probably google these issues and find some workarounds that folks in the community have figured out. But, ultimately, that's something I really shouldn't have to do. My workstation is running Windows 7. It's never had beta versions of Visual Studio or SQL Server on it.
Moreover, if this were just about reformatting my machine to start over from scratch, that would be one problem. But my gripe with that "necessity" is that there's nothing out of the ordinary with my workstation. Instead, what I'm bumping into here is just another manifestation of a recurring theme where it seems like Microsoft is totally dropping the ball when it comes to putting the latest versions of Visual Studio and SQL Server Management Studio on the same workstations.
Not an Isolated Incident
The problem I bumped into when trying to install SSMS 2008 R2 is more than just an isolated issue. In fact, compatibility problems between Visual Studio and SQL Server's client tools are so commonplace now that it sadly didn't come as a surprise when I ran into problems trying to install SSMS 2008 R2 on my workstation.
Moreover, this isn't just a problem for application developers—or even for application developers like me who spend gobs of time in SQL Server Management Studio. Instead, this is a problem that manifests itself over and over again in a lot of really ugly ways for business intelligence (BI) developers as well. And I guess the reason I bring all this up in an article is because I get the sense that Microsoft isn't doing enough to address these problems.