Hi there,
Check for a .NET assembly dependency walker and check the DLL. You need to run this check on the server with the issue.
Try to collect some logs so it would be easier to identify the backend of the issue. Process Monitor is an advanced monitoring tool for Windows that shows real-time file system, Registry, and process/thread activity. You can get the tool from here https://learn.microsoft.com/en-us/sysinternals/downloads/procmon
How to correct common User32.dll file errors
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer–