D
David Mueller
Hi All,
I'm using A2003 and I'm trying to use the DBEngine.SetOption and it just
isn't working for me. I have DAO 3.6 referenced. No other DAOs are
referenced. It's the first statement after my DIM statements in my function.
DBEngine.SetOption dbMaxLocksPerFile, 500000
If I manually modify the registry, my transactions work fine. The following
in the registry fixes my transaction/workspace problem...
Jet/4.0/Jet 3.x (MaxLocksPerFile) = 500000 (this is the one I change)
Jet/4.0/Jet 4.0 (MaxLocksPerFile) = 9500
I set the registry back to the default 9500 and issue the DBEngine.SetOption
in code, ... and my transactions will "system resource exceeded" #3035. I
need to use the SetOption method because the registry is locked down in my
organization.
Any thoughts on this? Is there a way to verify if the SetOption method is
successfully modifying the session?
Thanks
David
I'm using A2003 and I'm trying to use the DBEngine.SetOption and it just
isn't working for me. I have DAO 3.6 referenced. No other DAOs are
referenced. It's the first statement after my DIM statements in my function.
DBEngine.SetOption dbMaxLocksPerFile, 500000
If I manually modify the registry, my transactions work fine. The following
in the registry fixes my transaction/workspace problem...
Jet/4.0/Jet 3.x (MaxLocksPerFile) = 500000 (this is the one I change)
Jet/4.0/Jet 4.0 (MaxLocksPerFile) = 9500
I set the registry back to the default 9500 and issue the DBEngine.SetOption
in code, ... and my transactions will "system resource exceeded" #3035. I
need to use the SetOption method because the registry is locked down in my
organization.
Any thoughts on this? Is there a way to verify if the SetOption method is
successfully modifying the session?
Thanks
David