Azure网站 - 配置文件已被其他程序更改

Bru*_*nec 4 asp.net azure azure-web-sites

最近两天我一直在我的azure网站应用程序中受到以下例外的困扰:

异常信息:异常类型:ConfigurationErrorsException

异常消息:配置文件已被另一个程序更改.(d:\家\网站\ 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)
Run Code Online (Sandbox Code Playgroud)

Ric*_*den 5

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

  • 谢谢!因为我是这个论坛的新手,由于我的声誉状态,我不被允许发表评论.所讨论的问题最近给我们带来了噩梦,使我们全天候工作.所以我非常渴望在这件事上分享我所知道的.我将来绝对会遵循你的建议. (3认同)