Feedback
 
Did this article resolve your question/issue?

   

Your feedback is appreciated.

Please tell us how we can make this article more useful. Please provide us a way to contact you, should we need clarification on the feedback provided or if you need further assistance.

Characters Remaining: 1025

 


Article

GUI .Net Application crashes after .Net upgrade to 4.7

« Go Back

Information

 
Article Number000083172
EnvironmentProduct: OpenEdge
Version: 11.x
OS: Windows
Question/Problem Description
GUI .Net Application crashes after .Net upgrade to 4.7

An ABL GUI .Net application has been compiled and deployed to a Windows platform installed with .Net 4.6.1, and the application works as expected.  But if there is a Windows update that installs .Net 4.7, this causes the application to crash at runtime.  

The application code hasn't changed, been recompiled and OpenEdge hasn't changed in any way.  The only known change is that .Net 4.7 has been installed.  

Windows Update KB3186497 installs Microsoft .Net 4.7.  See - https://support.microsoft.com/en-gb/help/3186497/the-net-framework-4-7-offline-installer-for-windows
 
When the crash happens the error displayed is an access violation, the stack trace for the problem is:

Call Stack:
Address   Frame
6A9AA590  0032AF44  rnudfunc_runfromproxy+60
6ACD813F  0032B28C  Progress::ClrBridge::rnProFromClr::InvokeMethod+7F
67DD623D  0032B2A8  0003:0002423D C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
683E1436  0032B2BC  0003:0062F436 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
683E5840  0032B2D4  0003:00633840 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
6873D542  0032B2FC  0003:0098B542 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC9DA3  0032B304  0003:00017DA3 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC9D35  0032B318  0003:00017D35 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC9C60  0032B368  0003:00017C60 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
6873B2AA  0032B3A8  0003:009892AA C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
0FFE45A5  0032B7A0  0000:00000000 
683D530E  0032B810  0003:0062330E C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
753262FA  0032B83C  gapfnScSendMessage+332
75326D3A  0032B8B4  GetThreadDesktop+D7
75326DE8  0032B910  GetThreadDesktop+185
75326E44  0032B94C  GetThreadDesktop+1E1
774F011A  0032B9C4  KiUserCallbackDispatcher+2E
753296C5  0032B9E8  SendMessageW+4C
7533ADAB  0032BA28  MapVirtualKeyExW+A7F
7533ADBD  0032BA5C  MapVirtualKeyExW+A91
7533968A  0032BA78  DefMDIChildProcW+18
6873D74A  0032BAC0  0003:0098B74A C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC9EA8  0032BB0C  0003:00017EA8 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DD2D70  0032BB18  0003:00020D70 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DD2A55  0032BB40  0003:00020A55 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC9DA3  0032BB48  0003:00017DA3 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC9D35  0032BB5C  0003:00017D35 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC9C60  0032BBAC  0003:00017C60 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
6873B2AA  0032BBEC  0003:009892AA C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
0FFE45A5  0032BFE4  0000:00000000 
683D530E  0032C054  0003:0062330E C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
753262FA  0032C080  gapfnScSendMessage+332
75326D3A  0032C0F8  GetThreadDesktop+D7
75326DE8  0032C154  GetThreadDesktop+185
75326E44  0032C190  GetThreadDesktop+1E1
774F011A  0032C214  KiUserCallbackDispatcher+2E
75339543  0032C234  ShowOwnedPopups+44
753262FA  0032C260  gapfnScSendMessage+332
75326D3A  0032C2D8  GetThreadDesktop+D7
75330D3F  0032C310  GetClientRect+C5
75330D65  0032C330  CallWindowProcW+1B
67DCA376  0032C378  0003:00018376 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DCA31F  0032C3C8  0003:0001831F C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
685547EE  0032C3E0  0003:007A27EE C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC9DA3  0032C3E8  0003:00017DA3 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC9D35  0032C3FC  0003:00017D35 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC9C60  0032C44C  0003:00017C60 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
6873B2AA  0032C48C  0003:009892AA C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67E132C6  0032C584  0003:000612C6 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC9C60  0032C5D4  0003:00017C60 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
6873B2AA  0032C64C  0003:009892AA C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
683D530E  0032C6BC  0003:0062330E C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
753262FA  0032C6E8  gapfnScSendMessage+332
75326D3A  0032C760  GetThreadDesktop+D7
75326DE8  0032C7BC  GetThreadDesktop+185
75326E44  0032C7F8  GetThreadDesktop+1E1
774F011A  0032C870  KiUserCallbackDispatcher+2E
753296C5  0032C894  SendMessageW+4C
67E28994  0032C8D8  0003:00076994 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DD4601  0032C8F4  0003:00022601 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
683E130B  0032C920  0003:0062F30B C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
6B57611C  0032C994  DllCanUnloadNowInternal+3FC
6873ECF7  0032C9AC  0003:0098CCF7 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
683E263A  0032C9B8  0003:0063063A C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DD6DF5  0032C9C4  0003:00024DF5 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DD6CF0  0032C9F0  0003:00024CF0 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DD6AB8  0032CA14  0003:00024AB8 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DD69DC  0032CA30  0003:000249DC C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DD6A3E  0032CA50  0003:00024A3E C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DD6A3E  0032CA70  0003:00024A3E C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DD68D7  0032CA88  0003:000248D7 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DD6862  0032CAA4  0003:00024862 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DD6361  0032CAC4  0003:00024361 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
683C6D62  0032CADC  0003:00614D62 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
6873A7F4  0032CAF8  0003:009887F4 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC749B  0032CC08  0003:0001549B C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC8624  0032CC44  0003:00016624 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC85E1  0032CC80  0003:000165E1 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC85E1  0032CCBC  0003:000165E1 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC85E1  0032CCF8  0003:000165E1 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC85E1  0032CD34  0003:000165E1 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC8418  0032CD4C  0003:00016418 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DD3E68  0032CD80  0003:00021E68 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC9F38  0032CDCC  0003:00017F38 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DD2D70  0032CDD8  0003:00020D70 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DD3DDC  0032CDE8  0003:00021DDC C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DD2C02  0032CE10  0003:00020C02 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC9DA3  0032CE18  0003:00017DA3 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC9D35  0032CE2C  0003:00017D35 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC9C60  0032CE7C  0003:00017C60 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
6873B2AA  0032CEBC  0003:009892AA C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
0FFE45A5  0032D2B4  0000:00000000 
683D530E  0032D324  0003:0062330E C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
753262FA  0032D350  gapfnScSendMessage+332
75326D3A  0032D3C8  GetThreadDesktop+D7
75326DE8  0032D424  GetThreadDesktop+185
75326E44  0032D460  GetThreadDesktop+1E1
774F011A  0032D744  KiUserCallbackDispatcher+2E
7532AA44  0032D7F8  UnregisterClassW+AC0
75328A5C  0032D834  CreateWindowExW+33
67E29757  0032D900  0003:00077757 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC9227  0032D93C  0003:00017227 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC8A43  0032D9E8  0003:00016A43 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC876B  0032DA44  0003:0001676B C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DD264C  0032DA98  0003:0002064C C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DCA5AC  0032DAA8  0003:000185AC C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
6873D200  0032DAD0  0003:0098B200 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67E093FC  0032DAD8  0003:000573FC C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
6B42EAF6  0032DAE4  0001:0000DAF6 C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
6B431BE9  0032DB38  LogHelp_TerminateOnAssert+619
6B57234C  0032DB78  CreateApplicationContext+25EDC
6B57242D  0032DE90  CreateApplicationContext+25FBD
696AF518  0032DEB4  0003:0003F518 C:\Windows\assembly\NativeImages_v4.0.30319_32\mscorlib\c63857e47a917e45ff227d52324d08a1\mscorlib.ni.dll
696AF096  0032DFB4  0003:0003F096 C:\Windows\assembly\NativeImages_v4.0.30319_32\mscorlib\c63857e47a917e45ff227d52324d08a1\mscorlib.ni.dll
6B42EA5C  0032DFC0  0001:0000DA5C C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
6ACCFB0A  0032DFF0  rnProToClr_invokeMethod+6A
6A816364  0032E028  umDotNetInvokeMethod+B4
6A9A9E30  0032E324  rnudfunc_run+170
6A9AAE7F  0032E360  rnudfuncDotNet+18F
6A6E261B  0032E3A0  fmoo4glRunMethod+CB
6A816811  0032E3DC  umDotNetGetAttr+111
6A9A5BF9  0032E41C  rnproc_entry+2619
6A9A733F  0032E440  rnwdatrx+2F
6A6FBD9F  0032E44C  fmEWDAX+F
6A6FCF80  0032E4A4  fmeval+320
6AA1D629  0032E4C4  rnexpstmt+69
6A9E3BB8  0032E52C  rnexec_entry+2A8
6A9ECC4C  0032E53C  rninterpret+2C
6A836A22  0032E580  umeDispatchEvent+E92
6AC08838  0032E5F8  wwRunDispatcher+1C8
6A96E97E  0032E630  rnHandleExternalEvent+3FE
6A96ED77  0032E674  rnHandleDotNetEvent+D7
6ACD623E  0032E6CC  Progress::ClrBridge::rnProFromClr::HandleUIEvent+5E
0EF85DF2  0032E758  0000:00000000 
0A3106DE  0032E860  0000:00000000 
67DB9A75  0032E8FC  0003:00007A75 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DB9A75  0032E9C4  0003:00007A75 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
683C4AA9  0032E9D8  0003:00612AA9 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
683C7FF8  0032EA34  0003:00615FF8 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
6873B046  0032EA88  0003:00989046 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC9DA3  0032EA90  0003:00017DA3 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC9D35  0032EAA4  0003:00017D35 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC9C60  0032EAF4  0003:00017C60 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
6873B2AA  0032EB4C  0003:009892AA C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
683D530E  0032EBBC  0003:0062330E C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
753262FA  0032EBE8  gapfnScSendMessage+332
75326D3A  0032EC60  GetThreadDesktop+D7
753277C4  0032ECC0  CharPrevW+138
7532788A  0032ECD0  DispatchMessageW+F
67E2AC04  0032ED0C  0003:00078C04 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DD93ED  0032ED90  0003:000273ED C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DD8FFE  0032EDE4  0003:00026FFE C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DD8E70  0032EE10  0003:00026E70 C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
67DC1C8D  0032EE28  0003:0000FC8D C:\Windows\assembly\NativeImages_v4.0.30319_32\System.Windows.Forms\30da8fa10e06e0f8e06a23dd42775744\System.Windows.Forms.ni.dll
6B42EAF6  0032EE34  0001:0000DAF6 C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
6B431BE9  0032EE88  LogHelp_TerminateOnAssert+619
6B57234C  0032EEC8  CreateApplicationContext+25EDC
6B57242D  0032F1E0  CreateApplicationContext+25FBD
696AF561  0032F204  0003:0003F561 C:\Windows\assembly\NativeImages_v4.0.30319_32\mscorlib\c63857e47a917e45ff227d52324d08a1\mscorlib.ni.dll
696AF096  0032F2CC  0003:0003F096 C:\Windows\assembly\NativeImages_v4.0.30319_32\mscorlib\c63857e47a917e45ff227d52324d08a1\mscorlib.ni.dll
6B42EA5C  0032F2D8  0001:0000DA5C C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
6ACCFB78  0032F2F8  rnProToClr_invokeStaticMethod+28
6A8163F6  0032F324  umDotNetInvokeMethod+146
6A9A9E30  0032F620  rnudfunc_run+170
6A9AAE7F  0032F65C  rnudfuncDotNet+18F
6A6E27E4  0032F6A0  fmoo4glStaticMethod+E4
6A815F42  0032F6D4  umDotNetGetStaticAttr+1C2
6A9A5BB0  0032F710  rnproc_entry+25D0
6A9A733F  0032F734  rnwdatrx+2F
6A6FBD9F  0032F740  fmEWDAX+F
6A6FCF80  0032F798  fmeval+320
6AC08A4B  0032F80C  wwRunDispatcher+3DB
6A963395  0032F820  iodispatch+105
6A96933E  0032F85C  rnwaitfor+C2E
6A9E3BB8  0032F8C4  rnexec_entry+2A8
6A9ECC4C  0032F8D4  rninterpret+2C
6A7087FA  0032F8E0  rnrq+12A
6A6B6E5D  0032FA64  drmain+4AD
6A73D20B  0032FA74  ProStartup+5B
00D61230  0032FCA8  WinMain+160
00D61455  0032FD3C  __tmainCRTStartup+150
767A336A  0032FD48  BaseThreadInitThunk+12
77519902  0032FD88  RtlInitializeExceptionChain+63
775198D5  0032FDA0  RtlInitializeExceptionChain+36

 

 
Steps to ReproduceInstall .Net 4.7. Do not change the application code, i.e. run the r-code created on a machine running a previous release of .Net (e.g. 4.6).
Clarifying Information
Uninstalling the .NET 4.7 windows update and revert from .NET 4.7 back to the previous version then the code works as expected.

 
Error MessageSYSTEM ERROR when invoking ABL method OnActivated from .Net
Exception code: C0000005 ACCESS_VIOLATION
Fault address: 710E4000 01:00313000 C:\OE116\bin\prow32.dll
Protrace generated
Defect/Enhancement NumberDefect PSC00359747
Cause
Version 4.7 of the .NET framework implemented new methods and members in System.Windows.Forms.Form and System.Windows.Forms.Control, which all ABL Forms and Controls inherit from. The OpenEdge 11.x release was unable to handle this change since it has not been certified against .NET 4.7.

