Azure云应用程序循环(Azure cloud app cycling)

编程入门 行业动态 更新时间:2024-10-25 10:21:51
Azure云应用程序循环(Azure cloud app cycling)

我的azure云应用程序中有一些东西导致IIS重新启动。 简而言之,我部署到Azure,进展有一段时间,网站已部署,但角色无法启动并最终循环...在管理门户中,它表示该角色不健康。

到目前为止我做了什么:

检查天蓝色诊断,(wad-control-table等)。 检查azure机器上的IIS日志(远程桌面)

我唯一发现的是这个IIS警告。

属于网站'19291949'的应用程序'/'具有无效的AppPoolId'ddcc23fe-8eee-4412-a4dd-56b50e18d9f2'集。 因此,应用程序将被忽略。

站点19291949已禁用,因为为站点定义的根应用程序无效。 有关根应用程序无效原因的信息,请参阅上一个事件日志消息。

这解释了为什么服务器一直在启动和停止,但这只是我假设应用程序本身的一个症状。 我能够在azure角色本身内访问该网站...有时它可以从我自己的桌面上获得,但无法正确呈现。

我的项目显然有问题。 从我在这里找到的线程SO看起来它可能或多或少是任何东西,从指向本地数据库的连接字符串的错误引用。 但我怎么知道在哪里看? 天蓝色的诊断并没有给我任何细节。 该项目在仿真器本地运行得很好。

线程1 线程2 线程3

我的问题是:我如何找到具体的根本原因? 我该如何构建我的试验和错误与这个项目?

There is something in my azure cloud app that is causing IIS to reboot. Briefly, I deploy to Azure, progress is going for a while, sites are deployed but the role could not start and ends up cycling...in the management portal it says that the role is unhealthy.

What I have done so far:

Checked the azure diagnostics,(wad-control-table and such). Checked the IIS logs on the azure machine(remote desktop)

The only thing I find is this IIS warnings.

The application '/' belonging to site '19291949' has an invalid AppPoolId 'ddcc23fe-8eee-4412-a4dd-56b50e18d9f2' set. Therefore, the application will be ignored.

Site 19291949 was disabled because the root application defined for the site is invalid. See the previous event log message for information about why the root application is invalid.

Which explains why the server is starting and stopping all the time, but that is just a symptom of the app itself I assume. I am able to access the site within the azure role itself...and sometimes it's available from my own desktop, but not rendered correctly.

There is obviously something wrong with my project. And from the threads I find at here a SO it looks like it could be more or less anything, from faulty references to connection strings pointing to a local db. But how would I know where to look? The azure diagnostics doesnt give me any details. The project runs just fine locally with the emulator.

Thread 1 Thread 2 Thread 3

And my question is: How do I find the specific root cause here? How should I structure my trial and error with this project?

最满意答案

从http://blogs.msdn.com/b/kwill/archive/2013/08/09/windows-azure-paas-compute-diagnostics-data.aspx上的故障排除方案演练开始。 这一系列帖子应该介绍如何调试和查找几乎所有角色回收和不健康角色类型问题的根本原因。

Ok, I tried everything I found...the only thing that managed to solve the issue was to add an installation of Mvc 3 as a startup task for the WebRole. Finally!

msdn

Tech 2 on this site

更多推荐

本文发布于:2023-08-06 20:39:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1455010.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   Azure   cloud   cycling   app

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!