I am getting below error in the log file when I host the site in IIS but works fine in local host.
**Error :** The specified invariant name 'Data Source=|DataDirectory|/Umbraco.sqlite.db;Cache=Shared;Foreign Keys=True;Pooling=True' wasn't found in the list of registered .NET Data Providers.\r\n at System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName, Boolean throwOnError)\r\n at Umbraco.Cms.Infrastructure.Persistence.DbProviderFactoryCreator.CreateFactory(String providerName)\r\n at Umbraco.Cms.Infrastructure.Persistence.UmbracoDatabaseFactory.get_DbProviderFactory()\r\n
Your website in IIS runs under a certain pool and user. This might be caused by the user running the website not having proper right (read/right) on the DB file. Would give the DB or the folder the DB is in full right to everyone temporary to check if this is the issue.
Also consider for debugging to enter the full path to the DB file, to make sure it is found.
And another error might be that Microsoft.Data.Sqlite package/dll is not avaiable on your server.
Would check it in this order, let me know if any of these help.
Umbraco Boot failed
I am getting below error in the log file when I host the site in IIS but works fine in local host.
Version:
.Net core - 7.0 Umbraco - 12.3.3 IIS - 10
Your website in IIS runs under a certain pool and user. This might be caused by the user running the website not having proper right (read/right) on the DB file. Would give the DB or the folder the DB is in full right to everyone temporary to check if this is the issue.
Also consider for debugging to enter the full path to the DB file, to make sure it is found.
And another error might be that Microsoft.Data.Sqlite package/dll is not avaiable on your server.
Would check it in this order, let me know if any of these help.
is working on a reply...