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.

Était-ce utile?

La solution

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top