So even when I try to do a netload and then find the ManagedMapApi.dll in C:\Program Files\Autodesk\AutoCAD Map 3D 2012\ManagedMapApi.dll it gives me the following error, however when I do the same in Map 2011 it properly loads ManagedMapApi.dll with no error. It also gives this error on two different installs of Map 3D 2012 so it's not because of a random install problem.
Cannot load assembly. Error details: System.IO.FileNotFoundException: Could not
load file or assembly 'ManagedMapApi.dll' or one of its dependencies. The
specified module could not be found.
File name: 'ManagedMapApi.dll'
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String
codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint,
StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean
forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName
assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile,
Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm
hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks,
StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at Autodesk.AutoCAD.Runtime.ExtensionLoader.Load(String fileName)
at loadmgd()
The rest of the message from above is this:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IO.FileNotFoundException: Could not load file or assembly 'ManagedMapApi.dll' or one of its dependencies. The specified module could not be found.
File name: 'ManagedMapApi.dll'
at MGICAD.drawingSetting.getCS()
at MGICAD.DrawingSettings.FormInit()
at MGICAD.DrawingSettings..ctor()
at MGICAD.MGICom.DrawingSetting()
at Autodesk.AutoCAD.Runtime.CommandClass.InvokeWorker(MethodInfo mi, Object commandObject, Boolean bLispFunction)
at Autodesk.AutoCAD.Runtime.CommandClass.InvokeWorkerWithExceptionFilter(MethodInfo mi, Object commandObject, Boolean bLispFunction)
at Autodesk.AutoCAD.Runtime.PerDocumentCommandClass.Invoke(MethodInfo mi, Boolean bLispFunction)
at Autodesk.AutoCAD.Runtime.CommandClass.CommandThunk.Invoke()
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.269 (RTMGDR.030319-2600)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Acdbmgd
Assembly Version: 18.2.0.0
Win32 Version: 18.2.51.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/AcdbMgd.DLL
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.269 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
AdApplicationFrame
Assembly Version: 0.0.0.0
Win32 Version: 3.2.23.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/AdApplicationFrame.DLL
----------------------------------------
msvcm90
Assembly Version: 9.0.30729.6161
Win32 Version: 9.00.30729.6161
CodeBase: file:///C:/Windows/WinSxS/amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_08e61857a83bc251/msvcm90.dll
----------------------------------------
AdWindows
Assembly Version: 3.2.25.0
Win32 Version: 3.2.25.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/AdWindows.DLL
----------------------------------------
PresentationFramework
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.275
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
WindowsBase
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.275 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
PresentationCore
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.275 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_64/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
System.Xaml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.233 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
PresentationFramework.Aero
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.282 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Acmgd
Assembly Version: 18.2.0.0
Win32 Version: 18.2.205.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/Acmgd.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
AcWindows
Assembly Version: 18.2.0.0
Win32 Version: 18.2.205.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/AcWindows.DLL
----------------------------------------
AcCui
Assembly Version: 18.2.0.0
Win32 Version: 18.2.51.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/AcCui.DLL
----------------------------------------
AcWindows.resources
Assembly Version: 18.2.0.0
Win32 Version: 18.2.51.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/en-US/AcWindows.resources.DLL
----------------------------------------
AcCustomize
Assembly Version: 18.2.0.0
Win32 Version: 18.2.51.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/AcCustomize.DLL
----------------------------------------
AcCustomize.resources
Assembly Version: 18.2.0.0
Win32 Version: 18.2.51.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/en-US/AcCustomize.resources.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.278 built by: RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
AcWelcomeScreen
Assembly Version: 18.2.0.0
Win32 Version: 18.2.51.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/AcWelcomeScreen.DLL
----------------------------------------
AcWelcomeScreen.resources
Assembly Version: 18.2.0.0
Win32 Version: 18.2.51.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/en-US/AcWelcomeScreen.resources.DLL
----------------------------------------
AcMapInfoCenter
Assembly Version: 15.0.204.1
Win32 Version: 15.0.204.1
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/AcMapInfoCenter.DLL
----------------------------------------
AcWorkspaceSelector
Assembly Version: 15.0.204.1
Win32 Version: 15.0.204.1
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/bin/AcWorkspaceSelector.DLL
----------------------------------------
ManagedMC3
Assembly Version: 5.8.0.0
Win32 Version: 5.8.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/ManagedMC3.DLL
----------------------------------------
Topobase.FeatureSearch
Assembly Version: 9.0.204.0
Win32 Version: 9.00.204.00
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/bin/Topobase.FeatureSearch.DLL
----------------------------------------
Topobase.Genuine
Assembly Version: 9.0.204.0
Win32 Version: 9.00.204.00
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/bin/Topobase.Genuine.DLL
----------------------------------------
Topobase.Forms
Assembly Version: 9.0.204.0
Win32 Version: 9.00.204.00
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/bin/Topobase.Forms.DLL
----------------------------------------
Topobase.Map
Assembly Version: 9.0.204.0
Win32 Version: 9.00.204.00
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/bin/Topobase.Map.DLL
----------------------------------------
Topobase.PlugInHandler
Assembly Version: 9.0.204.0
Win32 Version: 9.00.204.00
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/bin/Topobase.PlugInHandler.DLL
----------------------------------------
Topobase.ImageResources
Assembly Version: 9.0.53.0
Win32 Version: 9.00.53.00
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/bin/Topobase.ImageResources.DLL
----------------------------------------
Topobase.Map.GWS.TBExporter.UI
Assembly Version: 9.0.204.0
Win32 Version: 9.00.204.00
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/bin/Topobase.Map.GWS.TBExporter.UI.DLL
----------------------------------------
Topobase.Map.Loader
Assembly Version: 9.0.204.0
Win32 Version: 9.00.204.00
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/bin/Topobase.Map.Loader.DLL
----------------------------------------
log4net
Assembly Version: 1.2.10.0
Win32 Version: 1.2.10.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/bin/log4net.DLL
----------------------------------------
Topobase.Config
Assembly Version: 9.0.204.0
Win32 Version: 9.00.204.00
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/bin/Topobase.Config.DLL
----------------------------------------
Topobase.Logging
Assembly Version: 9.0.204.0
Win32 Version: 9.00.204.00
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/bin/Topobase.Logging.DLL
----------------------------------------
Topobase.ExceptionDialog
Assembly Version: 9.0.204.0
Win32 Version: 9.00.204.00
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/bin/Topobase.ExceptionDialog.DLL
----------------------------------------
Topobase.Exception
Assembly Version: 9.0.204.0
Win32 Version: 9.00.204.00
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/bin/Topobase.Exception.DLL
----------------------------------------
Topobase.Services
Assembly Version: 9.0.204.0
Win32 Version: 9.00.204.00
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/bin/Topobase.Services.DLL
----------------------------------------
Topobase.Collections
Assembly Version: 9.0.204.0
Win32 Version: 9.00.204.00
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/bin/Topobase.Collections.DLL
----------------------------------------
Topobase.FeatureServiceListener
Assembly Version: 9.0.204.0
Win32 Version: 9.00.204.00
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/bin/Topobase.FeatureServiceListener.DLL
----------------------------------------
Topobase.Tools
Assembly Version: 9.0.204.0
Win32 Version: 9.00.204.00
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/bin/Topobase.Tools.DLL
----------------------------------------
Autodesk.Map.Platform.Core
Assembly Version: 15.0.204.1
Win32 Version: 15.0.204.1
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/Autodesk.Map.Platform.Core.DLL
----------------------------------------
OSGeo.MapGuide.PlatformBase
Assembly Version: 2.3.0.5080
Win32 Version: 1.0.0.1
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/OSGeo.MapGuide.PlatformBase.DLL
----------------------------------------
OSGeo.MapGuide.Foundation
Assembly Version: 2.3.0.5080
Win32 Version: 1.0.0.1
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/OSGeo.MapGuide.Foundation.DLL
----------------------------------------
Topobase.RibbonItems
Assembly Version: 9.0.204.0
Win32 Version: 9.00.204.00
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/bin/Topobase.RibbonItems.DLL
----------------------------------------
MGICAD
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Maltais%20Geomatics%20Inc/MGICAD.dll
----------------------------------------
ContextualTabSelectorRules
Assembly Version: 0.0.0.0
Win32 Version: 18.2.205.0.0
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/AcWindows.dll
----------------------------------------
AcMapRibbonWrapper
Assembly Version: 15.0.204.1
Win32 Version: 15.0.204.1
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/AcMapRibbonWrapper.DLL
----------------------------------------
AcMapRibbon
Assembly Version: 15.0.204.1
Win32 Version: 15.0.204.1
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/AcMapRibbon.DLL
----------------------------------------
Topobase.Map.AutoCAD.ContextualTabHelper
Assembly Version: 9.0.204.0
Win32 Version: 9.00.204.00
CodeBase: file:///C:/Program%20Files/Autodesk/AutoCAD%20Map%203D%202012/bin/Topobase.Map.AutoCAD.ContextualTabHelper.DLL
----------------------------------------
WindowsFormsIntegration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsFormsIntegration/v4.0_4.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll
----------------------------------------
Autodesk.AutoCAD.Interop
Assembly Version: 18.2.0.0
Win32 Version: 18.2.51.0.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Autodesk.AutoCAD.Interop/18.2.0.0__eed84259d7cbf30b/Autodesk.AutoCAD.Interop.dll
----------------------------------------
Autodesk.AutoCAD.Interop.Common
Assembly Version: 18.2.0.0
Win32 Version: 18.2.51.0.0
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Autodesk.AutoCAD.Interop.Common/18.2.0.0__eed84259d7cbf30b/Autodesk.AutoCAD.Interop.Common.dll
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 10.0.30319.1 built by: RTMRel
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Thanks for the help, don't know if that extra information will be helpful or not.