从visual studio 10发布新的azure web角色时出现问题

从visual studio 10发布新的azure web角色时出现问题,azure,azure-web-roles,Azure,Azure Web Roles,我正在尝试通过VisualStudio10中的发布设置创建web角色的新实例。但是,它似乎在发布过程中遇到了问题: 13:30:32 - Warning: There are package validation warnings. 13:30:32 - Preparing deployment for PHPService - 02/04/2013 13:30:11 with Subscription ID 'xxxxxxxxxx' using Service Management URL '

我正在尝试通过VisualStudio10中的发布设置创建web角色的新实例。但是,它似乎在发布过程中遇到了问题:

13:30:32 - Warning: There are package validation warnings.
13:30:32 - Preparing deployment for PHPService - 02/04/2013 13:30:11 with Subscription ID 'xxxxxxxxxx' using Service Management URL 'https://management.core.windows.net/'...
13:30:32 - Connecting...
13:30:38 - Uploading Certificates...
13:30:57 - Verifying storage account 'xxxxxxxxx'...
13:31:00 - Uploading Package...
13:31:57 - Updating...
13:33:07 - Instance 0 of role PHPWebRole is creating the virtual machine
13:33:08 - Created Deployment ID: xxxxxxxxxxxxx.
13:33:08 - Starting...
13:33:27 - Initializing...
13:33:27 - Instance 0 of role PHPWebRole is in an unknown state
13:34:01 - Instance 0 of role PHPWebRole is starting the virtual machine
13:34:39 - Instance 0 of role PHPWebRole is in an unknown state
13:35:14 - Instance 0 of role PHPWebRole is busy
它在忙时卡住了,因此我无法使用我的web角色

为什么会发生这种情况,我如何解决


谢谢。

访问管理门户时,您会看到什么它应该在PHPService的仪表板上提供详细信息。同时检查您的使用情况,并验证订阅中是否有可用的内核用于部署。在项目根目录下的WebRole.cs下的OnStart方法中是否有自定义代码?如果此方法失败,则角色可能会处于繁忙状态,但在一段时间后配置将失败。还要检查ServiceConfiguration中的OSFamily、大小和版本。