Windows Azure Caching Error
We're using Azure Cache to store Session State for an ASP.NET Application.
When we deployed our project to Azure, we get the following error.
Exception type: SocketException Exception message: No such host is known
at System.Net.Dns.HostResolutionEndHelper(IAsyncResult asyncResult) at
System.Net.Sockets.Socket.DoDnsCallback(IAsyncResult result,
MultipleAddressConnectAsyncResult context) at
System.Net.Sockets.Socket.BeginConnect(String host, Int32 port,
AsyncCallback requestCallback, Object state) at
Microsoft.ApplicationServer.Caching.SocketConnectionFactory.BeginConnect(String
host, Int32 port, AsyncCallback callback, Object state, TimeSpan timeout)
at
Microsoft.ApplicationServer.Caching.TcpClientChannelFactory.BeginConnect(String
host, Int32 port, AsyncCallback callback, Object state) at
Microsoft.ApplicationServer.Caching.TcpClientChannel.ConnectAsync() at
Microsoft.ApplicationServer.Caching.SocketClientChannel.TryGetTcpChannelUntilTimeout(TcpClientChannel
clientChannel, ITcpChannel& chnl) at
Microsoft.ApplicationServer.Caching.SocketClientChannel.Send(EndpointID
endpoint, IVelocityRequestPacket packet) at
Microsoft.ApplicationServer.Caching.SocketClientChannel.Send(EndpointID
endpoint, ICreateMessage message) at
Microsoft.ApplicationServer.Caching.SimpleSendReceiveModule.Send(EndpointID
endpoint, RequestBody request, Int32 retries) at
Microsoft.ApplicationServer.Caching.SimpleSendReceiveModule.SendMsgAndWait(EndpointID
endpt, RequestBody reqMsg, TimeSpan requestTimeout, IRequestTracker&
tracker) at
Microsoft.ApplicationServer.Caching.SocketClientProtocol.SendMessage(EndpointID
endPt, RequestBody request) at
Microsoft.ApplicationServer.Caching.DataCacheFactory.EstablishConnection(IEnumerable1
servers, RequestBody request, Func3 sendMessageDelegate,
DataCacheReadyRetryPolicy retryPolicy) at
Microsoft.ApplicationServer.Caching.SocketClientProtocol.Initialize(IEnumerable1
servers) at
Microsoft.ApplicationServer.Caching.DataCacheFactory.GetCache(String
cacheName, CreateNewCacheDelegate cacheCreationDelegate,
DataCacheInitializationViaCopyDelegate initializeDelegate) at
Microsoft.Web.DistributedCache.CacheHelpers.RunCacheCreationHooks(CacheConnectingEventArgs
fetchingEventArgs, IDataCacheFactory dataCacheFactory, Object sender,
EventHandler1 fetchingHandler, EventHandler1 fetchedHandler) at
Microsoft.Web.DistributedCache.DistributedCacheSessionStateStoreProvider.CreateInternalProvider(IHttpRuntime
httpRuntime, SessionInitializationData initData, IDataCacheFactory
dataCacheFactory, EventHandler1 cacheFetching, EventHandler`1
cacheFetched) at
Microsoft.Web.DistributedCache.DistributedCacheSessionStateStoreProvider.GetInternalProvider()
at
Microsoft.Web.DistributedCache.DistributedCacheSessionStateStoreProvider.CreateNewStoreData(HttpContext
context, Int32 timeout) at
System.Web.SessionState.SessionStateModule.InitStateStoreItem(Boolean
addToContext) at
System.Web.SessionState.SessionStateModule.CompleteAcquireState() at
System.Web.SessionState.SessionStateModule.BeginAcquireState(Object
source, EventArgs e, AsyncCallback cb, Object extraData) at
System.Web.HttpApplication.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously)
Do you have any ideas for this issue ? Thanks
No comments:
Post a Comment