# Keyword not supported: 'host'

**URL:** <https://forum.radzen.com/t/keyword-not-supported-host/1233>\
**Category:** Angular\
**Created:** [June 12, 2019, 2:08pm UTC](https://forum.radzen.com/t/keyword-not-supported-host/1233 "2019-06-12T14:08:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cybermap](https://forum.radzen.com/letter_avatar_proxy/v4/letter/c/e47c2d/32.png) [@Cybermap](https://forum.radzen.com/u/Cybermap)\
**Post date:** [June 12, 2019, 2:08pm UTC](https://forum.radzen.com/t/keyword-not-supported-host/1233/1 "2019-06-12T14:08:42Z")

</div>

Hi,

I have an application with a postgresql database with embedded authentication, when I add a second db in mssql, I can not log in it gives me the following error:

dotnet: fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]  
An unhandled exception has occurred while executing the request.  
System.ArgumentException: Keyword not supported: 'host'.  
at System.Data.Common.DbConnectionOptions.ParseInternal(Dictionary`2 parsetable, String connectionString, Boolean buildChain, Dictionary`2 synonyms, Boolean firstKey)  
at System.Data.Common.DbConnectionOptions..ctor(String connectionString, Dictionary`2 synonyms) at System.Data.SqlClient.SqlConnectionString..ctor(String connectionString) at System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous) at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(DbConnectionPoolKey key, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions) at System.Data.SqlClient.SqlConnection.ConnectionString_Set(DbConnectionPoolKey key) at System.Data.SqlClient.SqlConnection.set_ConnectionString(String value) at System.Data.SqlClient.SqlConnection..ctor(String connectionString) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerConnection.CreateDbConnection() at Microsoft.EntityFrameworkCore.Internal.LazyRef`1.get\_Value()  
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.get\_DbConnection()  
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.Open(Boolean errorsExpected)  
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerDatabaseCreator.\<\>c\_\_DisplayClass18\_0.b\_\_0(DateTime giveUp)  
at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.\<\>c\_\_DisplayClass12\_0`2.<Execute>b__0(DbContext c, TState s) at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded) at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.Execute[TState,TResult](IExecutionStrategy strategy, Func`2 operation, Func`2 verifySucceeded, TState state) at Microsoft.EntityFrameworkCore.ExecutionStrategyExtensions.Execute[TState,TResult](IExecutionStrategy strategy, TState state, Func`2 operation)  
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerDatabaseCreator.Exists(Boolean retryOnNotExists)  
at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerDatabaseCreator.Exists()  
at Microsoft.EntityFrameworkCore.Migrations.HistoryRepository.Exists()  
at Microsoft.EntityFrameworkCore.Migrations.Internal.Migrator.Migrate(String targetMigration)  
at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.Migrate(DatabaseFacade databaseFacade)  
at Dtmsksa2FlyRegistry.Data.ApplicationIdentityDbContext..ctor(DbContextOptions`1 options) in C:\Users\xxxx\Source\Workspaces\xxx\RadZENProjects\DTMSKSA2FLYRegistry\server\Data\ApplicationIdentityDbContext.cs:line 15  
at lambda\_method(Closure , ServiceProviderEngineScope )  
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)  
at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)  
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetService(IServiceProvider sp, Type type, Type requiredBy, Boolean isDefaultParameterRequired)  
at lambda\_method(Closure , IServiceProvider , Object[] )  
at Microsoft.AspNetCore.Mvc.Controllers.ControllerActivatorProvider.\<\>c\_\_DisplayClass4\_0.b\_\_0(ControllerContext controllerContext)  
at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.\<\>c\_\_DisplayClass5\_0.g\_\_CreateController|0(ControllerContext controllerContext)  
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)  
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()  
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter()  
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)  
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)  
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync()  
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync()  
at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)  
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

Note that I have another application with just the bd in mssql, and it works.

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [June 12, 2019, 2:28pm UTC](https://forum.radzen.com/t/keyword-not-supported-host/1233/2 "2019-06-12T14:28:47Z")

</div>

Confirmed! We will release fix immediately!

---

<div class="post-metadata">

**Author:** ![enchev](https://forum.radzen.com/user_avatar/forum.radzen.com/enchev/32/16_2.png) [@enchev](https://forum.radzen.com/u/enchev)\
**Post date:** [June 12, 2019, 3:27pm UTC](https://forum.radzen.com/t/keyword-not-supported-host/1233/3 "2019-06-12T15:27:51Z")

</div>

Radzen 2.18.2 was just released with fix for this!

---

<div class="post-metadata">

**Author:** ![Cybermap](https://forum.radzen.com/letter_avatar_proxy/v4/letter/c/e47c2d/32.png) [@Cybermap](https://forum.radzen.com/u/Cybermap)\
**Post date:** [June 12, 2019, 3:39pm UTC](https://forum.radzen.com/t/keyword-not-supported-host/1233/4 "2019-06-12T15:39:08Z")

</div>

Thank you for the quick fix.
