Posts Tagged ‘Windows 7’

Error when using SQL Management Studio 2008 in Windows 7 x64 with Vault Installed

Friday, October 30th, 2009

I have been using my new Windows 7 machine for the last few days and have hit a few problems getting things set up. Fortunately, I have managed to work around most of them. This was one of the first ones.

I was using Microsoft SQL Management Studio 2008. When I attempted to pop out the list of databases on a server in object explorer, I got the following error: –

“Unable to cast COM object of type ‘System.__ComObject’ to interface type ‘Microsoft.VisualStudio.OLE.Interop.IServiceProvider’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{6D5140C1-7436-11CE-8034-00AA006009FA}’ failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).”

After a little research, I found several pages with different solutions to the problem. A common thread is that it seems to involve SourceGear Vault Client (source control software). I suspect that this is only a problem for people who are using old versions of it (I’m using the spectacularly old version of 2.0.6!).

The solution which finally worked for me was to copy the Vault client folder, uninstall Vault, copy it back and make manual shortcuts. Then, in order to register it as a source control provider, I used the following registry file: –
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SourceCodeControlProvider]
"ProviderRegKey"="Software\\SourceGear\\Vault Client"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SourceCodeControlProvider\InstalledSCCProviders]
"SourceGear Vault Client"="Software\\SourceGear\\Vault Client"

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SourceGear]

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\SourceGear\Vault Client]
"SCCServerName"="SourceGear Vault Client"
"SCCServerPath"="C:\\Program Files (x86)\\SourceGear\\Vault Client\\VaultIDE.dll"

To use a registry file, you need to copy and paste the code into a new notepad file and save it with a .reg extension. When you double click on it, Windows will ask if you want to add it to the registry. You may need to change your SCCServerPath before saving the file.

Thanks to Henrik Bruun’s post on this page for the registry fix.

Windows 7 Release Date

Monday, June 29th, 2009

Apparently it is going to be out on the 22nd of October.  I’m looking forward!

Windows 7 RC1

Thursday, May 7th, 2009

Microsoft released Windows 7 RC1 yesterday, so I’m going to have to try to find time to dig out and set up a PC that I can try it on.  My previous look at the beta was quite promising, so I’d like a look at the release candidate.

RC1 is available until at least July and apparently it will work until June 2010 (although I haven’t seen any info on whether you can actually upgrade from RC1 to final – you may still have to reformat).

For those of you who haven’t been keeping track of what is going on, Windows 7 is the successor to Windows Vista (which was technically Windows 6 – I think Windows 95 was Windows 4, 98 was 4.1, 2000 was 5 and XP was 5.1).  

Many software developers adopt a system of alpha and beta testing.  Alpha is internal testing when things are still at a fairly early stage.  Beta testing is done by external customers, and many developers have public beta programs now.  Microsoft have also added an extra stage to this called “Release Candidates”, which many people would probably say are actually just beta versions, but I think it is Microsoft’s way of saying “we’re nearly there now”.

The fact that Windows 7 has reached RC1 is definitely a major milestone and it will certainly be interesting to see how it pans out now that it is at this point.

Windows 7 Beta vs Vista or XP

Friday, March 13th, 2009

Well, I’ve finally managed to get a look at a beta copy of Windows 7.  My initial thoughts are that I quite like the look of it.  I don’t use Vista on any of my own PCs – what I have seen of it made me want to avoid it – it seems unnecessarily flashy and annoying.  It seems to get in the way of what you want to do and asks everything that you might want to do.  I can understand why it was made that way, but I think it is a pain in the neck.

Windows 7, on the other hand seems to have been designed to be very unobtrusive.  As far as I have seen so far, it tries to put what you want in the easiest places to get to it, and lets you get on with what you are trying to do without getting in your way.  I can’t help thinking that Microsoft might have been taking notes from the way Google Chrome has been designed in some respects.

Comparing it to Windows XP, Microsoft have ditched the classic user interface and start menu (I think they actually did in Vista), which I have always turned on (one of the reasons I have avoided Vista).  I think I’ll finally have to get used to a new shell interface for the start menu, taskbar etc., but it looks fairly easy to use and find your way around so that should be ok.  

I like some of the little things like windows locking to the side if you drag them there, and the new “show desktop” section on the task bar.  I also noticed the ability to have multiple clocks, which I haven’t tried, but it looks useful if you work with people in different time zones.

I’m not sure about the way that Control Panel has been reorganised, but it doesn’t look too bad – I think I prefer it to the Windows XP default.  They’ve probably done a good job of it, but it is hard to overcome people’s natural resistance to change.

I’m going to have to have more of a play with it when I get the chance, but that was my initial review.

Windows 7 Beta x64 and Virtual PC

Thursday, March 5th, 2009

I seem to have missed the public beta of Windows 7, which I’m a bit annoyed about.  I was thinking that I’d like to try out the x64 version in Virtual PC, but I’m currently running Windows XP x86, and it looks like there is no support for x64 operating systems running inside Virtual PC, even in the 2007 version.  It doesn’t even sound like they are planning to do it, which strikes me as a little odd.  I’d be interested to hear from people who have tried out Windows 7 beta though.