部署到Azure失败,需要帮助对其进行调试 [英] Deployment to Azure failing, need help debugging it

查看:69
本文介绍了部署到Azure失败,需要帮助对其进行调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个asp.net mvc 4应用程序,并且正在将其部署到Azure,部署成功,但是当我从NuGet(邮政0.8.2)添加一个程序包时,它破坏了我的部署.我需要帮助找出问题所在,以便将问题报告给项目.

I have an asp.net mvc 4 application, and I'm deploying it to Azure, It's deploying successfully but when I add a package from NuGet (Postal 0.8.2) it's breaking my deployment. I need help figuring out what's wrong so I can report the problem to the project.

当我使用该程序包部署应用程序时,服务器保持循环:

When I deploy the app with that package the server keeps cycling:

10:10:39 AM-Biosign角色的实例0正在创建虚拟机

10:10:39 AM - Instance 0 of role Biosign is creating the virtual machine

10:11:12 AM-Biosign角色的实例0正在启动虚拟机

10:11:12 AM - Instance 0 of role Biosign is starting the virtual machine

10:12:50 AM-Biosign角色的实例0处于未知状态

10:12:50 AM - Instance 0 of role Biosign is in an unknown state

10:13:23 AM-Biosign角色的实例0忙碌

10:13:23 AM - Instance 0 of role Biosign is busy

10:17:06 AM-Biosign角色的实例0正在骑车

10:17:06 AM - Instance 0 of role Biosign is cycling

如果我直接在具有远程桌面的服务器中进行检查,我会在Event Viewer(在"Web服务器(IIS)"内部)重复看到这两个错误:

If I check directly in the server with remote desktop I see this two errors repeating multiple times in Event Viewer (inside "Web Server (IIS)":

属于站点"1273337584"的应用程序"/"具有无效的AppPoolId"aef747de-29d0-4deb-8beb-84765ef61887"集.因此,该应用程序将被忽略.

The application '/' belonging to site '1273337584' has an invalid AppPoolId 'aef747de-29d0-4deb-8beb-84765ef61887' set. Therefore, the application will be ignored.

站点1被禁用,因为为站点定义的根应用程序无效.请参阅上一个事件日志消息,以获取有关根应用程序无效的原因的信息.

Site 1 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.

我还在事件查看器中看到此应用程序错误:

I also see this Application Error in Event Viewer:

故障处理应用程序名称:WaHostBootstrapper.exe,版本:2.0.1196.19,时间戳:0x514bb531 故障模块名称:ntdll.dll,版本:6.2.9200.16420,时间戳:0x505ab405 异常代码:0xc0000374 故障偏移量:0x00000000000ea485 故障进程ID:0x67c 错误的应用程序开始时间:0x01ce5aedc740e826 错误的应用程序路径:E:\ base \ x64 \ WaHostBootstrapper.exe 错误的模块路径:D:\ Windows \ SYSTEM32 \ ntdll.dll 报告ID:0be8db8b-c6e1-11e2-93ef-00155d44b470 故障包全名: 与程序包相关的应用程序ID错误:

Faulting application name: WaHostBootstrapper.exe, version: 2.0.1196.19, time stamp: 0x514bb531 Faulting module name: ntdll.dll, version: 6.2.9200.16420, time stamp: 0x505ab405 Exception code: 0xc0000374 Fault offset: 0x00000000000ea485 Faulting process id: 0x67c Faulting application start time: 0x01ce5aedc740e826 Faulting application path: E:\base\x64\WaHostBootstrapper.exe Faulting module path: D:\Windows\SYSTEM32\ntdll.dll Report Id: 0be8db8b-c6e1-11e2-93ef-00155d44b470 Faulting package full name: Faulting package-relative application ID:

奇怪的是,如果我在服务器上打开该应用程序,似乎就可以正常工作.

The strange thing is that if I open the app in the server it seems to be working.

推荐答案

创建本地虚拟机并安装 Visual Studio Ultimate .使用在Azure上使用IntelliTrace 进行调试. Intellitrace是从不开始的角色开始的第一个地方-不幸的是,它仅在最终版本的Visual Studio中可用.

Create a local virtual machine and install an evaluation version of Visual Studio Ultimate. Debug with IntelliTrace on Azure. Intellitrace is the first place to start with roles that don't start — unfortunately it is only available in the ultimate version of Visual Studio.

这篇关于部署到Azure失败,需要帮助对其进行调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