I’m working with one of my peers from Houston today to install a regression testing tool on our local server. We’re troubleshooting an installation that involves an old, old VB6 COM component that is being called via interop by .Net 1.0 code. Can you say ouch? We’re getting the dreaded “Type Mismatch” exception. I’m seeing, hearing, and doing things I’d hoped never to experience again.
- “Did you un-register first?”
- “Can you check the registry to see if the XYZ DLL is registered?”
- “Can you check the registry to see where the DLL is registered?”
- “Do you have the right GUID’s?” — As if anybody has ever known the answer to this one.
- “Is there another copy of this DLL somewhere on the box?”
Just to sum it up, I remember why I love .Net. XCOPY rules. I’m going to spend the rest of today trying to forget about this crap. As soon as we make the COM thing work.
EDIT — The VB6 code uses RDO!!!!! I’m not old enough to have seen this in the wild before. I gotta go looking for GOSUB statements now.