Apr 20 2022 04:35 AM
Hey folks,
today I installed MDI sensors on some Windows Server 2022 DCs with .NET 4.8 installed. All of the setups ran just fine, however two of the DCs threw the following errors.
DirectoryServicesClient System.MissingMethodException: Method not found: 'System.Threading.Tasks.Task'
DirectoryServicesResolver System.MissingMethodException: Method not found: 'Void Microsoft.Tri.Common.UpdateDirectoryServicesClientAccountIdsRequest..ctor
Both of those errors made me scratch my head so hard my hair fell out. Maybe some of you guys have had this issue before.
BR Felix
Apr 20 2022 07:49 AM
@felixbrandsva Did the sensor worked before in previous versions? If so, which version started to break with missing method?
Apr 20 2022 07:51 AM
Apr 20 2022 09:55 AM
Apr 21 2022 04:18 AM
Apr 25 2022 12:21 AM - edited Apr 25 2022 01:24 AM
Hi @EliOfek, I ran the suggested command on one of the malfunctioning DCs and compared it to a well-functioning one.
Output malfunctioning DC
C:\WINDOWS\Microsoft.NET\assembly\GAC_MSIL\System.ValueTuple
C:\WINDOWS\Microsoft.NET\assembly\GAC_MSIL\System.ValueTuple\v4.0_4.0.0.0__cc7b13ffcd2ddd51
C:\WINDOWS\Microsoft.NET\assembly\GAC_MSIL\System.ValueTuple\v4.0_4.0.2.0__cc7b13ffcd2ddd51
C:\WINDOWS\Microsoft.NET\assembly\GAC_MSIL\System.ValueTuple\v4.0_4.0.0.0__cc7b13ffcd2ddd51\System.ValueTuple.dll
C:\WINDOWS\Microsoft.NET\assembly\GAC_MSIL\System.ValueTuple\v4.0_4.0.2.0__cc7b13ffcd2ddd51\System.ValueTuple.dll
Output well-functioning DC
C:\WINDOWS\Microsoft.NET\assembly\GAC_MSIL\System.ValueTuple
C:\WINDOWS\Microsoft.NET\assembly\GAC_MSIL\System.ValueTuple\v4.0_4.0.0.0__cc7b13ffcd2ddd51
C:\WINDOWS\Microsoft.NET\assembly\GAC_MSIL\System.ValueTuple\v4.0_4.0.0.0__cc7b13ffcd2ddd51\System.ValueTuple.dll
Best
Felix
Apr 25 2022 01:48 AM
SolutionApr 25 2022 02:14 AM
Apr 25 2022 05:42 AM
Apr 25 2022 01:48 AM
Solution