Umbraco 10 and external database access by nuget package "Microsoft.Data.SqlClient"
Hey community!
I am struggling with an issue in Umbraco 10 and I hope, you can help me out here!
We are implementing a new website with Umbraco 10 (v10.0.1 as no-cloud-solution with a custom MS SQL Server). When debugging the page in Visual Studio it is showing up and everything is fine.
Now we try accessing an external database. To achieve that I installed the nuget package Microsoft.Data.SqlClient (v4.1.0, same with v5.0.0) with all its dependencies. Now, when I start debugging, the Umbraco page is not starting anymore but the Umbraco installation wizard is shown.
I researched a while but cannot find any hint how to access an external database with Microsoft.Data.SqlClient package in a Umbraco 10 project.
What am I doing wrong? Is it possible to install the nuget package Microsoft.Data.SqlClient in an Umbraco 10 project?
There's a bug in certain versions of v10 meaning that if the DB connection can't be found it automatically triggers the installation wizard. So that's why that is appearing.
Umbraco 10 and external database access by nuget package "Microsoft.Data.SqlClient"
Hey community!
I am struggling with an issue in Umbraco 10 and I hope, you can help me out here!
We are implementing a new website with Umbraco 10 (v10.0.1 as no-cloud-solution with a custom MS SQL Server). When debugging the page in Visual Studio it is showing up and everything is fine.
Now we try accessing an external database. To achieve that I installed the nuget package Microsoft.Data.SqlClient (v4.1.0, same with v5.0.0) with all its dependencies. Now, when I start debugging, the Umbraco page is not starting anymore but the Umbraco installation wizard is shown.
I researched a while but cannot find any hint how to access an external database with Microsoft.Data.SqlClient package in a Umbraco 10 project.
What am I doing wrong? Is it possible to install the nuget package Microsoft.Data.SqlClient in an Umbraco 10 project?
Thanks in advance, Ben
Hey, I have done today the same in Umbraco 10 and it works fine. Please send your code
There's a bug in certain versions of v10 meaning that if the DB connection can't be found it automatically triggers the installation wizard. So that's why that is appearing.
is working on a reply...