Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM Client/Server » View Thread |
Messages 1 to 4 of 4 total |
Cannot activate a remote session with the server engine. |
Sat, Oct 17 2009 4:38 AM | Permanent Link |
Sean Cross | I am using DBISAM 4.26 and trying the server option for the first time. For the life of
me, I can't connect to the server. I am running hte standard supplied server. I have logged in using the admin tool and set up a user and a database. On a blank from, I have dropped a Session, a database and a table. I set the Session and database properties as follows: object DBISAMDatabase1: TDBISAMDatabase EngineVersion = '4.26 Build 1' DatabaseName = 'RPM' RemoteDatabase = 'RPM' KeepTablesOpen = False SessionName = 'Remo' Left = 256 Top = 56 end object DBISAMSession1: TDBISAMSession EngineVersion = '4.26 Build 1' LockRetryCount = 15 LockWaitTime = 100 LockProtocol = lpPessimistic ProgressSteps = 20 SessionName = 'Remo' <<<<< SessionType = stRemote <<<<< RemoteEncryption = False RemoteEncryptionPassword = 'elevatesoft' RemoteCompression = 0 RemoteAddress = '127.0.0.1' RemotePort = 12005 RemoteTrace = False RemoteTimeout = 300 RemotePing = False RemotePingInterval = 60 Left = 112 Top = 48 end I think this should be sufficient. However if I try to activate the session or the database, I get the "Cannot activate a remote session with the server engine." error. Both client and server are on the same machine, and the admin app can find the server. Any ideas? |
Sat, Oct 17 2009 10:34 PM | Permanent Link |
Tony Pomfrett | Sean, I haven't tested this but I always set DatabaseName and RemoteDataBase to different values. Try changing DatabaseName to "Main" for example (and also change this for any query or table components). Also check that the server is
set up to accept unencrypted connections since you have RemoteEncryption off in the Session component. |
Mon, Oct 19 2009 7:31 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Sean,
<< I think this should be sufficient. However if I try to activate the session or the database, I get the "Cannot activate a remote session with the server engine." error. >> This can happen if you had the dbsrvr.dpr project open at any time, or had any previous project open that contained a TDBISAMEngine component with its EngineType property set to etServer. Just drop a TDBISAMEngine component on the form, and make sure that its EngineType property is set to etClient. That will fix it. -- Tim Young Elevate Software www.elevatesoft.com |
Thu, Oct 22 2009 7:03 PM | Permanent Link |
Sean Cross | "Tim Young [Elevate Software]" wrote:
Sean, << I think this should be sufficient. However if I try to activate the session or the database, I get the "Cannot activate a remote session with the server engine." error. >> This can happen if you had the dbsrvr.dpr project open at any time, or had any previous project open that contained a TDBISAMEngine component with its EngineType property set to etServer. Just drop a TDBISAMEngine component on the form, and make sure that its EngineType property is set to etClient. That will fix it. -- Tim Young Elevate Software www.elevatesoft.com Thanks. It looks like taht was the problem. Sean |
This web page was last updated on Tuesday, September 17, 2024 at 04:19 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |