我正在尝试在我的应用程序中注册新数据库,这是我的连接字符串,但在将版本从 4.1.7 升级到 4.2.1 后它们都没有工作并抛出错误
Data Source=xxx;Initial Catalog=xxx;Integrated Security=True;
Data Source=xxx;Initial Catalog=xxx;Integrated Security=SSPI;
Data Source=xxx;Initial Catalog=xxx;Integrated Security=True;ProviderName=System.Data.SqlClient
Error connecting to database: Cannot convert null to 'bool' because it is a non-nullable value type