Can't start NzbDrone anymore

Everytime i try running nzbdrone or try to install the service it gives me error tinyiocresolutionexception: unable to resolve type: nzbdrone.host.router
It was working the other day, could any of you be able to help me out?

This is what the cmd prompt printed out when trying to run the service install/uninstall

[Info] Bootstrap: Starting NzbDrone Console. Version 2.0.0.639
[Info] MigrationLogger: *** Migrating data source=C:\ProgramData\zbDrone
zbdro
ne.db;cache size=-10485760;datetimekind=Utc;journal mode=Wal ***
[Info] MigrationLogger: *** Migrating data source=C:\ProgramData\zbDrone\logs.d
b;cache size=-10485760;datetimekind=Utc;journal mode=Wal ***
[Fatal] ConsoleApp: EPIC FAIL!

TinyIoC.TinyIoCResolutionException: Unable to resolve type: NzbDrone.Host.Router
—> TinyIoC.TinyIoCResolutionException: Unable to resolve type: NzbDrone.Host.
NzbDroneServiceFactory —> TinyIoC.TinyIoCResolutionException: Unable to resolv
e type: NzbDrone.Host.Owin.OwinHostController —> TinyIoC.TinyIoCResolutionExce
ption: Unable to resolve type: NzbDrone.Host.AccessControl.UrlAclAdapter —> Nz
bDrone.Core.Configuration.InvalidConfigFileException: C:\ProgramData\zbDrone\co
nfig.xml is invalid, please see the http://wiki.nzbdrone.com for steps to resolv
e this issue. —> System.Xml.XmlException: ‘.’, hexadecimal value 0x00, is an i
nvalid 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, I
nt32 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:\buil
dAgent2_work\bc9a5cca09497250\zbDrone.Core\Configuration\ConfigFileProvider.cs:
line 267
— End of inner exception stack trace —
at NzbDrone.Core.Configuration.ConfigFileProvider.LoadConfigFile() in m:\buil
dAgent2_work\bc9a5cca09497250\zbDrone.Core\Configuration\ConfigFileProvider.cs:
line 272
at NzbDrone.Core.Configuration.ConfigFileProvider.<>c__DisplayClass1.b__0() in m:\buildAgent2_work\bc9a5cca09497250\zbDrone.Core\Configuration\Con
figFileProvider.cs:line 176
at NzbDrone.Common.Cache.Cached1.Get(String key, Func1 function, Nullable`1
lifeTime) in m:\buildAgent2_work\bc9a5cca09497250\zbDrone.Common\Cache\Cached.
cs:line 79
at NzbDrone.Core.Configuration.ConfigFileProvider.GetValue(String key, Object
defaultValue, Boolean persist) in m:\buildAgent2_work\bc9a5cca09497250\zbDrone
.Core\Configuration\ConfigFileProvider.cs:line 172
at NzbDrone.Core.Configuration.ConfigFileProvider.GetValueInt(String key, Int
32 defaultValue) in m:\buildAgent2_work\bc9a5cca09497250\zbDrone.Core\Configura
tion\ConfigFileProvider.cs:line 157
at NzbDrone.Core.Configuration.ConfigFileProvider.get_Port() in m:\buildAgent
2_work\bc9a5cca09497250\zbDrone.Core\Configuration\ConfigFileProvider.cs:line 9
4
at NzbDrone.Host.AccessControl.UrlAclAdapter…ctor(INetshProvider netshProvid
er, IConfigFileProvider configFileProvider, IRuntimeInfo runtimeInfo, Logger log
ger) in m:\buildAgent2_work\bc9a5cca09497250\zbDrone.Host\AccessControl\UrlAclA
dapter.cs:line 41
at lambda_method(Closure , Object[] )
at TinyIoC.TinyIoCContainer.ConstructType(Type requestedType, Type implementa
tionType, ConstructorInfo constructor, NamedParameterOverloads parameters, Resol
veOptions options) in m:\buildAgent2_work\bc9a5cca09497250\zbDrone.Common\TinyI
oC.cs:line 3677
— End of inner exception stack trace —
at TinyIoC.TinyIoCContainer.ConstructType(Type requestedType, Type implementa
tionType, ConstructorInfo constructor, NamedParameterOverloads parameters, Resol
veOptions options) in m:\buildAgent2_work\bc9a5cca09497250\zbDrone.Common\TinyI
oC.cs:line 3684
at TinyIoC.TinyIoCContainer.SingletonFactory.GetObject(Type requestedType, Ti

The actual error is a bit buried in the whole thing, but the issue is a corrupted config file.

NzbDrone.Core.Configuration.InvalidConfigFileException: C:\\ProgramData\zbDrone\\co nfig.xml is invalid, please see the http://wiki.nzbdrone.com for steps to resolv e this issue.

Please see this wiki post to resolve it: https://github.com/NzbDrone/NzbDrone/wiki/FAQ#i-got-a-pop-up-that-said-configxml-was-corrupt-what-now

thanks for the help :slight_smile: