Need Help, my system crashed and restarted and then when I tried to start NzbDrone I got this msg.
Epic Fail!
TinyIoCResolotionException: Unable to resolve type:
NzbDrone.Host.Router need help bad have a lot of shows logged in datebase and
when I try to start service I get this msg
Unable to Start Service thanks in advance
JGN
Clear your logs and try running drone again and post the full log. The logs are in C:\ProgramData\zbDrone\logs. Likely the config.xml file is corrupt, the logs will tell us what the actual error is.
13-12-19 08:34:09.1|Info|Bootstrap|Starting NzbDrone Console. Version 2.0.0.992
13-12-19 08:34:09.5|Info|MigrationLogger|*** Migrating data source=C:\ProgramData\zbDrone
zbdrone.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal ***
13-12-19 08:34:09.6|Info|MigrationLogger|*** Migrating data source=C:\ProgramData\zbDrone\logs.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal ***
13-12-19 08:34:09.6|Fatal|WindowsApp|EPIC FAIL: Unable to resolve type: NzbDrone.Host.Router
TinyIoC.TinyIoCResolutionException: Unable to resolve type: NzbDrone.Host.Router —> TinyIoC.TinyIoCResolutionException: Unable to resolve type: NzbDrone.Host.NzbDroneServiceFactory —> TinyIoC.TinyIoCResolutionException: Unable to resolve type: NzbDrone.Host.Owin.OwinHostController —> TinyIoC.TinyIoCResolutionException: Unable to resolve type: NzbDrone.Host.AccessControl.UrlAclAdapter —> NzbDrone.Core.Configuration.InvalidConfigFileException: C:\ProgramData\zbDrone\config.xml is invalid, please see the http://wiki.nzbdrone.com for steps to resolve this issue. —> System.Xml.XmlException: ‘.’, hexadecimal value 0x00, is an invalid character. Line 1, position 1.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.ThrowInvalidChar(Char[] data, Int32 length, Int32 invCharPos)
at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
at System.Xml.Linq.XDocument.Load(String uri, LoadOptions options)
at NzbDrone.Core.Configuration.ConfigFileProvider.LoadConfigFile() in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Core\Configuration\ConfigFileProvider.cs:line 267
— End of inner exception stack trace —
at NzbDrone.Core.Configuration.ConfigFileProvider.LoadConfigFile() in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Core\Configuration\ConfigFileProvider.cs:line 272
at NzbDrone.Core.Configuration.ConfigFileProvider.<>c__DisplayClass1.b__0() in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Core\Configuration\ConfigFileProvider.cs:line 176
at NzbDrone.Common.Cache.Cached1.Get(String key, Func
1 function, Nullable`1 lifeTime) in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Common\Cache\Cached.cs:line 87
at NzbDrone.Core.Configuration.ConfigFileProvider.GetValue(String key, Object defaultValue, Boolean persist) in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Core\Configuration\ConfigFileProvider.cs:line 172
at NzbDrone.Core.Configuration.ConfigFileProvider.GetValueInt(String key, Int32 defaultValue) in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Core\Configuration\ConfigFileProvider.cs:line 157
at NzbDrone.Core.Configuration.ConfigFileProvider.get_Port() in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Core\Configuration\ConfigFileProvider.cs:line 94
at NzbDrone.Host.AccessControl.UrlAclAdapter…ctor(INetshProvider netshProvider, IConfigFileProvider configFileProvider, IRuntimeInfo runtimeInfo, Logger logger) in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Host\AccessControl\UrlAclAdapter.cs:line 41
at lambda_method(Closure , Object[] )
at TinyIoC.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.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:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Common\TinyIoC.cs:line 3684
at TinyIoC.TinyIoCContainer.SingletonFactory.GetObject(Type requestedType, TinyIoCContainer container, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Common\TinyIoC.cs:line 2834
at TinyIoC.TinyIoCContainer.ResolveInternal(TypeRegistration registration, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Common\TinyIoC.cs:line 3348
at TinyIoC.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.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:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Common\TinyIoC.cs:line 3665
at TinyIoC.TinyIoCContainer.SingletonFactory.GetObject(Type requestedType, TinyIoCContainer container, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Common\TinyIoC.cs:line 2834
at TinyIoC.TinyIoCContainer.ResolveInternal(TypeRegistration registration, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Common\TinyIoC.cs:line 3348
at TinyIoC.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.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:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Common\TinyIoC.cs:line 3665
at TinyIoC.TinyIoCContainer.SingletonFactory.GetObject(Type requestedType, TinyIoCContainer container, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Common\TinyIoC.cs:line 2834
at TinyIoC.TinyIoCContainer.ResolveInternal(TypeRegistration registration, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Common\TinyIoC.cs:line 3348
at TinyIoC.TinyIoCContainer.ConstructType(Type requestedType, Type implementationType, ConstructorInfo constructor, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.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:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Common\TinyIoC.cs:line 3665
at TinyIoC.TinyIoCContainer.ResolveInternal(TypeRegistration registration, NamedParameterOverloads parameters, ResolveOptions options) in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Common\TinyIoC.cs:line 3440
at TinyIoC.TinyIoCContainer.Resolve(Type resolveType) in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Common\TinyIoC.cs:line 1459
at TinyIoC.TinyIoCContainer.ResolveResolveType in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Common\TinyIoC.cs:line 1578
at NzbDrone.Common.Composition.Container.ResolveT in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Common\Composition\Container.cs:line 36
at NzbDrone.Host.Bootstrap.Start(ApplicationModes applicationModes) in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Host\Bootstrap.cs:line 63
at NzbDrone.Host.Bootstrap.Start(StartupContext startupContext, IUserAlert userAlert, Action`1 startCallback) in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone.Host\Bootstrap.cs:line 39
at NzbDrone.WindowsApp.Main(String[] args) in m:\BuildAgent2\work\328d72309b633a8\src\zbDrone\WindowsApp.cs:line 23
The error: NzbDrone.Core.Configuration.InvalidConfigFileException: C:\\ProgramData\zbDrone\\config.xml is invalid, please see the http://wiki.nzbdrone.com for steps to resolve this issue. ---> System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid character. Line 1, position 1.
The solution: https://github.com/NzbDrone/NzbDrone/wiki/FAQ#i-got-a-pop-up-that-said-configxml-was-corrupt-what-now