Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can't connect to database

10 views
Skip to first unread message

Boris Levy

unread,
Jan 14, 2010, 10:33:43 AM1/14/10
to
I am using PB11.5 with PFC and Oracle Database. I can connect to database when
login to application in pfc_logon. But when I open "Specify Retrieval arguments"
window for DataWindow, enter Retrieval arguments and click "OK" button, I get
error: "Can't connect to database".
What event or function in what pfc object should I reseach and insert breakpoint
to find error?
---== Posted via the PFCGuide Web Newsreader ==---
http://www.pfcguide.com/_newsgroups/group_list.asp

Terry Voth [TeamSybase]

unread,
Jan 15, 2010, 7:19:36 AM1/15/10
to
Regardless of it being PFC or not, I'd start debugging at the
SetTrans() or SetTransObject() for the DataWindow, and check the state
of the connection there. If it's dead, I'd check where the CONNECT is
done, and debug to look at return codes there. I don't think PFC
itself does any CONNECT, other than implementing
pfc_n_tr.of_Connect(), which isn't called from anywhere but
pfc_n_tr.of_SetTrace().

Good luck,

Terry and Sequel the techno-kitten

*********************************
Build your vocabulary while feeding the hungry
http://www.freerice.com
*********************************
Newsgroup User Manual
=====================
TeamSybase <> Sybase employee
Forums = Peer-to-peer
Forums <> Communication with Sybase
IsNull (AnswerTo (Posting)) can return TRUE
Forums.Moderated = TRUE, so behave or be deleted
*********************************

Sequel's Sandbox: http://www.techno-kitten.com
Home of PBL Peeper, a free PowerBuilder Developer's Toolkit.
Version 4.0.4 now available at the Sandbox
PB Futures updated June 25/2008
See the PB Troubleshooting & Migration Guides at the Sandbox
^ ^
o o
=*=

0 new messages