Azure 网站 - 配置文件已被另一个程序更改



过去 2 天,我一直在我的 azure 网站应用程序上受到困扰,但以下情况除外:

异常信息: 异常类型:配置错误异常

异常消息:配置文件已被另一个程序更改。(D:\home\site\wwwroot\web.config(

它每 5 分钟 [左右] 定期出现一次,应用程序重新启动后它会正常一段时间,然后再次运行。

有没有办法调试导致配置文件更改的原因?我已经浏览了整个代码,但没有找到任何配置文件版本的参考

堆栈跟踪:

at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)
at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
at System.Web.Configuration.RuntimeConfig.GetSectionObject(String sectionName)
at System.Web.Configuration.RuntimeConfig.GetSection(String sectionName, Type type, ResultsIndex index)
at System.Web.Configuration.RuntimeConfig.get_HttpRuntime()
at System.Web.HttpContext.EnsureTimeout()
at System.Web.HttpApplication.OnThreadEnterPrivate(Boolean setImpersonationContext)
at System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error)
at System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb)
at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)

我们遇到了同样的问题,但只是在每天的特定时间,从三天前开始。
这似乎是一个全球性的Azure问题,有关详细信息,请查看此处

相关内容

最新更新