Visual Studio 2010 зависает на "Настройка подключений к удаленному рабочему столу" для Windows Azure
При попытке получить доступ к настройкам для подключений к удаленному рабочему столу в моем проекте Azure Visual Studio 2010 SP1 зависает, пока не будет принудительно закрыто. Я установил новый Azure SDK (ноябрь 2011 г.), и проблема сохраняется. Проблема возникает либо путем установки флажка, либо путем нажатия "Настройки..." в окне "Опубликовать" (я пытался опубликовать снимок экрана, но, к сожалению, моя репутация слишком низкая..;-))
Я включил ведение журнала в Visual Studio и получил следующие записи:
<entry>
<record>326</record>
<time>2011/11/15 06:55:14.972</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Entering function CVsPackageInfo::HrInstantiatePackage</description>
<guid>{8FF02D1A-C177-4AC8-A62F-88FC6EA65F57}</guid>
</entry>
<entry>
<record>327</record>
<time>2011/11/15 06:55:14.972</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Unexpected system error mode before loading package [Visual Web Developer Project Persistance Package]</description>
<guid>{8FF02D1A-C177-4AC8-A62F-88FC6EA65F57}</guid>
</entry>
<entry>
<record>328</record>
<time>2011/11/15 06:55:14.972</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Begin package load [Visual Web Developer Project Persistance Package]</description>
<guid>{8FF02D1A-C177-4AC8-A62F-88FC6EA65F57}</guid>
</entry>
<entry>
<record>329</record>
<time>2011/11/15 06:55:14.988</time>
<type>Information</type>
<source>VisualStudio</source>
<description>Loading UI library</description>
<guid>{8FF02D1A-C177-4AC8-A62F-88FC6EA65F57}</guid>
<path>C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\Packages\*\webdirprjui.dll</path>
</entry>
<entry>
<record>330</record>
<time>2011/11/15 06:55:14.988</time>
<type>Information</type>
<source>VisualStudio</source>
<description>End package load [Visual Web Developer Project Persistance Package]</description>
<guid>{8FF02D1A-C177-4AC8-A62F-88FC6EA65F57}</guid>
</entry>
</activity>
Я буду рад предоставить больше информации, если это будет полезно.
2 ответа
Я воссоздал, что было моей проблемой и решил ее. шаги:
1.Add a certificate.
1.1 In the web-role project, open the configuration file under Roles and then select Certificates in the left menu.
1.2 Click Add Certificate. (just leave it as it is created).
1.3 Save.
2. Try to open Remote desktop configuration.
2.1 Visual Studio hangs.
3. Solve it.
3.1 Restart Visual studio.(Always as administrator).
3.2 Remove the certificate.
3.3 Try to open Remote desktop configuration.
3.4 It should now work. Well.. It does for me.
Действительно нужна дополнительная информация для устранения этой проблемы. Можете ли вы захватить дамп зависания, когда это произойдет, и открыть дамп, и мы увидим, что колл-стак висит?
Вы также можете попробовать запустить procmon и procxp, чтобы увидеть, нет ли в них ошибок: http://technet.microsoft.com/en-us/sysinternals/bb896645