Failing to run: FileNotFoundException

Sonarr version (exact version): Version 3.0.9.1549
Mono version (if Sonarr is not running on Windows):
OS: Windows 10
Debug logs: This is written to the log file each time it tries open:
2022-11-08 21:40:01.8|Info|Bootstrap|Starting Sonarr - C:\ProgramData\Sonarr\bin\Sonarr.exe - Version 3.0.9.1549
2022-11-08 21:40:02.0|Fatal|WindowsApp|EPIC FAIL

[v3.0.9.1549] System.IO.FileNotFoundException: Could not load file or assembly ‘System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ or one of its dependencies. The system cannot find the file specified.
File name: ‘System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’
at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
at System.Reflection.RuntimeAssembly.GetExportedTypes()
at NzbDrone.Common.Composition.ContainerBuilderBase…ctor(IStartupContext args, List1 assemblies) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Common\Composition\ContainerBuilderBase.cs:line 26 at NzbDrone.Host.MainAppContainerBuilder..ctor(StartupContext args, List1 assemblies) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\MainAppContainerBuilder.cs:line 28
at NzbDrone.Host.MainAppContainerBuilder.BuildContainer(StartupContext args) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\MainAppContainerBuilder.cs:line 24
at NzbDrone.Host.Bootstrap.Start(StartupContext startupContext, IUserAlert userAlert, Action`1 startCallback) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone.Host\Bootstrap.cs:line 32
at NzbDrone.WindowsApp.Main(String[] args) in M:\BuildAgent\work\63739567f01dbcc2\src\NzbDrone\WindowsApp.cs:line 23

Description of issue: Sonarr has been running fine for a while, following a PC restart a “Epic Fail” error is displayed each time I try run the program. Message states: FileNotFoundException: Could not load file or assembly ‘System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ or one of its dependencies. The system cannot find the file specified.

I’ve attempted to uninstall and reinstall the application, however the same error is still displayed.

I think the file being referenced is part of .NET. The November .NET framework update just released. Check your Windows Update for recent or pending updates. Complete those and see if it fixes. Otherwise maybe try reinstalling the .NET framework components.

1 Like

I completed the updates but this didn’t resolved the issue. However a reinstall of .NET framework did fix it, thank you.

2 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.