Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Kudu can't startup when settings.xml file is corrupted #2791

Closed
suwatch opened this issue Jun 14, 2018 · 0 comments
Closed

Kudu can't startup when settings.xml file is corrupted #2791

suwatch opened this issue Jun 14, 2018 · 0 comments

Comments

@suwatch
Copy link
Member

suwatch commented Jun 14, 2018

Kudu will become inaccessible. We need to auto-recover from this.

System.InvalidOperationException: Unable to parse settings file ---> 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.ThrowInvalidChar(Char[] data, Int32 length, Int32 invCharPos)
   at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options)
   at System.Xml.Linq.XDocument.Load(Stream stream, LoadOptions options)
   at XmlSettings.XmlUtility.GetDocument(String path)
   at XmlSettings.XmlUtility.GetDocument(XName rootName, String path, Boolean createIfNotExists)
   at XmlSettings.Settings.GetValue(String section, String key)
   --- End of inner exception stack trace ---
   at XmlSettings.Settings.GetValue(String section, String key)
   at Kudu.Core.Settings.DeploymentSettingsManager.GetValue(String key, Boolean preventUnification) in C:\Kudu Files\Private\src\master\Kudu.Core\Settings\DeploymentSettingsManager.cs:line 79
   at Kudu.Contracts.Settings.DeploymentSettingsExtension.GetTraceLevel(IDeploymentSettingsManager settings) in C:\Kudu Files\Private\src\master\Kudu.Contracts\Settings\DeploymentSettingsExtension.cs:line 28
   at Kudu.Services.Web.App_Start.NinjectServices.RegisterServices(IKernel kernel) in C:\Kudu Files\Private\src\master\Kudu.Services.Web\App_Start\NinjectServices.cs:line 194
   at Kudu.Services.Web.App_Start.NinjectServices.CreateKernel() in C:\Kudu Files\Private\src\master\Kudu.Services.Web\App_Start\NinjectServices.cs:line 130
   at Ninject.Web.Common.Bootstrapper.Initialize(Func`1 createKernelCallback)
   at Kudu.Services.Web.App_Start.NinjectServices.Start() in C:\Kudu Files\Private\src\master\Kudu.Services.Web\App_Start\NinjectServices.cs:line 82
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant