[英]how to debug error 500 Internal Server Error on an Azure App?
I got an "500 Internal Server Error - An error occurred while starting the application" after deploying my application: https://iidapp.azurewebsites.net/ 部署应用程序后,我收到“ 500 Internal Server Error-启动应用程序时发生错误”: https : //iidapp.azurewebsites.net/
I keep finding the following error message but I am unable to find out on msdn websites any information describing how I can specify the SAS URL 我一直在查找以下错误消息,但是我无法在msdn网站上找到描述我如何指定SAS URL的任何信息。
INFO: The app was working for a long period and I didn't have to set the SAS URL; 信息:该应用程序运行了很长时间,我不必设置SAS URL。 I wonder why suddenly Azure is generating exceptions 我想知道为什么Azure突然产生异常
INFO2: the app works perfectly on my local machine INFO2:该应用程序可以在我的本地计算机上完美运行
Any help is welcomed as I couldn't find any solution by reading the related topics on stackoverflow 欢迎任何帮助,因为我无法通过阅读关于stackoverflow的相关主题找到任何解决方案
2017-04-05T18:51:32
System.ApplicationException: The trace listener AzureBlobTraceListener is disabled. ---> System.InvalidOperationException: The SAS URL for the cloud storage account is not specified. Use the environment variable 'DIAGNOSTICS_AZUREBLOBCONTAINERSASURL' to define it.
at Microsoft.WindowsAzure.WebSites.Diagnostics.AzureBlobTraceListener.RefreshConfig()
--- End of inner exception stack trace ---
Voilà! 瞧! I corrected the code and the app is up and running! 我更正了代码,该应用程序已启动并正在运行!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.