Project: | thing |
Component: | Code |
Category: | support request |
Priority: | critical |
Assigned: | Unassigned |
Status: | active |
DB connect
Hi i have other problems,
If i try to make connection with my DB on server , i get the error unble to open lbia221 .
i think that have to something with my ini file on server ! but i have to do???????????
thanks.
Y
Comments
#1
lbi files are stored in your TEMP directory. If progress can't write to this directory it'll throw you that error message.
you can use the -T parameter to specify a local temp directory. Personally I use the following for my db.pf.
-T C:\openedge\temp
whichever directory you chose, make sure the directory exists. So if I used that db.pf and received the error, I would do a:
mkdir C:\openedge\temp
then retry the connection to your DB.
you can also modify your .ini, and/or keep a centrally located .ini file for all users.
#2
Thanx for your reaction .
but is think that i dont coufigrate my programm on server .
i made some XX.w and DB and some pf file on server.
i try via my laptop to start that xx.w . if i do without DB connection then is ok. but when i try to start xx.w with DB connecten then i get error 43.
that is my shortcut:
C:\progress\OpenEdge\bin\prowin32.exe -pf R:\wrk\databases.pf R:\wrk\xx.r
and that is my pf:
-db test
i dont use ininame parameter.
what i mis here and how i can to counfigrate my xx.w on server.
thanx
Y
#3
ok change your "R:\wrk\databases.pf" to the following:
-db test
-T R:\wrk
see if that helps
#4
Thanx agian for you help.
i trid but it dont work yet.
what i have op my laptop ? i have just progress. no pf,ini file.
and what i have on server ? i have there pf and xx.w .
Thanx
Y
#5
thanx for your help.
how shuld lookingout my ini file?
i dont use ininame parameter in my shortcut .
but if i have to use other ini file than the standerd progress inifile . where and how can use it ?
THNAK
Y
#6
i get the error
can not find or open c:\progress\wrk\test.dl error = 2 (43).
but my DB is there c:\progress\wrk .
#7
ok I have some questions at this point.
What version is your progress/openedge installation?
How did you create the database "test"? (e.g. command line prostruct create, or data dictionary, like that)
What files are in your c:\progress\wrk directory?
#8
Hi ,
i create by data dictionary.
i have too many files in wrk .
but the datebase is in BD dir(c:progress\wrk\db\test.db
).
stil i cant to connect DB on server .
if i try it to connect by Appbuilder on my laptop i get the same error (can not find or open file test.dl).
but if i try to do that on server then i can connect it normally.
#9
if the db is in c:progress\wrk\db then you should use
-db c:\progress\wrk\db\test
for your .pf file.
#10
Yes i do that .
the problem that i cant make connect to DB on server
#11
for a server you need a different line for your .pf
for example if you server has the following setup:
IP = 192.168.1.100
database = test
port = 50001
then you'll need this for your .pf:
-db test -S 50001 -N tcp -H 192.168.1.100
#12
Thanx ,
i try that too :( , but yet i cant to make connect with DB .
on my laptop i have now 3 disk
c
d
R: that is my server and db is in R:\progress\wrk\db\test.db
if i try from my laptop from Appbuilder to make connection with "R:\progress\wrk\db\test.db" and kilk on ok to make connect then i get error , unble to find of open this "c:\progress\wrk\db\test.db".
:)
Y
#13
okeydokey - so try with
if the db is in r:progress\wrk\db then you should use
-db r:\progress\wrk\db\test
for your .pf file.