FluentNHibernate.Cfg.FluentConfigurationException: An invalid or incomplete configuration was used while creating a SessionFactory. Check PotentialReasons collection, and InnerException for more detail.
---> Microsoft.Data.SqlClient.SqlException (0x80131904): Cannot open database "dealeron" requested by the login. The login failed.
Login failed for user 'default'.
at Microsoft.Data.SqlClient.ConnectionPool.WaitHandleDbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.SqlClient.ConnectionPool.WaitHandleDbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 taskCompletionSource, DbConnectionOptions userOptions, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
at Microsoft.Data.SqlClient.SqlConnection.Open()
at NHibernate.Connection.DriverConnectionProvider.GetConnection(String connectionString)
at NHibernate.Connection.ConnectionProvider.GetConnection()
at NHibernate.Tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.Prepare()
at NHibernate.Tool.hbm2ddl.SchemaMetadataUpdater.GetReservedWords(Dialect dialect, IConnectionHelper connectionHelper)
at NHibernate.Tool.hbm2ddl.SchemaMetadataUpdater.UpdateDialectKeywords(Dialect dialect, IConnectionHelper connectionHelper)
at NHibernate.Tool.hbm2ddl.SchemaMetadataUpdater.Update(ISessionFactoryImplementor sessionFactory)
at NHibernate.Impl.SessionFactoryImpl..ctor(Configuration cfg, IMapping mapping, Settings settings, EventListeners listeners)
at NHibernate.Cfg.Configuration.BuildSessionFactory()
at FluentNHibernate.Cfg.FluentConfiguration.BuildSessionFactory()
ClientConnectionId:f5dac539-b1c9-4f0c-888f-daf04accf3bf
Error Number:4060,State:1,Class:11
--- End of inner exception stack trace ---
at FluentNHibernate.Cfg.FluentConfiguration.BuildSessionFactory()
at SITESAA.Infrastructure.DataLayer.Contexts.DatabaseContext.LoadSessionFactory() in /home/ado-agent/agent/_work/3/s/SITESAA/Source/SITESAA.Infrastructure.DataLayer/Contexts/DatabaseContext.cs:line 37
at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
--- End of stack trace from previous location ---
at System.Lazy`1.CreateValue()
at SITESAA.Infrastructure.DataLayer.Repositories.DealerHeaderRepository.GetDealerIdByHost(String hostname) in /home/ado-agent/agent/_work/3/s/SITESAA/Source/SITESAA.Infrastructure.DataLayer/Repositories/DealerHeaderRepository.cs:line 10
at SITESAA.Infrastructure.Services.Caching.Providers.RedisCacheProvider.<>c__DisplayClass21_0`1.b__0() in /home/ado-agent/agent/_work/3/s/SITESAA/Source/SITESAA.Infrastructure.Services/Caching/Providers/RedisCacheProvider.cs:line 81
at SITESAA.Infrastructure.Services.Caching.Providers.RedisCacheProvider.Cached[T](String key, Int32 expirationInMinutes, Func`1 functionWithPayloadWhichWillBeCached, CachingType cachingType) in /home/ado-agent/agent/_work/3/s/SITESAA/Source/SITESAA.Infrastructure.Services/Caching/Providers/RedisCacheProvider.cs:line 81
at SITESAA.Infrastructure.Services.Caching.Providers.MemoryCacheProvider.<>c__DisplayClass13_0`1.b__0() in /home/ado-agent/agent/_work/3/s/SITESAA/Source/SITESAA.Infrastructure.Services/Caching/Providers/MemoryCacheProvider.cs:line 85
at SITESAA.Core.Helpers.Timer.Time(Action functionToBeTimed) in /home/ado-agent/agent/_work/3/s/SITESAA/Source/SITESAA.Core.Helpers/Timer.cs:line 21
at SITESAA.Infrastructure.Services.Caching.Providers.MemoryCacheProvider.Cached[T](String key, Int32 expirationInMinutes, Func`1 functionWithPayloadWhichWillBeCached, CachingType cachingType) in /home/ado-agent/agent/_work/3/s/SITESAA/Source/SITESAA.Infrastructure.Services/Caching/Providers/MemoryCacheProvider.cs:line 84
at SITESAA.Core.DomainServices.Caching.Providers.CacheProviderBase.Cached[T](String key, Func`1 functionWithPayloadWhichWillBeCached) in /home/ado-agent/agent/_work/3/s/SITESAA/Source/SITESAA.Core.DomainServices/Caching/Providers/CacheProviderBase.cs:line 37
at SITESAA.Presentation.Infra.WebRequestService.GetHostDealerId(String hostName) in /home/ado-agent/agent/_work/3/s/SITESAA/Source/SITESAA.Presentation.Infra/WebRequestService.cs:line 412
at SITESAA.Presentation.Infra.WebRequestService.GetDealerId() in /home/ado-agent/agent/_work/3/s/SITESAA/Source/SITESAA.Presentation.Infra/WebRequestService.cs:line 192
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(FactoryCallSite factoryCallSite, RuntimeResolverContext context)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitCache(ServiceCallSite callSite, RuntimeResolverContext context, ServiceProviderEngineScope serviceProviderEngine, RuntimeResolverLock lockType)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)
at lambda_method14(Closure, Object, HttpContext, IServiceProvider)
at SITESAA.Presentation.Infra.Middleware.StaticDependencyInjectionShimMiddleware.InvokeAsync(HttpContext context, IDealerService dealerService, IDealerAddressService dealerAddressService, IDealerOrganizationService dealerOrganizationService, ILocationService locationService, ICustomizationService customizationService, IOemProgramService oemProgramService, IPrivacySettingsService privacySettingsService, IWebRequestService webRequestService, PlatformOptions platformOptions, IVehicleRefService vehicleRefService, CacheOptions cacheOptions, MemoryCacheProviderBase memoryCacheProvider, ICacheProvider cacheProvider, IConnectionMultiplexer connectionMultiplexer, ILoadDealerService loadDealerService, IRelayControl relayControl, IDealerFeatureRingProvider dealerFeatureRingProvider) in /home/ado-agent/agent/_work/3/s/SITESAA/Source/SITESAA.Presentation.Infra/Middleware/StaticDependencyInjectionShimMiddleware.cs:line 67
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
HEADERS
=======
Accept: */*
Host: prod-web-5.ashburn.edealertools.com
User-Agent: Blog Loader
X-Dealer-Hostname: prod-web-5.ashburn.edealertools.com