BingTranslateAPIで構成されるMVC3Webアプリケーションがあります。エミュレーターではすべて正常に動作しますが、エミュレーターをWindows Azureに展開すると、この問題が何度も発生します(2回以上再試行します)。
Instance 0 of role Website is busy
Instance 0 of role Website is cycling
非常に長い間サイクリングで停止します。そしてポータルで、私はこのメッセージを見ます:
Waiting for role to start... System is initializing
すでに「Add deployable assemblies
」を選択し、アカウントストレージへの接続文字列もチェックしたすべての参照をtrueにCopy Local = true
チェックし、アカウントストレージを介してクラウドで動作するようにプロジェクトを設定しました。
そしてここにBingTranslateAPIの私のweb.configがあります
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_LanguageService" closeTimeout="00:25:00"
openTimeout="00:25:00" receiveTimeout="00:25:00" sendTimeout="00:25:00"
allowCookies="false" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard"
maxBufferSize="65536" maxBufferPoolSize="524288" maxReceivedMessageSize="65536"
messageEncoding="Text" textEncoding="utf-8" transferMode="Buffered"
useDefaultWebProxy="true">
<readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
maxBytesPerRead="4096" maxNameTableCharCount="16384" />
<security mode="None">
<transport clientCredentialType="None" proxyCredentialType="None"
realm="" />
<message clientCredentialType="UserName" algorithmSuite="Default" />
</security>
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="http://api.microsofttranslator.com/V2/soap.svc"
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_LanguageService"
contract="BingTranslator.LanguageService" name="BasicHttpBinding_LanguageService" />
</client>
</system.serviceModel>
私は長い間検索してきましたが、何もうまくいきません。助けてください。よろしくお願いします