Quantcast
Channel: OpenRoads | OpenSite Forum - Recent Threads
Viewing all articles
Browse latest Browse all 15087

[SS4] .NET Error: Attempted to read or write protected memory. at Bentley.DgnCache.FindAppData

$
0
0

Running Power Geopak SS4 .872, I just created two new surface feature definitions and applied a brand new element template for each of them. Everything seemed fine. When I attempted to cycle through the dynamic cross sections to see the results and convince myself that it had been applied properly, this exception was raised.

************** Exception Text **************
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at Bentley.DgnCache.FindAppData(DgnCache* , Key* )
   at Bentley.Civil.Model.MSPlugIn.modelRef_findReferenceModelToCache(DgnModelRef* rootModel, Boolean includeRoot, Boolean inReferenceDgnFile, DgnCache* targetCache, DgnRepositoryConnection dgnConnection)
   at Bentley.Civil.Model.MSPlugIn.dgnCache_getModelRefViaCurrentRefAttachmentsFromHomeModel(DgnRepositoryConnection connection, DgnModelRef* homeModel, DgnModelRef* candidateTargetModel, DgnCache* targetCache, Boolean forGeometry)
   at Bentley.Civil.Model.MSPlugIn.setupViewForCrossSection(Viewport* viewport, ViewInfo* viewInfo, Char* alignmentObjectKey, Char* namedObjectKey, Double station, Double leftWidth, Double rightWidth, Double interval)
   at rdLink_SetPreviousCorridorCrossSectionView(Int32 , Double* )
   at Bentley.Civil.RoadwayDesigner.RoadwayDesignerPlugin.DisplayCrossectioninView(CrossSectionDisplay crossSectionDisplay, Int32 viewIndex)
   at Bentley.Civil.RoadwayDesigner.RDManager.DisplayCrossectioninView(CrossSectionDisplay crossSectionDisplay, Int32 viewIndex)
   at Bentley.Civil.CadSystem.Microstation.MstnViewManager.PreviousStation(String unparsed)
   at Bentley.Internal.MicroStation.CoreHook.DispatchNoHandler(UInt32* argStack, UInt32 mysp, IntPtr pFunc)
   at Bentley.Internal.MicroStation.CoreHook.Dispatch(UInt32* argStack, UInt32 mysp, IntPtr pFunc)

Viewing all articles
Browse latest Browse all 15087

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>