Up From The Ashes

Technical

'Unable to Cast COM Object' Error With SQL Server 2008

I have encountered an error that was driving me nuts: 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)). (Microsoft.VisualStudio.OLE.Interop) Googling and Binging revealed I'm not the only one to have this issue.  I even tried the fixes here: http://social.msdn.microsoft.com/Forums/en-US/sqltools/thread/6d0f23e5-14fd-4a32-b37d-33458c339b14 with no luck.  This is the second machine (same machine actually, just reinstalled Windows 7 RTM) and had the same error occur.  I got lucky this time, though, in...

Date Without Time When Serializing

I'm serializing a class in .NET and have a DateTime field.  It's getting serialized as: 2009-11-01T00:00:00 When what I really want is something without the time like this: 2009-11-01 Brad Abrams has a great post that has how to do this (plus a lot more).  Simply add this attribute to the property: [XmlElementAttribute(DataType="date")] This is probably basic to some, but was helpful to me.

No Internet Access with Linksys WRT54G v2.2

Just a note - I personally did NOT find the solution to this problem, I'm simply reposting details about my problem and the solution I found on the linksys forums.  I figure the more the info gets out there, the better.  Plus, I seem to be good at getting results of searches to my site for my technical problems I've solved or found answers to. The details: First, we have Cox cable as our ISP.  We normally have had great access with no problems.  We have a Linksys cable modem and the Linksys WRT54G v2.2 wireless router.  The problem started after a...

Dell Inspiron 1720 Brightness on Battery

I have a Dell Inspiron 1720 and wasn't happy with the brightness, even after pressing Fn up arrow - it would only get so bright.  Despite trying everything within Windows to make it brighter, it occurred to me there might be a setting in the BIOS and there is. On startup, press F2 to enter the BIOS setup and expand the "Video" option.  There should be two options beneath that - "Brightness" and "Brightness (AC)".  Select "Brightness" and change the value to 8 instead of 3.  It's brighter on AC b/c the "Brightness (AC)" default is 8 whereas on battery, the...

Microsoft Integrating JQuery with VS

Someone in the blogosphere (can't remember who) had recently said they would like to see Microsoft start working with open source projects, include it in their products and yet leave it unchanged and open source, all the while contributing back to the original project. Well, they're going to include JQuery in Visual Studio going forward as well as other products. It will have IntelliSense support, too! This is great news from Microsoft and hopefully the beginning of much more support for open source projects. The announcement by Scott Guthrie is at http://weblogs.asp.net/scottgu/archive/2008/09/28/jquery-and-microsoft.aspx Here's another announcement by a member of...

A Geek I Am

I'm reading/learning/studying LINQ using the book "Pro LINQ: Language Integrated Query in C# 2008" by Joe Rattz.  First, I must say it's an outstanding book - the writing is clear, littered with code, easy to read and sometimes even funny.  On page 226, Joe makes the statement: LINQ to XML actually makes traversing an XML tree fun. OMG, I am such a geek, because I was thinking almost exactly that as I read the code sample in question.

MS CRM 4.0 Error in "presence.htc"

2008-05-08 Update: Before I posted what I found, I had searched the web and found a usenet posting by Peter Zimmermann of www.ambit.ch asking the same question I was trying to answer.  I sent him a note about what I'd found.  He said they had dug through it and found the root of the problem is having contact with a blank last name.  Indeed, I found that on the page in question there were contacts that had been imported with no last name.  Thanks to Peter for the update and the further investigation. -- end update -- After upgrading a customer from MS...

Using the Dell Outlet

As a side note to my post about my machine freezing while reinstalling Windows Vista Home Premium on my new Dell Inspiron 1720, I used the Dell Outlet to purchase the laptop as a refurbished machine. I got a great price ($655 after shipping & tax) for a laptop with a 1.5 GHz Intel dual core processor, 2GB RAM, a 160GB hard drive, a webcam, a 17" screen plus a few other things I probably forgot about and I must say I'm pleased (so far).  Not only did I get a good deal, but I also get the full warranty.  Hard...

Dell Inspiron 1720 Install Freezing

I recently ordered a Dell Inspiron 1720.  After I got it, the first thing I did was to reinstall the OS (Window Vista Home Premium) to really clear out the crap that Dell installs with it.  Uninstalling the software wasn't clean enough for me.  When I did, I ran into a problem with the reinstall where it would get to the fifth step, "Completing Installation", freeze and just sit there looking at me.  The progress bar stopped and nothing happened. After trying it a second time and having that fail, I started considering options.  Then I remembered having seen on the...

Strange Error on Virtual PC

Entry updated 2008-02-13... I've figured out the actual cause of error message "The virtual machine is using a video mode that is too large for your monitor" and a way to solve the problem without a reboot.  Consider the following scenario: You have 3 computers: a work PC (a physical machine), a home PC (also a physical machine), and a VPC running on your work PC.  You have a nice big 20" monitor at work and set the video mode on the VPC to a resolution to take advantage of your work PC's display capabilities (say, 1600x1200).  It's capabilities, however, are beyond...