Hi, I keep getting the above error when trying to run a custom form in my .Net custom code that uses the ManagedMapApi.dll. I'm upgrading from AutoCAD Map 3D 2011 to 2012. In 2011 everything works fine but in 2012 it gives this error.
I've looked and there is a C:\Program Files\Autodesk\AutoCAD Map 3D 2012\ManagedMapApi.dll just like in the 2011 version. I've tried referencing the one in the 2011 folder as well as the 2012 folder. I've changed it from Copy Local -> False to Copy Local -> True and back again with no luck. I've also tried running all these changes on a computer with just AutoCAD Map 3D 2012 and no 2011 installed on it. I've tried it with No service pack upgrades, SP1 and SP2 and still no luck.
Any help would be appreciated, thanks.