Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB General » View Thread |
Messages 1 to 10 of 18 total |
Server mode config |
Mon, Aug 25 2008 3:26 AM | Permanent Link |
Francisco Fernandez | Hi.
I have my app working fine with edb in local mode. I have an engine component and a session component working in local mode. I want now to try to work in server mode but if i change the enginetype property of the engine component to etServer and the SessionType property of the session component to stRemote it show me the error "Cannot connect a remote session with the server engine" when i open the session component. Then i would know what are the changes to made to my application to work in server/client mode. I imagine too that i must run before all "elevate db server" in the client. If i'm working with tedbTable component are faster remote access or not? Thank you. |
Mon, Aug 25 2008 5:02 AM | Permanent Link |
Heiko Knuettel | Francisco,
>>if i change the enginetype property of the engine component to etServer and the SessionType >>property of the session component to stRemote it show me the error "Cannot connect a >>remote session with the server engine" when i open the session component. The EngineType property must be set to etClient for your application. Only set it to etServer when you create your own customized server. >>Then i would know what are the changes to made to my application to work in server/client mode. Just to "work", really not much. Start and configure the server, and change your session settings (stRemote, RemoteAdress, etc.). >>If i'm working with tedbTable component are faster remote access or not? Hard to say...it depends. If you don't have much concurrent users, and do operations like while-not-eof-next or table.lookup() very often, then you may end up with a worse performance than with a local session. Just try it out, since the only thing you have to alter in your application is the session component, it will be no harm to try. Heiko |
Mon, Aug 25 2008 5:40 AM | Permanent Link |
Francisco Fernandez | Hi again.
Thank you for your response. I have another question. Can i connect without problems one session in local mode and another in remote mode at the same time? To connect a remote session by dsl what must i do? open the port 12010 of the router to the local pc ip? Thank you again. |
Mon, Aug 25 2008 5:57 AM | Permanent Link |
Heiko Knuettel | Francisco,
>>Thank you for your response. I have another question. Can i connect without problems one >>session in local mode and another in remote mode at the same time? Yes, that works. >>To connect a remote session by dsl what must i do? open the port 12010 of the router to >>the local pc ip? On the pc running your application this won't be necessary. On the pc running the server you will have to forward the port 12010 to the pc adress. Heiko |
Mon, Aug 25 2008 12:09 PM | Permanent Link |
Francisco Fernandez | Heiko,
I have opened port number 12010 of my router and i install my application in a remote client. I run edbsrvr.exe and i go to "Edit Server Options"-"Configuration"-"File folder" to put the folder \\111.111.111.111\2\33333\ where "1111.111.111.111" is the public ip address "2" is the shared drive and "33333" is the folder of the file but it show me the message "You must enter a valid configuration file folder" Thank you |
Mon, Aug 25 2008 1:12 PM | Permanent Link |
Heiko Knuettel | Francisco,
>>folder \\111.111.111.111\2\33333\ I don't think an IP adress will work there. Try it with the computer name, like this way : \\pcname\sharedfolder If you don't want to mix local and remote sessions, you can also use a local path there, e.g. "D:\folder" Heiko |
Mon, Aug 25 2008 1:22 PM | Permanent Link |
Francisco Fernandez | Heiko
It works in a local net but when you have a remote pc that must connect with the server across internet? |
Mon, Aug 25 2008 1:42 PM | Permanent Link |
Heiko Knuettel | Francisco,
you have to tell the server where it can find the configuration file. The server and the file (plus the database folder) are located on the same machine - so of course you can use local paths. If you connect to the server directly from the LAN, or via Internet & Router, doesn't matter - you are "talking" with the server, not with the database files. As long as the server knows where to find the files, it doesn't matter from where you are accessing it. Heiko |
Mon, Aug 25 2008 2:00 PM | Permanent Link |
Francisco Fernandez | Heiko,
sorry but i don't understand it. I have a server in a place and i have a remote client in another place. Must i run edbsrvr.exe in this pc? What must i configure in this pc and in the server? Thank you |
Mon, Aug 25 2008 2:21 PM | Permanent Link |
Heiko Knuettel | Francisco,
On the server machine you have the EDB configuration file and your database folder. Run edbsrvr.exe on this machine, and configure it - the config path is the folder, where edbsrvr.exe can find the configuration file. No IP adress needed here. On the client machine you have your application - with a session set to stRemote, and RemoteAdress set to the IP adress of the server machine. Sorry, my english sucks... Heiko |
Page 1 of 2 | Next Page » | |
Jump to Page: 1 2 |
This web page was last updated on Sunday, May 5, 2024 at 10:18 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |