0

私は VS2012 で Windows 7 Enterprise、Azure SDK 2.0、Azure Web Role Project を使用しています。

Azure クラウド プロジェクトのプロパティのエンドポイント セクションに https エンドポイントを追加するとすぐに、次のエラーが表示されます。

デバッガーをロール インスタンスにアタッチする際にエラーが発生しました。添付できません。呼び出されたオブジェクトがクライアントから切断されました。

https エンドポイントを削除するか、エンドポイント タイプを http に変更するとすぐに、すべてが機能します。また、1000 以上のポートで https を実行しようとしましたが、まだうまくいきません。

それは正常に展開され、証明書は明らかにすべて良好です。

何か案は?

編集

私の IISConfigurator.log は次のようになります。

IISConfigurator Information: 0 : [00000908:00000005, 2013/08/02 23:16:52.448, INFO ] Adding binding 127.255.0.0:82: to site deployment20(284).Widget.AzureProjV2.Widget.Web_IN_0_Web
IISConfigurator Information: 0 : [00000908:00000005, 2013/08/02 23:16:52.448, INFO ] Adding binding 127.255.0.0:446: to site deployment20(284).Widget.AzureProjV2.Widget.Web_IN_0_Web
IISConfigurator Information: 0 : [00000908:00000005, 2013/08/02 23:16:53.211, ERROR] Caught exception
IISConfigurator Information: 0 : [00000908:00000005, 2013/08/02 23:16:53.213, ERROR] Exception:System.Runtime.InteropServices.COMException (0x800401F3): Invalid class string (Exception from HRESULT: 0x800401F3 (CO_E_CLASSSTRING))

Server stack trace: 
   at Microsoft.Web.Administration.Interop.IAppHostProperty.get_Value()
   at Microsoft.Web.Administration.ConfigurationElement.GetPropertyValue(IAppHostProperty property)
   at Microsoft.Web.Administration.Binding.get_CertificateHash()
   at Microsoft.Web.Administration.BindingCollection.Add(Binding binding)
   at Microsoft.WindowsAzure.ServiceRuntime.IISConfigurator.WasManager.DeploySite(String roleId, WASite roleSite, String appPoolName, String sitePath, String iisLogsRootFolder, String failedRequestLogsRootFolder, List`1 bindings, List`1 protocols, FileManager fileManager, WAAppPool defaultAppPoolSettings, String roleGuid, String& appPoolSid, List`1 appPoolsAdded, String configPath)
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Microsoft.WindowsAzure.ServiceRuntime.IISConfigurator.WasContainer.DeploySite(String roleId, WASite roleSite, String appPoolName, String sitePath, String iisLogsRootFolder, String failedRequestLogsRootFolder, List`1 bindings, List`1 protocols, FileManager fileManager, WAAppPool defaultAppPoolSettings, String roleGuid, String& appPoolSid, List`1 appPoolsAdded, String configPath)
   at Microsoft.WindowsAzure.ServiceRuntime.IISConfigurator.IISConfigurator.Deploy(String roleId, WebAppModel webAppModel, String roleRootDirectory, String sitesDestinationRootDirectory, String diagnosticsRootDirectory, String roleGuid, String configPath)


IISConfigurator Information: 0 : [00000908:00000007, 2013/08/02 23:16:57.399, INFO ] Clean operation called over WCF interface with prefix 'deployment20(284)'
4

1 に答える 1

0

このプロセスで(さまざまな理由で)Azureの「デバッガーのアタッチ」エラーを4回目に修正しました。これを修正する方法は次のとおりです。

実際、私の経験では、これがすべての「デバッガーのアタッチ」エラーを修正する方法であることを証明しています。

  1. 最新でない場合は、Azure SDK の最新バージョンをダウンロードしてください
  2. ソリューションから azure プロジェクトを削除します
  3. ソリューションでまったく新しいクラウド/Azure プロジェクトを作成する
  4. 古いプロジェクトから新しいプロジェクトに設定をコピーします (ただし、cscfg/csdef ファイル全体をコピー/貼り付けすることではありません。そこには azure バージョン固有のものがあります。必要な特定の行のみをコピーしてください)。
于 2013-08-02T23:57:00.307 に答える