im trying to build a network based application, but i didn't know to connect using multi-user mode in appbuilder.
anyone who know what can i do?
thanks in advance.
but i didn't know to connect using multi-user mode in appbuilder.
Are you asking how to connect to a server or how to start a server?
Is your database on the same machine as the AppBuilder will be running or on a different machine/different platform?
same machine as my appbuilder running.
i want to establish a client server program.
how can i do that?
same machine as my appbuilder running.i want to establish a client server program.how can i do that?thanks.
From the OpenEdge program group in your start menu choose the "proenv" script. That opens a windows shell with the required environment set.
Switch to the folder in which your database resides and type:
preserve -S 12345
That will start a dabase server listening for connections on part 12345.
Then from the AppBuilder connect database dialog, connect to the database using the file open dialog and the "multiple users" toogle checked in the Options portion of that dialog.
got trouble about proenv.
how to switch to the folder?
im using cd command.
but still "proenv".
when im type "preserve -S 12345"
it say "preserve" in not recognized as an internal or external command, operable command or batch file.
how can i fixed this?
thanks again and sorry im newbie in this progress.
Sorry my fault. Try "proserve" instead of "preserve".
CD is the right command to switch to the folder, the prompt will always show proenv. (you may change the prompt with the prompt command when it's important for you)
And don't forget the db name as a parameter to proserve.
thanks, you help me a lot..
i hope you can help me again if i found any problem in my program.
For the long turn you might as well check the PDF docu for the
OpenEdge Explorer, a tool that allows you to launch DB's
automatically. From your screenshot I could see that you're on 10.2B
where OEE is available by default.
got another problem.
i can't connect my client to my server?
what should i do?
i thought file sharing is enough.
but its a big mistake.
anyone who can help me to solve my problem?
Progress is not MS Access :-) So file sharing is not suitable for a multi-user connection.
From the command line add
-db obf -H -S 12345
From the procedure editor:
Connect obf -H -S 12345
In the AppBuilder connection dialog enter the IP address of the DB server in the hostname field, obf as the database name and 12345 as the port number or service name.
got trouble to the 2nd pc.
connecting to the server..
command line means proenv?
connecting using procedure editor : "could not connect to server for database obf,errno 10060."
i have 2 pc..
pc1 for the server where
i open the proenv
and switch my folder then i type the proserve obf.db -S 12345
pc2 for my client where
i type proserve -db obf -H 192.168.1.100 -S 12345
(192.168.1.100) is the ip address of the server.
when im in procedure editor running the connect obf -H 192.168.1.100 -S 12345
i got an error, could not connect.
how can i fixed this error?
pc2 for my client wherei type proserve -db obf -H 192.168.1.100 -S 12345(192.168.1.100) is the ip address of the server.when im in procedure editor running the connect obf -H 192.168.1.100 -S 12345i got an error, could not connect.
On the second PC don't use proserve, as that would (try to) start a server. Proserve needs to be run on the server.
On the second PC, try
prowin32 -db odf -H 192.168.1.100 -S 12345
sir i got same error.
i have a screen shot on my pc2..