Quantcast
Channel: Measurement Studio for .NET Languages topics
Viewing all articles
Browse latest Browse all 1999

System.IO.FileLoadException after switching to NI 2019

$
0
0

Hello,

I recently switched to NI 2019 and didn't realize that once my apps are deployed on a "production" system, they crash with "System.IO.FileLoadException".  I searched this forum and looks like it could be a mismatch with .NET version or something related.

 

  • Before I switched from 2015 to 2019 they worked fine on production systems.
  • Apps work fine on my computer and on the build machine (both have Measurement Studio 2019 installed)
  • I install the following as I always did, only this time it's 2019 instead of 2015:
    • NI.Common.dll
    • NI.Controls.dll
    • NI.Controls.Graphs.dll
  • Building targeting .NET 4.7.2

I attached all files I could gather for troubleshooting.  Please let me know what I am missing.  Thank you!

 

Edit:  this is what's inside .wer file

Version=1
EventType=CLR20r3
EventTime=132083006954137528
ReportType=2
Consent=1
ReportIdentifier=c3fbdc38-acbe-11e9-9bf5-54ee7530faae
IntegratorReportIdentifier=c3fbdc37-acbe-11e9-9bf5-54ee7530faae
Response.type=4
Sig[0].Name=Problem Signature 01
Sig[0].Value=ExpressCompTool.exe
Sig[1].Name=Problem Signature 02
Sig[1].Value=1.0.0.20
Sig[2].Name=Problem Signature 03
Sig[2].Value=ab5836b7
Sig[3].Name=Problem Signature 04
Sig[3].Value=ExpressCompTool
Sig[4].Name=Problem Signature 05
Sig[4].Value=1.0.0.20
Sig[5].Name=Problem Signature 06
Sig[5].Value=ab5836b7
Sig[6].Name=Problem Signature 07
Sig[6].Value=1
Sig[7].Name=Problem Signature 08
Sig[7].Value=3f
Sig[8].Name=Problem Signature 09
Sig[8].Value=System.IO.FileLoadException
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=6.1.7601.2.1.0.256.48
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=1033
DynamicSig[22].Name=Additional Information 1
DynamicSig[22].Value=52a4
DynamicSig[23].Name=Additional Information 2
DynamicSig[23].Value=52a47bae162b5056874cd9b250824114
DynamicSig[24].Name=Additional Information 3
DynamicSig[24].Value=19d8
DynamicSig[25].Name=Additional Information 4
DynamicSig[25].Value=19d899072b5974d4d62c96d0f9ec7235
UI[2]=C:\Diagnostics\ExpressCompTool.exe
UI[3]=HF Comprehensive Tool has stopped working
UI[4]=Windows can check online for a solution to the problem.
UI[5]=Check online for a solution and close the program
UI[6]=Check online for a solution later and close the program
UI[7]=Close the program
LoadedModule[0]=C:\Diagnostics\ExpressCompTool.exe
LoadedModule[1]=C:\Windows\SYSTEM32\ntdll.dll
LoadedModule[2]=C:\Windows\SYSTEM32\MSCOREE.DLL
LoadedModule[3]=C:\Windows\system32\KERNEL32.dll
LoadedModule[4]=C:\Windows\system32\KERNELBASE.dll
LoadedModule[5]=C:\Windows\system32\ADVAPI32.dll
LoadedModule[6]=C:\Windows\system32\msvcrt.dll
LoadedModule[7]=C:\Windows\SYSTEM32\sechost.dll
LoadedModule[8]=C:\Windows\system32\RPCRT4.dll
LoadedModule[9]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscoreei.dll
LoadedModule[10]=C:\Windows\system32\SHLWAPI.dll
LoadedModule[11]=C:\Windows\system32\GDI32.dll
LoadedModule[12]=C:\Windows\system32\USER32.dll
LoadedModule[13]=C:\Windows\system32\LPK.dll
LoadedModule[14]=C:\Windows\system32\USP10.dll
LoadedModule[15]=C:\Windows\system32\IMM32.DLL
LoadedModule[16]=C:\Windows\system32\MSCTF.dll
LoadedModule[17]=C:\Windows\system32\nvinitx.dll
LoadedModule[18]=C:\PROGRA~2\Sophos\SOPHOS~1\SOPHOS~2.DLL
LoadedModule[19]=C:\Windows\system32\PSAPI.DLL
LoadedModule[20]=C:\Windows\system32\VERSION.dll
LoadedModule[21]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clr.dll
LoadedModule[22]=C:\Windows\system32\MSVCR120_CLR0400.dll
LoadedModule[23]=C:\Windows\assembly\NativeImages_v4.0.30319_64\mscorlib\b308b9c61f65cf2dfd876031ee385ba4\mscorlib.ni.dll
LoadedModule[24]=C:\Windows\system32\ole32.dll
LoadedModule[25]=C:\Windows\system32\CRYPTBASE.dll
LoadedModule[26]=C:\Windows\system32\uxtheme.dll
LoadedModule[27]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System\095a3392942c3d4eb888e6a32036acd8\System.ni.dll
LoadedModule[28]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Core\75913bbaf1bee617a94dcd6b5df12a5d\System.Core.ni.dll
LoadedModule[29]=C:\Windows\assembly\NativeImages_v4.0.30319_64\WindowsBase\6110ecf056356557d5798a1583a1c434\WindowsBase.ni.dll
LoadedModule[30]=C:\Windows\system32\CRYPTSP.dll
LoadedModule[31]=C:\Windows\system32\rsaenh.dll
LoadedModule[32]=C:\Windows\assembly\NativeImages_v4.0.30319_64\PresentationCore\ceff7eae18ed09ff1116ebf9af497790\PresentationCore.ni.dll
LoadedModule[33]=C:\Windows\assembly\NativeImages_v4.0.30319_64\Presentatio5ae0f00f#\3d01d2b7bde19d91d70c4ff96eea3432\PresentationFramework.ni.dll
LoadedModule[34]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Xaml\76a6a6b0f7fb1fbd64a800b5fc3d47bb\System.Xaml.ni.dll
LoadedModule[35]=C:\Windows\system32\dwrite.dll
LoadedModule[36]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\wpfgfx_v0400.dll
LoadedModule[37]=C:\Windows\system32\MSVCP120_CLR0400.dll
LoadedModule[38]=C:\Windows\system32\OLEAUT32.dll
LoadedModule[39]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\WPF\PresentationNative_v0400.dll
LoadedModule[40]=C:\Windows\system32\api-ms-win-core-xstate-l2-1-0.dll
LoadedModule[41]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\clrjit.dll
LoadedModule[42]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\nlssorting.dll
LoadedModule[43]=C:\Windows\system32\WRusr.dll
LoadedModule[44]=C:\Windows\system32\SHELL32.dll
LoadedModule[45]=C:\Windows\system32\MSIMG32.dll
LoadedModule[46]=C:\Windows\system32\profapi.dll
LoadedModule[47]=C:\Windows\system32\WindowsCodecs.dll
LoadedModule[48]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Configuration\36778d2072c745f0ad72f7e219122258\System.Configuration.ni.dll
LoadedModule[49]=C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Xml\8821b72d5d51079acf96e90c4af19a96\System.Xml.ni.dll
LoadedModule[50]=C:\Windows\system32\bcrypt.dll
LoadedModule[51]=C:\Windows\system32\RpcRtRemote.dll
LoadedModule[52]=C:\Windows\assembly\NativeImages_v4.0.30319_64\Presentatio1c9175f8#\7600f870ebcc661f412ab16465a64647\PresentationFramework.Aero.ni.dll
LoadedModule[53]=C:\Windows\system32\dwmapi.dll
LoadedModule[54]=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\diasymreader.dll
FriendlyEventName=Stopped working
ConsentKey=CLR20r3
AppName=HF Comprehensive Tool
AppPath=C:\Diagnostics\ExpressCompTool.exe

Viewing all articles
Browse latest Browse all 1999

Trending Articles



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