Question

I'm trying to increase the default lock timeout in my connection string like this:

strConnectionString = "Data Source=....;SSCE:Default Lock Timeout=50000;"


I also tried it like this

strConnectionString = "Data Source=....;default lock timeout=50000;"


But I keep getting the error, that my parameter is invalid for my connection string.
Does anybody know how this have to be implemented properly?

The connection string works fine if I remove it.

Was it helpful?

Solution

Try to lower the value maybe, it may be outside the allowed range, which I cannot see documented anywhere

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top