I was trying out SqlDependency in a .NET application I am writing, when all my users were now getting the following error in the main software.
[Microsoft][SQL Native Client][SQL Server]INSERT failed because the following SET options have incorrect settings: 'QUOTED_IDENTIFIER, CONCAT_NULL_YIELDS_NULL, ANSI_WARNINGS'. Verify that SET options are correct for use with indexed views and/or indexes.
Our software requires that the "Use ANSI quoted identifiers" and "Use ANSI nulls, paddings, warnings" be unchecked in the System DSN. Though to try things out I checked those options, and the error was almost gone - it was left with just the ANSI_WARNINGS in the error message.
Changing the DSN on every machine is not the best scenario, I would rather do something on the server to fix this.
Any ideas?
Thanks.
[Microsoft][SQL Native Client][SQL Server]INSERT failed because the following SET options have incorrect settings: 'QUOTED_IDENTIFIER, CONCAT_NULL_YIELDS_NULL, ANSI_WARNINGS'. Verify that SET options are correct for use with indexed views and/or indexes.
Our software requires that the "Use ANSI quoted identifiers" and "Use ANSI nulls, paddings, warnings" be unchecked in the System DSN. Though to try things out I checked those options, and the error was almost gone - it was left with just the ANSI_WARNINGS in the error message.
Changing the DSN on every machine is not the best scenario, I would rather do something on the server to fix this.
Any ideas?
Thanks.