Visual Studio 2010挂起用于Windows Azure的“配置远程桌面连接”

时间:2011-11-15 07:37:20

标签: azure hang visual-studio-2010-sp1

尝试访问Azure项目中的远程桌面连接设置时,Visual Studio 2010 SP1会挂起,直到被强制关闭。我安装了新的Azure SDK(2011年11月),问题仍然存在。通过选中框或单击“发布”窗口中的“设置..”(我尝试发布屏幕截图,但不幸的是我的声誉太低了...... ;-))会出现问题。

我在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 个答案:

答案 0 :(得分:1)

我重新创造了我的问题并解决了它。步骤进行:

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.

答案 1 :(得分:0)

真的需要更多信息来解决这个问题。当发生这种情况时你能捕获挂起转储并打开转储并让我们看到挂起的callstack吗?

你也可以尝试运行procmon和procexp来查看是否有任何错误: http://technet.microsoft.com/en-us/sysinternals/bb896645

http://technet.microsoft.com/en-us/sysinternals/bb896653