CM console crashes

Hi Recast,

we’re noticing SCCM console crashes when the RCT plugin is installed.
Strangely enough it is a shared box (Citrix) used by several users at the same time and not all of them are reporting the crashes.

When looking at the SMSAdmuiLog, we see the following:
[7, PID:35248][11/30/2022 11:26:58] :Assembly C:\Program Files (x86)\Recast Software\Recast RCT\RCT.Plugin.Builder.dll not found
[1, PID:35248][11/30/2022 11:27:04] :The configured property (SenseID) was not found.
[19, PID:35248][11/30/2022 11:27:06] :Cannot call non-static method
[26, PID:35248][11/30/2022 11:27:15] :The ‘AssemblyPath’ assembly (C:\Program Files (x86)\Recast Software\Recast RCT\RCT.Plugin.Builder.dll) was not found.\r\nSystem.IO.FileNotFoundException\r\nCould not load file or assembly ‘file:///C:\Program Files (x86)\Recast Software\Recast RCT\RCT.Plugin.Builder.dll’ or one of its dependencies. The system cannot find the file specified.\r\n at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at Microsoft.ConfigurationManagement.AdminConsole.Common.UtilityClass.LoadAssemblyByName(String assemblyName, Boolean reflectOnly)\r\n
[26, PID:35248][11/30/2022 11:27:15] :Assembly C:\Program Files (x86)\Recast Software\Recast RCT\RCT.Plugin.Builder.dll not found
[1, PID:35248][11/30/2022 11:27:19] :The configured property (SenseID) was not found.
[26, PID:35248][11/30/2022 11:27:23] :The ‘AssemblyPath’ assembly (C:\Program Files (x86)\Recast Software\Recast RCT\RCT.Plugin.Builder.dll) was not found.\r\nSystem.IO.FileNotFoundException\r\nCould not load file or assembly ‘file:///C:\Program Files (x86)\Recast Software\Recast RCT\RCT.Plugin.Builder.dll’ or one of its dependencies. The system cannot find the file specified.\r\n at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)

In a way this doesn’t make sense as the machine where the console is running is shared.

Did remove the plugin… alll fine. Re-installed, same users mentioning the errors…

Are there user-specific settings written/stored somewhere that could cause the effect?

thanks in advance,
S.

Hi there Steve,

I hope all is well. When you have a moment can you navigate to this folder path (ServiceAccount)\AppData\Roaming\RecastRCT and delete the ManagementDB.sqlite file, open SCCM and let me know if issues persist?

Tnx for the assistance already!
Am assuming that for the Community version (without service) the mentioned sqlite-file is located in the affected users’ profile (appdata) folder?

Kind regards,
Steve

Hello DestinyS,

We are also facing similar issue on Citrix VDI. I’ve deleted this file these are not change, I then deleted the RecastRCT folder from Appdata and it still just closed without any error message.
I noticed that it automatically closes in 15-20 seconds but it immediately closes if we try to go to Monitoring and select deployments.

In the error logs, I found this error:

2023-01-19 10:36:24,460 [21] INFO Scheduler [(null)] - Init() - Start
2023-01-19 10:36:24,479 [21] ERROR Recast.RCT.Server.Plugins.Administration.SqliteDataStore [(null)] - GetSetting() - Exception while retrieving setting: SQL logic error
no such table: Settings
2023-01-19 10:36:24,496 [21] INFO Scheduler [(null)] - Init() - Initialized
2023-01-19 10:36:26,654 [21] INFO Recast.RCT.Server.RecastRCTEnterpriseServer [(null)] - LoadPlugins() - Plugin Count: 26
2023-01-19 10:36:26,665 [21] ERROR Recast.RCT.Server.Plugins.Administration.SqliteDataStore [(null)] - GetSetting() - Exception while retrieving setting: SQL logic error
no such table: Settings
2023-01-19 10:36:26,668 [21] WARN Recast.RCT.Server.RecastRCTEnterpriseServer [(null)] - LoadSettings() - Empty setting found: PingComputerBeforeRunningTools, adding default value

Hi there Ramesh,

Can you confirm what version of Right Click Tools you’re currently running? Could you also send the log files to our support email support@recastsoftware.