To be more detailed:
When writing r-code, the compiler enumerates the members/methods/etc in the .NET base classes, referencing them in numerical order, then appends to that the members/methods of the objects you create.

To illustrate:
Progress.Windows.Form inherits System.Windows.Forms.Form which contains the following list of methods and members:
- property X 1
- method Y 2

Then you create a Form that inherits Progress.Windows.Form and add methods and properties, variables, temp-tables, etc to it, these get appended to the offset list of members that we reference internally.
- property V 3
- method W 4

These offsets are written to the r-code, which among other things effects MD5 values and checksums, etc.

When accessing the class members at runtime, using an (earlier/later) .NET version, the member this offset points to is entirely different, causing a variety of undesirable behaviors depending upon where the client is in the stack and other factors.
 
Resolution
Full support for .NET 4.7 will be included in the upcoming OpenEdge 12.0 release, in the meantime a fix for this issue has been implemented in the following releases:
  • OpenEdge 11.6.4 or later.
  • OpenEdge 11.7.2 or later.
Workaround
  • Replace the .Net 4.7 with the previous version
    • If you are unable to upgrade to one of the fix versions, you could likely work around this by de-installing .NET 4.7, then re-installing the version of the .NET framework that you compiled the code on. 

      The following Microsoft article should help to be able to put together a deployment plan to automate this if you're interested:
      https://docs.microsoft.com/en-us/dotnet/framework/deployment/deployment-guide-for-developers

      Since 4.7 is not certified or supported at this time this would probably be best bet if you can't upgrade. 
  • Prevent the users from installing Windows updates that upgrade .Net
  • Recompile the application using a machine with .Net 4.7 installed and redeploy the application
Notes
Attachment 
Last Modified Date11/28/2018 9:29 AM