角色实例都需要更长的时间比预期开始 - 有没有一种新的解决这个问题? [英] Role instances are taking longer than expected to start - Is there a new solution to this problem?

查看:141
本文介绍了角色实例都需要更长的时间比预期开始 - 有没有一种新的解决这个问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经重新启动我的电脑本周50-100倍。我发现我可以开始/获取此消息之前部署在本地一般3-4次:

I've rebooted my computer 50-100 times this week. I find I can start / deploy locally usually 3-4 times before getting this message:

的Windows Azure工具为Microsoft Visual Studio

"Windows Azure Tools for Microsoft Visual Studio

角色实例都需要更长的时间比预期开始。是否要继续等待?

Role instances are taking longer than expected to start. Do you want to continue waiting?"

解决方案得到我去再次重启。

The solution to get me going again is rebooting.

我知道这不是一个新问题。我记得MS同意这是一个问题,但没有任何人有不涉及回去托管Web核心的解决方案。好像这个问题是值得很多人得到,它已经没有周围的分辨率(据我所知),4-5个月以上。

I know it's not a new problem. I recall that MS agreed it was a problem but does anyone have a solution that does not involve going back to the Hosted Web Core. Seems like this problem is something a lot of people get and it's been around without a resolution (that I know of) for 4-5 months or more.

现在我会回来做是另一回事重启!!!!!

Now I'll get back to doing another reboot !!!!!

推荐答案

据我所知,有一些不同的东西,可能会导致这个问题。

From what I understand, there are a few different things that can cause this issue.

对于我来说,我我创建了一个Windows标识基金会启动任务为我的Azure部署之后再尝试运行使用Azure的模拟器我的应用程序遇到此错误。

For me, I encountered this error after I created a Windows Identity Foundation Startup Task for my Azure deployment and then tried to run my application using the Azure Emulator.

基本上,我需要做的是从简单到<$ c中的任务类型启动任务的变化$ C>背景

Basically, all I needed to do was change the taskType of the Startup Task from simple to background

ServiceDefinition.csdef中

<Startup>
  <Task commandLine="Startup\IdentityGac.cmd" executionContext="elevated" taskType="background"></Task>
</Startup>

根据您的问题

,我不知道这是否适用于你的项目,但我想它至少是值得一提。

Based on your question, I'm not sure if this applies to your project, but I figured it would at least be worth mentioning.

您可以阅读我的​​全部博客文章<一个href=\"http://creating$c$c.com/2012/04/windows-azure-role-instances-are-taking-longer-than-expected-to-start/\">here.

You can read my full blog post here.

这篇关于角色实例都需要更长的时间比预期开始 - 有没有一种新的解决这个问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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