gpt4 book ai didi

.net - Azure Application_End 未命中,而 Application_Start 多次命中(中间间隔几分钟)

转载 作者:行者123 更新时间:2023-12-03 00:34:23 25 4
gpt4 key购买 nike

在我的 Azure 环境中,我在实例上有一个包含多个网站的网络角色。 WCF 项目中的 global.asax 中的 Application_Start() 方法被调用多次(中间间隔几分钟),而不会遇到 Application_End 或 Application_Error 。在模拟器中我没有这个问题。

在事件日志中,我看到一个 WAS 事件:“属于站点 'xxxx' 的应用程序 '/' 设置了无效的 AppPoolId 'xxxxx'。因此,该应用程序将被忽略”(并且该站点将被禁用,因为为该站点定义的根应用程序无效。)每 1.5 小时记录一次。

有人知道发生了什么事吗?

最佳答案

我会看看这个: http://technet.microsoft.com/en-us/library/cc735307(v=ws.10).aspx

您很可能为多个站点设置了其中一些内容。如果您可以远程访问 Azure 实例,您应该能够检查并进行适当的调整。

关于.net - Azure Application_End 未命中,而 Application_Start 多次命中(中间间隔几分钟),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9432632/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com