Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM Client/Server » View Thread |
Messages 1 to 7 of 7 total |
Max Connections not being set |
Mon, Mar 3 2008 6:48 AM | Permanent Link |
Paul Dyble | After setting Max Connections using ModifyServerConfig to 100, and then calling GetServerConfig immediately afterwards, Max Connections is being returned as 5 (in variable maxCon).
DBeng.ModifyServerConfig(FALSE, Round(conEd.Value), //conEd.Value = 100 Round(conTOutEd.Value), Round(deadIntEd.Value), Round(deadToutEd.Value), Round(deadMaxEd.Value), tempDirEd.Text, addrAuthed, addrBlked); DBeng.GetServerConfig(denyLogins, maxCon, conTOut, DSint, DSexp, DSmax, lpath, addrAuthed, addrBlked); Any idea what is preventing ModifyServerConfig from setting the Max Connections to above 5? Thanks, Paul. |
Mon, Mar 3 2008 6:50 AM | Permanent Link |
Paul Dyble | PS. Max Connections can be set to values under 5.
|
Mon, Mar 3 2008 9:54 AM | Permanent Link |
G. Lindsay | I have the same issue actually - just upgraded from Delphi 7 with 4.10 DBISAM which included source code, to Delphi 2007 with 4.26 DBISAM with no source (dcu only - cant seem to find
the source anymore) and I cannot get the max connections to be anything other than 5 too. I use similar code to yourself and I read in the manual/help file... "TDBISAMEngine.GetServerConfig Method" "If the maximum number of connections returned via this method is lower than what was attempted to be configured via the ModifyServerConfig method, the ServerLicensedConnections property has caused it to be lowered." So I checked this property and it is set to 65535 on the TDBISAMEngine Component so no idea why I am being limited to 5 connections. Hope someone can shed some light please. May have to end up converting the D7 code to D2007 to get my 100 connections to work!! |
Mon, Mar 3 2008 10:01 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Paul,
<< After setting Max Connections using ModifyServerConfig to 100, and then calling GetServerConfig immediately afterwards, Max Connections is being returned as 5 (in variable maxCon). >> Are you sure that you're compiling with a CS version of DBISAM and not a STD or TRIAL version ? That is usually the cause of this issue. -- Tim Young Elevate Software www.elevatesoft.com |
Mon, Mar 3 2008 10:21 AM | Permanent Link |
Paul Dyble | I downloaded DBISAM VCL Standard - Version 4.26 Build 1 (426b1dbisamvclstdr2007.exe) for Delphi 2007
I will download DBISAM VCL Client-Server with Source - Version 4.26 Build 1 (426b1dbisamvclcssrcr2007.exe) for Delphi 2007 and see how I get on. Thanks for your help so far! |
Mon, Mar 3 2008 10:33 AM | Permanent Link |
Paul Dyble | Thanks for your help - now have 100 connections.
|
Tue, Mar 4 2008 2:34 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Paul,
<< Thanks for your help - now have 100 connections. >> Cool, I'm glad that it's working now. -- Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Tuesday, April 30, 2024 at 03:55 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |