AutoCAD Civil 3D General Discussion

AutoCAD Civil 3D General Discussion

Posts: 13
Registered: ‎04-10-2001
Message 1 of 2 (602 Views)

MapExport in - FatalExecutionEngineError

602 Views, 1 Replies
03-31-2013 04:15 PM




My code is


Imports Autodesk.AutoCAD.Interop

Imports Autodesk.AutoCAD.Interop.Common


Dim oAcad As AcadApplication = Application.AcadApplication

oAcad.ActiveDocument.SendCommand("-mapexport" & vbCr & "FDO_SDF" & vbCr & "test.sdf" & vbCr & "_N" & "_P" & vbCr)




the result is



The runtime has encountered a fatal error. The address of the error was at 0xe1b6d735, on thread 0x1018. The error code is 0xc0000005. This error may be a bug in the CLR or in the unsafe or non-verifiable portions of user code. Common sources of this bug include user marshaling errors for COM-interop or PInvoke, which may corrupt the stack.



   Civil 2013

   Windos 7 64




The "-map2sdf" does not create problems but "-mapexport" does. I am trying to create a sdf3 file. Any help would be realy appreciate.




*Expert Elite*
Posts: 2,865
Registered: ‎04-27-2005
Message 2 of 2 (598 Views)

Re: MapExport in - FatalExecutionEngineError

03-31-2013 04:22 PM in reply to: pcardinal

Might want to post your question HERE instead.

Brian Hailey
My Blog
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.