Keyword not supported: 'cache' during installation...
# help-with-umbraco
t
I'm trying installation in an Azure webapp using SQLite but it fails with this message. In this case I'm also using
.AddAzureBlobImageSharpCache
, could this be some incompatibility perhaps? Error:
Copy code
System.ArgumentException: Keyword not supported: 'cache'.
   at Microsoft.Data.Common.DbConnectionOptions.ParseInternal(Dictionary`2 parsetable, String connectionString, Boolean buildChain, Dictionary`2 synonyms, Boolean firstKey)
   at Microsoft.Data.Common.DbConnectionOptions..ctor(String connectionString, Dictionary`2 synonyms)
   at Microsoft.Data.SqlClient.SqlConnectionString..ctor(String connectionString)
   at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String connectionString, DbConnectionOptions previous)
   at Microsoft.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(DbConnectionPoolKey key, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions)
   at Microsoft.Data.SqlClient.SqlConnection.ConnectionString_Set(DbConnectionPoolKey key)
   at Microsoft.Data.SqlClient.SqlConnection.set_ConnectionString(String value)
   at Umbraco.Extensions.DbConnectionExtensions.IsConnectionAvailable(String connectionString, DbProviderFactory factory)
   at Umbraco.Cms.Infrastructure.Persistence.UmbracoDatabaseFactory.get_CanConnect()
   at Umbraco.Cms.Infrastructure.Migrations.Install.DatabaseBuilder.get_CanConnectToDatabase()
   at Umbraco.Cms.Infrastructure.Install.InstallHelper.get_IsBrandNewInstall()
   at Umbraco.Cms.Infrastructure.Install.InstallHelper.SetInstallStatusAsync(Boolean isCompleted, String errorMsg)
https://cdn.discordapp.com/attachments/1192456199430471740/1192456199656968202/image.png?ex=65a92460&is=6596af60&hm=6bc5afdcab78bf43c4e95ddc892baa23f565bb697821123edfdc9839b1a37e71&
s
Please don't use SQlite in production ๐Ÿ˜… And yes, looks like the Azure blob provider doesn't support SQLite.
t
Yeah of course, this is not production, it's just a very temporary preview deployment
s
Make sure to shoot a feature request to the blob provider repo, I would wager they'd say the same though, not wanting to support sqlite since it's not suitable for production sites. ๐Ÿ™‚
6 Views