[Win32Exception (0x80004005): 指定的网络名不再可用。]
[SqlException (0x80131904): 在从服务器接收结果时发生传输级错误。 (provider: TCP Provider, error: 0 - 指定的网络名不再可用。)]
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +3306108
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +736
System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error) +643
System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync() +290
System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket() +121
System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer() +94
System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value) +46
System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) +558
System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() +90
System.Data.SqlClient.SqlDataReader.get_MetaData() +99
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) +604
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) +3303
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) +667
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) +83
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) +301
Dapper.SqlMapper.ExecuteReaderWithFlagsFallback(IDbCommand cmd, Boolean wasClosed, CommandBehavior behavior) +98
Dapper.SqlMapper.QueryRowImpl(IDbConnection cnn, Row row, CommandDefinition& command, Type effectiveType) +379
Dapper.SqlMapper.QueryFirst(IDbConnection cnn, String sql, Object param, IDbTransaction transaction, Nullable`1 commandTimeout, Nullable`1 commandType) +147
ZhaoYang.RD.CommonService.Config.ConfRepository.ListByGroupName(ConfQuery query) in G:\workspace\code\commonsystem\trunk\ZhaoYang.RD.CommonService\Config\ConfRepository.cs:115
ZhaoYang.RD.CommonService.Config.ConfigService.loadConfigs() in G:\workspace\code\commonsystem\trunk\ZhaoYang.RD.CommonService\Config\ConfigService.cs:35
ZhaoYang.RD.CommonService.Config.ConfigService..ctor(String groupName) in G:\workspace\code\commonsystem\trunk\ZhaoYang.RD.CommonService\Config\ConfigService.cs:27
ZhaoYang.RD.CommonService.Config.ConfigServiceHelper.GetInstance(String groupName) in G:\workspace\code\commonsystem\trunk\ZhaoYang.RD.CommonService\Config\ConfigServiceHelper.cs:34
ZhaoYang.RD.CommonService.Config.ConfigServiceHelper.GetConfig(String groupName, String key, String defaultValue) in G:\workspace\code\commonsystem\trunk\ZhaoYang.RD.CommonService\Config\ConfigServiceHelper.cs:58
ZhaoYang.CatalogSite.Web.UI.ApiService.KeyWordContentApiService..cctor() in G:\workspace\code\membersite\trunk\ZhaoYang.CatalogSite.Web.UI\ApiService\KeyWordContentApiService.cs:21
[TypeInitializationException: “ZhaoYang.CatalogSite.Web.UI.ApiService.KeyWordContentApiService”的类型初始值设定项引发异常。]
ZhaoYang.CatalogSite.Web.UI.ApiService.KeyWordContentApiService..ctor() +0
lambda_method(Closure , Object[] ) +72
Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +270
[DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor()' on type 'KeyWordContentApiService'. ---> “ZhaoYang.CatalogSite.Web.UI.ApiService.KeyWordContentApiService”的类型初始值设定项引发异常。 (See inner exception for details.)]
Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate() +814
Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters) +85
Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +110
[DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = KeyWordContentApiService (ReflectionActivator), Services = [ZhaoYang.CatalogSite.Web.UI.ApiService.KeyWordContentApiService, ZhaoYang.RD.Ioc.IIoc], Lifetime = Autofac.Core.Lifetime.CurrentScopeLifetime, Sharing = None, Ownership = OwnedByLifetimeScope ---> An exception was thrown while invoking the constructor 'Void .ctor()' on type 'KeyWordContentApiService'. ---> “ZhaoYang.CatalogSite.Web.UI.ApiService.KeyWordContentApiService”的类型初始值设定项引发异常。 (See inner exception for details.) (See inner exception for details.)]
Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +433
Autofac.Core.Resolving.InstanceLookup.Execute() +180
Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) +171
Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance) +122
Autofac.Core.Activators.Reflection.AutowiringPropertyInjector.InjectProperties(IComponentContext context, Object instance, IPropertySelector propertySelector, IEnumerable`1 parameters) +1048
Autofac.Core.Registration.ComponentRegistration.RaiseActivating(IComponentContext context, IEnumerable`1 parameters, Object& instance) +106
Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters) +269
Autofac.Core.Resolving.InstanceLookup.Execute() +180
Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters) +171
Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters) +108
Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance) +122
Autofac.ResolutionExtensions.ResolveOptionalService(IComponentContext context, Service service, IEnumerable`1 parameters) +70
Autofac.Integration.Mvc.AutofacDependencyResolver.GetService(Type serviceType) +95
System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +61
[InvalidOperationException: 尝试创建“ZhaoYang.CatalogSite.Web.UI.Controllers.RewriteController”类型的控制器时出错。请确保控制器具有无参数公共构造函数。]
System.Web.Mvc.DefaultControllerActivator.Create(RequestContext requestContext, Type controllerType) +242
System.Web.Mvc.DefaultControllerFactory.CreateController(RequestContext requestContext, String controllerName) +103
System.Web.Mvc.MvcHandler.ProcessRequestInit(HttpContextBase httpContext, IController& controller, IControllerFactory& factory) +263
System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state) +77
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +1020
System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +128
|