Hi everyone,
I’m updating Deadline to 10.4.0.8 from 10.3.2.1 (On Windows Server 2016),
everything’s good except for the Web Service.
I installed it and the .exe does not show errors when opened, but when I try to access it from
Chrome both localhost:8082 and remote PC I get a
localhost is currently unable to handle this request.
HTTP ERROR 500
On the console, I get the following error:
System.IO.FileNotFoundException: Could not load file or assembly 'System.Diagnostics.EventLog, Version=8.0.0.0, Culture=neutral, PublicKeyToken=ccXXXX'. Could not find the file.
I tried re-installing the previous version -without changes- and I can access the Web Service without errors.
Re-upgrading gets me the same error.
I tried the installer on a Win11 Pro machine as well, but same result.
I tried looking online for this error but I only found info about packages for NuGet?
That I don’t know much about…
What should I change or correct?
Python3.12.4 is installed, if that matters.
How do you have it configured in the Repo options? I’m having issues connecting to the webservice running on Rocky 9.4 linux, I think this maybe to missing security options but haven’t investigated much
Hi.
I can confirm that we are seeing the same error on Windows Server 2022.
Deadline Web Service 10.4 [v10.4.0.8 Release (48b7b8ab1)]
The web service process starts ok, but api requests throws the following exceptions:
ERROR: DeadlineLoggerMiddleware caught exception method=GET path= remoteip=127.0.0.1 exception=System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Could not load file or assembly 'System.Diagnostics.EventLog, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
Hi again.
I did some more digging and may have a temporary workaround.
The error seems to be caused by and old version of System.Diagnostics.EventLog.dll included in the installer. The one installed version was for .net 6.0. As Deadline 10.4 is now on .net 8.0 this seems to cause the issue.
I downloaded the latest .net 8 version of System.Diagnostics.EventLog.dll though NuGet and copied it into the bin directory. That seems to have fixed the initial error and things are running fine for us.
I’m not sure if this will cause other issues, or if there are other dlls that need updating so it would be nice if Thinkbox could have a look at this and see if they can replicate the errors/fixes.
If anyone from Thinkbox could check in here it would be appreciated. Otherwise i will try to file a support ticket next week.
When you upgraded - did you choose the ‘Remote Connection Server’ option in the installer? It’s in the paragraph after the title, but the Web Service gets installed/upgraded as a part of that installation path.
@Justin_B Thanks for checking in.
We ran the client installer with the “Deadline Web Service” option as this machine is serving as our primary Pulse + Web server instance.
We are not using the Remote connection server on this server atm.
Clean install with RCS, 10.4.0.10 (on Windows 10), same issue, WebService was broken. Replacing System.Diagnostics.EventLog.dll from the installer (6.0) with a more recent one (8.0.1) worked.