Try to lower the value maybe, it may be outside the allowed range, which I cannot see documented anywhere
Increase default lock timeout in SqlCeConnection.ConnectionString
-
04-10-2022 - |
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.
La solution
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow