Sounds like you have a dependency that is looking for SqlClient v1.0. You didn't mention the type of app you're having. I assume it is a web app but not sure whether you're using NET Framework or NET 6/8. For NET Framework look in your web.config
file and ensure you have a binding redirect for SqlClient that points to the 5.1.5 version. This will resolve the issue.
For NET 6/8 the binding redirect should not be an issue.
Ensure all your dependencies have been updated as well. Furthermore use the Consolidation tab in NuGet Package Manager UX for the solution to ensure you don't have any version conflicts.