robgruen's WebLog

my intelligence is artificial...

Browse by Tags

Tagged Content List
  • Blog Post: Getting a System.Runtime.InteropServices.COMException when trying to use BitmpaMetadata to extract EXIF/XMP data?

    Well if that's the case, it's probably cause you're attempting to use this class from a MTA thread. In order to fix this, just change the apartment of the thread where this code is running from MTA to STA (either using the [STAThread] Attribute or by setting the ApartmentState member of the thread that...
  • Blog Post: Referencing Sharepoint Assemblies on x64bit Installs causes build errors for ASP.NET apps (in VS.NET 2005)

    You may encounter the following error if you are trying to build a ASP.NET application or web service on a x64bit machine where Sharepoint is installed: Error 1 Could not load file or assembly 'Microsoft.SharePoint.Search, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one...
  • Blog Post: Installing Displays #5 & #6 on my workstation

    So I get my third dual head card in the mail the other day and after two days of patient waiting I took the plunge to install it. Well, to make a long story shorter, it took me all day to get working. Typically you just add the video cards and voila, things work without a hitch, well, not this time....
  • Blog Post: How Can You Update Your Computer When the Thing That Updates Your Computer Is Broken?

    Simple, YOU CAN'T!!! For a while now my computer's Automatic Updates has been broken. No new downloads have appeared, the control panel icon is missing, and the Windows Update site can't install the updated ActiveX control. Every time I go to the site it tries to update the WU client and I keep getting...
  • Blog Post: Connection_Dropped Error in the HTTPERR Log for IIS

    I was trying to install a web service on a freshly build W2k3 box. I checked the event log and found: Event code: 3005 Event message: An unhandled exception has occurred. Event time: 1/3/2006 12:50:03 PM Event time (UTC): 1/3/2006 8:50:03 PM Event ID: e85fe2d9c6c84f9287d5bed943869d42 ...
  • Blog Post: Here's a cryptic RegAsm Error you might see with VS.NET 2005

    Microsoft (R) .NET Framework Assembly Registration Utility 2.0.50727.42 Copyright (C) Microsoft Corporation 1998-2004. All rights reserved. RegAsm : error RA0000 : Could not load file or assembly 'MyAssembly, Version=0.0. 0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Exception...
  • Blog Post: The Case of the Mysterious Hanging Shell

    Please note that the identities mentioned in this story have been changed to protect the innocent. Any names that coincide with real life people is purely coincidental. So there I was, calmly working away when I get the phone call that started it all. I pick up the phone, “Hello?” I ask. ...
  • Blog Post: Caspol -s Behavioral changes for Whidbey

    We generally use "caspol.exe -s off" as a quick test to determine if .NET framework security plays a part in problems with managed components. It used to be that sometimes people would forget to run "caspol.exe -s on" to turn framework security on. Imagine all the nasties that could infect your box then...
  • Blog Post: Magic Trick: RPC Debugging Excercise

    What you need for this exercise: An out of proc COM server A client attempting to call the exe in #1 #2 is getting the below hr returned by a call to #1 // From WinError.h // MessageId: RPC_E_DISCONNECTED // // MessageText: // // The object invoked has disconnected...
  • Blog Post: What’s “Enable RPC Debugging” option in VS.NET?

    The “Enable RPC Debugging” option is a somewhat well hidden option in Visual Studio .NET. It is available in VS.NET 2002, 2003 & 2005. You can set/clear this option by navigating to the Tools menu and selecting Options . On the options dialog select the Debugging->Native property page. Unfortunately...
  • Blog Post: Debugging VB6 binaries in Visual Studio .NET

    If you are using interop to call into a VB6 ActiveX dll or exe and you need to debug your VB6 project you may find yourself having both VS.NET and the VB6 IDE open. This can certainly be far from efficient. Typically you set your VB6 project to “Wait for the Component to be created” and you launch your...
Page 1 of 1 (11 items)