AppFabricCaching服务崩溃时记录了以下消息:
AppFabric Caching service crashed.{Microsoft.ApplicationServer.Caching.ConfigStoreException: A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The specified network name is no longer available.) ---> System.Data.SqlClient.SqlException: A transport-level error has occurred when receiving results from the server. (provider: TCP Provider, error: 0 - The specified network name is no longer available.) ---> System.ComponentModel.Win32Exception: The specified network name is no longer available
--- End of inner exception stack trace ---
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()
at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()
at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()
at System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader()
at Microsoft.ApplicationServer.Caching.SqlServerCustomProviderCore.GetEntries(Object transactionContext, String type)
--- End of inner exception stack trace ---
at Microsoft.ApplicationServer.Caching.SqlServerCustomProviderCore.GetEntries(Object transactionContext, String type)
at Microsoft.ApplicationServer.Caching.SqlServerCustomProvider.<>c__DisplayClass1`1.<PerformOperation>b__0()
at Microsoft.ApplicationServer.Caching.SqlServerCustomProvider.PerformOperation(Action action)
at Microsoft.ApplicationServer.Caching.SqlServerCustomProvider.PerformOperation[TResult](Func`1 func)
at Microsoft.ApplicationServer.Caching.ClusterConfigDictionaryReader.GetConfigs[T](String type)
at Microsoft.ApplicationServer.Caching.ServiceConfigurationManager.InitializeHostsData(IClusterConfigurationReader globalConfig)
at Microsoft.ApplicationServer.Caching.ServiceConfigurationManager.InitializeDataFromGlobalConfig()
at Microsoft.ApplicationServer.Caching.VelocityWindowsService.StartService(Boolean deleteTKT)
at Microsoft.ApplicationServer.Caching.VelocityWindowsService.StartServiceCallback(Object context)}
任何指针都非常感激。
答案 0 :(得分:0)
此消息非常重要
从接收结果时发生传输级别错误 服务器。 (提供程序:TCP提供程序,错误:0 - 指定的网络名称 已不再可用。)---&gt; System.Data.SqlClient.SqlException:A 从接收结果时发生传输级错误 服务器。 (提供程序:TCP提供程序,错误:0 - 指定的网络名称 已不再可用。)---&gt; System.ComponentModel.Win32Exception: 指定的网络名称不再可用
此错误表明托管群集配置的Sql Server实例不再可用。由于配置位置可能是单点故障,因此必须始终可用。
检查Program Files\ Microsoft AppFabric 1.1 for Windows Server
下的DistributedCacheService.exe.config中配置的连接字符串。