Infrastructure Map Server Forum
Welcome to Autodesk’s Infrastructure Map Server Forums. Share your knowledge, ask questions, and explore popular Infrastructure Map Server topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error while importing DWG using Autodesk Infrastructure Studio

2 REPLIES 2
Reply
Message 1 of 3
akruth
425 Views, 2 Replies

Error while importing DWG using Autodesk Infrastructure Studio

Hi,

 

importing the provided example dwg files with Autodesk Infrastructure Studio 2014 worked fine.

Now I want to import a file provided by our customer with a lot of layers and then the Studio crashed.

 

Windows error log contains a message like this:

 

System.AccessViolationException
Stapel:
   bei <Module>.MdfModel.SimpleSymbolDefinition.GetPointUsage(MdfModel.SimpleSymbolDefinition*)
   bei Autodesk.MapGuide.Studio.Load.DwgLoadProcedure.BlocksToSymbols(System.String, AcDbDatabase*, Autodesk.MapGuide.Studio.Site.PackageWriter, Autodesk.MapGuide.Studio.Site.SiteConnection)
   bei Autodesk.MapGuide.Studio.Load.DwgLoadProcedure.WriteSymbolsOnly(Autodesk.MapGuide.Studio.Site.PackageWriter, Autodesk.MapGuide.Studio.Site.SiteConnection)
   bei Autodesk.MapGuide.Studio.Load.DwgLoadProcedure.Execute(System.String, Autodesk.MapGuide.Studio.Site.SiteConnection, Boolean)
   bei Autodesk.MapGuide.Studio.Load.LoadProcedure.Execute(Autodesk.MapGuide.Studio.Site.SiteConnection, Boolean)
   bei Autodesk.MapGuide.Studio.UI.LoadProcedureEditors.CustomEditorBase.Execute()
   bei Autodesk.MapGuide.Studio.Dwg.UI.LoadProcedureEditors.Dwg.Execute()
   bei Autodesk.MapGuide.Studio.UI.LoadProcedureEditors.LoadProcedureEditor.buttonLoadData_Click(System.Object, System.EventArgs)
   bei System.Windows.Forms.Control.OnClick(System.EventArgs)
   bei System.Windows.Forms.Button.OnClick(System.EventArgs)
   bei System.Windows.Forms.Button.WndProc(System.Windows.Forms.Message ByRef)
   bei System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
   bei System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
   bei System.Windows.Forms.UnsafeNativeMethods.SendMessage(System.Runtime.InteropServices.HandleRef, Int32, IntPtr, IntPtr)
   bei System.Windows.Forms.Control.SendMessage(Int32, IntPtr, IntPtr)
   bei System.Windows.Forms.Control.ReflectMessageInternal(IntPtr, System.Windows.Forms.Message ByRef)
   bei System.Windows.Forms.Control.WmCommand(System.Windows.Forms.Message ByRef)
   bei System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
   bei System.Windows.Forms.ScrollableControl.WndProc(System.Windows.Forms.Message ByRef)
   bei System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
   bei System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
   bei System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr, IntPtr, Int32, IntPtr, IntPtr)
   bei System.Windows.Forms.NativeWindow.DefWndProc(System.Windows.Forms.Message ByRef)
   bei System.Windows.Forms.Control.DefWndProc(System.Windows.Forms.Message ByRef)
   bei System.Windows.Forms.Control.WmMouseUp(System.Windows.Forms.Message ByRef, System.Windows.Forms.MouseButtons, Int32)
   bei System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
   bei System.Windows.Forms.ButtonBase.WndProc(System.Windows.Forms.Message ByRef)
   bei System.Windows.Forms.Button.WndProc(System.Windows.Forms.Message ByRef)
   bei System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
   bei System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
   bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
   bei System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
   bei System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
   bei System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
   bei System.Windows.Forms.Application.Run(System.Windows.Forms.Form)
   bei Autodesk.MapGuide.Studio.Main.Splash.Main(System.String[])

 

Does anybody know what causes this problem and what I could do?

 

 

Regards,

Alex.

2 REPLIES 2
Message 2 of 3
akruth
in reply to: akruth

Any ideas?

Message 3 of 3
gluckett
in reply to: akruth

If your DWG has Object Data or Link Templates you are going to need the HOTFIX for AIMS

http://knowledge.autodesk.com/support/infrastructure-map-server/downloads/caas/downloads/content/aut...

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report