Infrastructure Map Server General Discussion

Infrastructure Map Server General Discussion

Reply
New Member
akruth
Posts: 2
Registered: ‎02-10-2014
Message 1 of 3 (173 Views)

Error while importing DWG using Autodesk Infrastructure Studio

173 Views, 2 Replies
02-10-2014 02:25 AM

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.

New Member
akruth
Posts: 2
Registered: ‎02-10-2014
Message 2 of 3 (139 Views)

Re: Error while importing DWG using Autodesk Infrastructure Studio

02-17-2014 06:37 AM in reply to: akruth

Any ideas?

Valued Mentor
gluckett
Posts: 426
Registered: ‎10-10-2003
Message 3 of 3 (94 Views)

Re: Error while importing DWG using Autodesk Infrastructure Studio

04-10-2014 06:11 AM 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...
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
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.