System.InvalidOperationException: Unknown provider...
# help-with-umbraco
d
Hi. I'm trying to upgrade from Umbraco 12 to 13. I have changed the dotnet versions, and upgraded the Umbraco nuget packages. But know I get an error stating it cant finde Microsoft.Data.SqlClient The first error I got was: BootFailedException: Boot failed: Umbraco cannot run. See Umbraco's log file for more details. -> Umbraco.Cms.Core.Exceptions.BootFailedException: Unattended installation failed. -> Umbraco.Cms.Core.Exceptions.UnattendedInstallException: Unattended installation failed. -> System.ArgumentException: The specified invariant name 'Microsoft.Data.SqlClient' wasn't found in the list of registered .NET Data Providers. at System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName, Boolean throwOnError) Then I added, DbProviderFactories.RegisterFactory("Microsoft.Data.SqlClient", SqlClientFactory.Instance); And now I get: BootFailedException: Boot failed: Umbraco cannot run. See Umbraco's log file for more details. -> Umbraco.Cms.Core.Exceptions.BootFailedException: The database configuration failed. Please check log file for additional information (can be found in '/Umbraco/Data/Logs/') -> Umbraco.Cms.Core.Exceptions.UnattendedInstallException: The database configuration failed. Please check log file for additional information (can be found in '/Umbraco/Data/Logs/') -> System.InvalidOperationException: Unknown provider name "Microsoft.Data.SqlClient" at Umbraco.Cms.Infrastructure.Persistence.DbProviderFactoryCreator.GetSqlSyntaxProvider(String providerName) Anyone know how to fix this?
I do have the Microsoft.Data.SqlClient nuget installed
I'm trying to run it against a local sql server database
I found the issue. It was because I had the Umbraco.Deploy.Forms v12.1.4 installed. I needed to uninstall that and use the new Umbraco.Forms.Deploy instead
34 Views