Hey there, my installation keeps crashing. I can reinstall and it works for a few hours, then “connection to backend lost” and sonarr.exe will give me the epic fail. Here is the log
EPIC FAIL: Unable to resolve type: NzbDrone.Core.Messaging.Events.IHandle1[[NzbDrone.Core.Lifecycle.ApplicationStartedEvent, NzbDrone.Core, Version=2.0.0.3766, Culture=neutral, PublicKeyToken=null]]: Unable to resolve type: NzbDrone.Core.Messaging.Events.IHandle
1[[NzbDrone.Core.Lifecycle.ApplicationStartedEvent, NzbDrone.Core, Version=2.0.0.3766, Culture=neutral, PublicKeyToken=null]]
Exception
TinyIoC.TinyIoCResolutionException: Unable to resolve type: NzbDrone.Core.Messaging.Events.IHandle1[[NzbDrone.Core.Lifecycle.ApplicationStartedEvent, NzbDrone.Core, Version=2.0.0.3766, Culture=neutral, PublicKeyToken=null]] ---> TinyIoC.TinyIoCResolutionException: Unable to resolve type: NzbDrone.Core.Download.DownloadClientFactory ---> TinyIoC.TinyIoCResolutionException: Unable to resolve type: NzbDrone.Core.Download.IDownloadClient ---> TinyIoC.TinyIoCResolutionException: Unable to resolve type: NzbDrone.Core.Download.Clients.RTorrent.RTorrent ---> TinyIoC.TinyIoCResolutionException: Unable to resolve type: NzbDrone.Core.Download.Clients.rTorrent.IRTorrentDirectoryValidator ---> TinyIoC.TinyIoCResolutionException: Unable to resolve type: NzbDrone.Core.Download.Clients.rTorrent.RTorrentDirectoryValidator ---> System.IO.FileLoadException: Could not load file or assembly 'System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e, Retargetable=Yes' or one of its dependencies. The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047) at NzbDrone.Core.Download.Clients.rTorrent.RTorrentDirectoryValidator..ctor(RootFolderValidator rootFolderValidator, PathExistsValidator pathExistsValidator, DroneFactoryValidator droneFactoryValidator, MappedNetworkDriveValidator mappedNetworkDriveValidator) at lambda_method(Closure , Object[] ) at TinyIoC.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\TinyIoC.cs:line 3677 --- End of inner exception stack trace --- at TinyIoC.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\TinyIoC.cs:line 3684 at TinyIoC.TinyIoCContainer.SingletonFactory.GetObject(Type requestedType, TinyIoCContainer container, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\TinyIoC.cs:line 2834 at TinyIoC.TinyIoCContainer.ResolveInternal(TypeRegistration registration, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\TinyIoC.cs:line 3346 at TinyIoC.TinyIoCContainer.Resolve(Type resolveType, String name) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\TinyIoC.cs:line 1486 at NzbDrone.Common.Composition.Container.<>c__DisplayClass4.<CreateSingletonImplementationFactory>b__3(TinyIoCContainer c, NamedParameterOverloads p) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Composition\Container.cs:line 81 at TinyIoC.TinyIoCContainer.DelegateFactory.GetObject(Type requestedType, TinyIoCContainer container, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\TinyIoC.cs:line 2543 --- End of inner exception stack trace --- at TinyIoC.TinyIoCContainer.DelegateFactory.GetObject(Type requestedType, TinyIoCContainer container, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\TinyIoC.cs:line 2547 at TinyIoC.TinyIoCContainer.ResolveInternal(TypeRegistration registration, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\TinyIoC.cs:line 3346 at TinyIoC.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\TinyIoC.cs:line 3652 --- End of inner exception stack trace --- at TinyIoC.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\TinyIoC.cs:line 3665 at TinyIoC.TinyIoCContainer.SingletonFactory.GetObject(Type requestedType, TinyIoCContainer container, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\TinyIoC.cs:line 2834 at TinyIoC.TinyIoCContainer.ResolveInternal(TypeRegistration registration, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\TinyIoC.cs:line 3346 at TinyIoC.TinyIoCContainer.Resolve(Type resolveType, String name) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\TinyIoC.cs:line 1486 at NzbDrone.Common.Composition.Container.<>c__DisplayClass4.<CreateSingletonImplementationFactory>b__3(TinyIoCContainer c, NamedParameterOverloads p) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Composition\Container.cs:line 81 at TinyIoC.TinyIoCContainer.DelegateFactory.GetObject(Type requestedType, TinyIoCContainer container, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\TinyIoC.cs:line 2543 --- End of inner exception stack trace --- at TinyIoC.TinyIoCContainer.DelegateFactory.GetObject(Type requestedType, TinyIoCContainer container, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\TinyIoC.cs:line 2547 at TinyIoC.TinyIoCContainer.ResolveInternal(TypeRegistration registration, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\TinyIoC.cs:line 3346 at TinyIoC.TinyIoCContainer.<ResolveAllInternal>b__43(TypeRegistration registration) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\TinyIoC.cs:line 3766 at System.Linq.Enumerable.WhereSelectEnumerableIterator
2.MoveNext()
at System.Linq.Enumerable.d__b11.MoveNext() at System.Collections.Generic.List
1…ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable
1 source)
at lambda_method(Closure , Object[] )
at TinyIoC.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\TinyIoC.cs:line 3677
— End of inner exception stack trace —
at TinyIoC.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\TinyIoC.cs:line 3684
at TinyIoC.TinyIoCContainer.SingletonFactory.GetObject(Type requestedType, TinyIoCContainer container, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\TinyIoC.cs:line 2834
at TinyIoC.TinyIoCContainer.ResolveInternal(TypeRegistration registration, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\TinyIoC.cs:line 3346
at TinyIoC.TinyIoCContainer.Resolve(Type resolveType, String name) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\TinyIoC.cs:line 1486
at NzbDrone.Common.Composition.Container.<>c__DisplayClass4.b__3(TinyIoCContainer c, NamedParameterOverloads p) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Composition\Container.cs:line 81
at TinyIoC.TinyIoCContainer.DelegateFactory.GetObject(Type requestedType, TinyIoCContainer container, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\TinyIoC.cs:line 2543
— End of inner exception stack trace —
at TinyIoC.TinyIoCContainer.DelegateFactory.GetObject(Type requestedType, TinyIoCContainer container, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\TinyIoC.cs:line 2547
at TinyIoC.TinyIoCContainer.ResolveInternal(TypeRegistration registration, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\TinyIoC.cs:line 3346
at TinyIoC.TinyIoCContainer.b__43(TypeRegistration registration) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\TinyIoC.cs:line 3766
at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() at System.Linq.Enumerable.<CastIterator>d__b1
1.MoveNext()
at System.Linq.Lookup2.Create[TSource](IEnumerable
1 source, Func2 keySelector, Func
2 elementSelector, IEqualityComparer1 comparer) at System.Linq.GroupedEnumerable
3.GetEnumerator()
at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext() at NzbDrone.Core.Messaging.Events.EventAggregator.PublishEvent[TEvent](TEvent event) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Messaging\Events\EventAggregator.cs:line 51 at NzbDrone.Api.NancyBootstrapper.ApplicationStartup(TinyIoCContainer container, IPipelines pipelines) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Api\NancyBootstrapper.cs:line 39 at Nancy.Bootstrapper.NancyBootstrapperBase
1.Initialise()
at Nancy.Owin.NancyMiddleware.UseNancy(NancyOptions options)
at Owin.AppBuilderExtensions.UseNancy(IAppBuilder builder, NancyOptions options)
at NzbDrone.Host.Owin.MiddleWare.NancyMiddleWare.Attach(IAppBuilder appBuilder) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Host\Owin\MiddleWare\NancyMiddleWare.cs:line 20
at NzbDrone.Host.Owin.OwinAppFactory.BuildApp(IAppBuilder appBuilder) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Host\Owin\OwinServiceProvider.cs:line 78
at Microsoft.Owin.Hosting.Engine.HostingEngine.ResolveApp(StartContext context)
at Microsoft.Owin.Hosting.Engine.HostingEngine.Start(StartContext context)
at NzbDrone.Host.Owin.OwinAppFactory.CreateApp(List1 urls) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Host\Owin\OwinServiceProvider.cs:line 52 at NzbDrone.Host.Owin.OwinHostController.StartServer() in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Host\Owin\OwinHostController.cs:line 56 at NzbDrone.Host.NzbDroneServiceFactory.Start() in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Host\ApplicationServer.cs:line 55 at NzbDrone.Host.Router.Route(ApplicationModes applicationModes) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Host\Router.cs:line 38 at NzbDrone.Host.Bootstrap.Start(ApplicationModes applicationModes, StartupContext startupContext) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Host\Bootstrap.cs:line 70 at NzbDrone.Host.Bootstrap.Start(StartupContext startupContext, IUserAlert userAlert, Action
1 startCallback) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Host\Bootstrap.cs:line 38
at NzbDrone.WindowsApp.Main(String[] args) in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone\WindowsApp.cs:line 23