Deadline 10.4.0.8 Web Service Error

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.

Thank you in advance for any help.
Cheers.

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

https://docs.thinkboxsoftware.com/products/deadline/10.4/1_User%20Manual/manual/web-service.html

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.

@anthonygelatka @svendnordby
Thank to both of you for the insights.

We checked [Configure Repository Options] > [Web Service Settings] and tried [Required Authentication] both on and off, without success.

On our current version this tab options are completely different as well, so I guess they changed something regarding the Web Service.

I’m still searching online but without success for now…
Will update the post if I manage to find something.

Cheers.

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.

2 Likes

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.

@svendnordby Thank you very much for the update, will check the workaround as well tomorrow.

@Justin_B Hi and thanks for the help. Yes, if I remember correctly I chose "remote connection server"during the installation.

We probably will try a clean install of the Repo, DB, RCS and Web Service, just to be sure, and see
if it solves anything.

Thanks again!

@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.

Thanks.
Svend.

Thanks @svendnordby this worked for me ! - I’m not familiar with nuget but I found it here NuGet Gallery | System.Diagnostics.EventLog 9.0.0 > Open in NuGet Package Explorer and that did the job

:pray:

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.