exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Chequers.DataValidation.CustomValueValidation' threw an exception. ---> System.Exception: Error in Cache Advisor: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) at System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject, Boolean withFailover) at System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject, Boolean withFailover) at System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) at System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) at System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) at System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) at System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.SqlClient.SqlConnection.Open() at Microsoft.Practices.EnterpriseLibrary.Data.Database.GetNewOpenConnection() at Microsoft.Practices.EnterpriseLibrary.Data.Database.GetOpenConnection(Boolean disposeInnerConnection) at Microsoft.Practices.EnterpriseLibrary.Data.Database.GetOpenConnection() at Microsoft.Practices.EnterpriseLibrary.Data.Database.DiscoverParameters(DbCommand command) at Microsoft.Practices.EnterpriseLibrary.Data.ParameterCache.SetParameters(DbCommand command, Database database) at Chequers.Sql.SqlManager.GetProcedure(String name) at Chequers.Services.Implementations.DirectChoiceService.GetEmployerValidation() --- End of inner exception stack trace --- at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) at TrueClarity.Extensibility.ComponentModel.WeaverProxy.<>c__DisplayClass2.b__0(Concern concern) at TrueClarity.Extensibility.Data.CacheStrategy.<>c__DisplayClass5.b__3() at TrueClarity.Extensibility.Data.Cache.TrueClarity.Extensibility.Data.Contracts.ICache.Get[TType](CacheScope scope, String key, Func`1 activator, CacheExpiry expiry) at TrueClarity.Extensibility.Data.CacheStrategy.CacheAdvice(Concern concern, Func`2 previous) at TrueClarity.Extensibility.Data.CacheStrategy.CacheAdvice(Concern concern, Func`2 previous) at TrueClarity.Extensibility.ComponentModel.WeaverProxy.<>c__DisplayClass6.b__5(Concern concern) at TrueClarity.Extensibility.ComponentModel.WeaverProxy.Invoke(IMessage message) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at Chequers.Services.Contracts.IDirectChoiceService.GetEmployerValidation() at Chequers.DataValidation.CustomValueValidation..cctor() --- End of inner exception stack trace --- at Chequers.DataValidation.CustomValueValidation.ValidTitleAndGender(String validationResourcePath, String genderTitleMappingPath) at Chequers.DataProviders.VanInsuranceDataProvider.GetData() at Chequers.DataProviders.VanInsuranceDataProvider.LinkToJourney(IJourneyProvider provider) at Chequers.Web.UI.Journey.JourneyProviderFactory.Create() at TrueClarity.Extensibility.ComponentModel.ComponentLocator.TrueClarity.Extensibility.ComponentModel.Contracts.IComponentLocator.Create[TType]() at TrueClarity.Extensibility.ComponentModel.ComponentLocatorLease.Default`1.TrueClarity.Extensibility.ComponentModel.Contracts.IComponentLease.Get() at TrueClarity.Extensibility.ComponentModel.ComponentLocator.TrueClarity.Extensibility.ComponentModel.Contracts.IComponentLocator.Get[TType]() --- End of inner exception stack trace --- at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) at TrueClarity.Extensibility.ComponentModel.ComponentLocatorExtensions.Get(IComponentLocator source, Type type) at TrueClarity.Extensibility.ComponentModel.LocatorInjector.<>c__DisplayClass4.b__1() at TrueClarity.Extensibility.ComponentModel.LocatorStackFrame.Find(Type type, Func`1 activator) at TrueClarity.Extensibility.ComponentModel.LocatorInjector.TrueClarity.Extensibility.ComponentModel.Contracts.IDependencyInjectorStrategy.SetUp(DependencyDescriptor descriptor, Func`2 previous) at TrueClarity.Extensibility.ComponentModel.DependencyInjector.<>c__DisplayClassa.b__9(DependencyDescriptor descriptor) at TrueClarity.Extensibility.ComponentModel.EventBrokerInjector.TrueClarity.Extensibility.ComponentModel.Contracts.IDependencyInjectorStrategy.SetUp(DependencyDescriptor descriptor, Func`2 previous) at TrueClarity.Extensibility.ComponentModel.DependencyInjector.<>c__DisplayClassa.b__9(DependencyDescriptor descriptor) at TrueClarity.Extensibility.Web.QueryStringInjector.TrueClarity.Extensibility.ComponentModel.Contracts.IDependencyInjectorStrategy.SetUp(DependencyDescriptor descriptor, Func`2 previous) at TrueClarity.Extensibility.ComponentModel.DependencyInjector.<>c__DisplayClassa.b__9(DependencyDescriptor descriptor) at TrueClarity.Extensibility.Data.StorageInjector.TrueClarity.Extensibility.ComponentModel.Contracts.IDependencyInjectorStrategy.SetUp(DependencyDescriptor descriptor, Func`2 previous) at TrueClarity.Extensibility.ComponentModel.DependencyInjector.<>c__DisplayClassa.b__9(DependencyDescriptor descriptor) at TrueClarity.Extensibility.ComponentModel.WeaverInjector.TrueClarity.Extensibility.ComponentModel.Contracts.IDependencyInjectorStrategy.SetUp(DependencyDescriptor component, Func`2 previous) at TrueClarity.Extensibility.ComponentModel.DependencyInjector.<>c__DisplayClassa.b__9(DependencyDescriptor descriptor) at TrueClarity.Extensibility.ComponentModel.DependencyInjector.TrueClarity.Extensibility.ComponentModel.Contracts.IDependencyInjector.Decorate(Object component, Type implementationType, Type contractType) at TrueClarity.Extensibility.ComponentModel.DependencyInjectorExtensions.Decorate(IDependencyInjector source, Object component, Type type) at TrueClarity.Extensibility.ComponentModel.DependencyInjector.TrueClarity.Extensibility.ComponentModel.Contracts.IDependencyInjector.Create(Type type) at TrueClarity.Extensibility.Data.Storage.TrueClarity.Extensibility.ComponentModel.Contracts.IComponentLocatorConsumer.SetLocator(IComponentLocator locator) at TrueClarity.Extensibility.ComponentModel.ComponentLocatorLease.Default`1.TrueClarity.Extensibility.ComponentModel.Contracts.IComponentLease.Get() at TrueClarity.Extensibility.Data.StorageLease.Ready() at TrueClarity.Extensibility.ComponentModel.ComponentLocatorLease.Default`1.TrueClarity.Extensibility.ComponentModel.Contracts.IComponentLocatorReliant.Ready() at TrueClarity.Extensibility.ComponentModel.ComponentLocator.b__0(IComponentLocatorReliant lease) at System.Collections.Generic.List`1.ForEach(Action`1 action) at TrueClarity.Extensibility.ComponentModel.ComponentLocator.TrueClarity.Extensibility.ComponentModel.Contracts.IComponentConfigurationConsumer.SetConfiguration(IComponentConfiguration configuration) at TrueClarity.Extensibility.ComponentModel.ComponentLocator.Create(IComponentConfiguration configuration) at TrueClarity.Extensibility.ComponentModel.ComponentLocatorFactory.TrueClarity.Extensibility.ComponentModel.Contracts.IComponentFactory.Create() at TrueClarity.Extensibility.ComponentModel.ComponentLocatorLease.TrueClarity.Extensibility.ComponentModel.Contracts.IComponentLease.Get() at TrueClarity.Extensibility.ComponentModel.ComponentLocator.Get() at TrueClarity.Extensibility.ComponentModel.ComponentLocator.Get[TType]() at Chequers.Website.Global.Session_Start(Object sender, EventArgs e) at System.Web.SessionState.SessionStateModule.RaiseOnStart(EventArgs e) 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)
 Error - Direct Choice - UK Insurance for your Car, Van, Motorbike and Home

Please call us...

Sorry, we are currently experiencing some difficulties processing your quote. Please call us on 0800 838 838 and one of our advisers will be happy to help you. Lines are open weekdays 8.30am - 7pm, Saturday 8.30am - 3pm.

Home Page

Direct Choice Insurance Services Ltd is registered in England and Wales (Company No. 5522196).

Registered Office: Enbrook Park, Sandgate, Folkestone, Kent, CT20 3SE. Direct Choice Insurance Services Ltd is authorised and regulated by the Financial Services Authority.