私はAzureを使い始めようとしており、キャッシュ機能を使用しようとしています。クラウドサービスプロジェクトを作成し、キャッシュワーカーロールとウェブロールを追加しました。両方のロールのプロジェクトに「Windows Azure Caching」ナゲットをインストールし、Webロールのweb.configのDataCacheClients要素にキャッシュワーカーロールの名前を識別子として追加しました。Windows Azureを使用している間の例外キャッシュ:そのようなホストは知られていません
私は、Webの役割に次のコードを追加しました:私はエミュレータ上でローカルにこれを実行しようとすると
DataCacheFactory cf = new DataCacheFactory();
DataCache c = cf.GetDefaultCache();
は、私は次の例外を取得:
ErrorCode<ERRCA0017>:SubStatus<ES0006>:There is a temporary failure.
Please retry later. (One or more specified cache servers are unavailable,
which could be caused by busy network or servers. For on-premises cache clusters,
also verify the following conditions. Ensure that security permission has been granted
for this client account, and check that the AppFabric Caching Service is allowed through
the firewall on all cache hosts. Also the MaxBufferSize on the server must be greater
than or equal to the serialized object size sent from the client.).
Additional Information : The client was trying to communicate with the server: net.tcp://MvcWebRole1:24233.
Inner Exception : No such host is known
あなたは私を教えてくださいすることができここで私は何が欠けているのですか?
Azure SDK used:v2.0
悲劇的に、この質問のタイミングは私にとっても良いことです。 :-) –