Azure websites complaining Role environment . FAILED TO INITIALIZE on startup

余生长醉 提交于 2019-12-06 13:56:36

Check your Web.Config for references to Microsoft.WindowsAzure.Diagnostics” or “Microsoft.WindowsAzure.ServiceRuntime"

If you have these , they are designed for use with Cloud services and not required or needed with Web Apps.

serg.salo

So, the issue was the reference to "Microsoft.WindowsAzure.Configuration". Once this assembly is not referenced anymore - no more errors on startup. Apparently, this assembly is designed to be used with Cloud Services, not Web Applications.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!