You are currently reviewing an older revision of this page.
Encountering an error setting up 7.8 remote after a new custom UOM was added to APM.
Initialize and download work, but then running the client post-download comes up with the following error in the log file:
Exception Type: Ivara.PL.Exceptions.InvalidActivityExceptionMessage: AccessViolationException, with message Attempted to read or write protected memory. This is often an indication that other memory is corrupt., caught at: [?InstanceInitializeSession@Server@PL@Ivara@@$$FAE$AAMXPE$AAVSession@23@_NW4eClientRunAsUserType@Data@23@PE$AAVForm@Forms@Windows@System@@@Z,Server.cpp,1930]Stack Trace: at Ivara.PL.Server.Initialize(String perfmonCategory, Boolean codeFree, Boolean genCacheMode, String serverInstanceName, Boolean loadserviceProviders, MessageBoxCallbackBase msgBoxCallback, egSessionTypes eType, eClientRunAsUserType runAsUser, String applicationProviderName, Form parentWindow) at Ivara.Server.IvaraServer.Initialize(RunMode runMode, Form parent, String username, String password, eClientRunAsUserType runAsUserType)
=============================================
Inner Exception:Exception Type: System.AccessViolationExceptionMessage: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.Stack Trace: at UOMConversionFactor.load() at Ivara.PL.Server.LoadUOMs() at Ivara.PL.Server.InstanceInitializeSession(Session pSession, Boolean isServerSession, eClientRunAsUserType eClientRunAsType, Form parentWindow)
This issue has been resolved. User had previously disabled cache prefetch (startup option in Configuration), which was the cause of this problem.
Once re-enabled, the error disappeared.