ODBC Oracle connection loses connectivity overnight

Hi this is a non urgent question but one which has foxed me for a long time...

I'm maintaining a certain number of Access databases for a department in a large company.  Most of these databases link to Oracle via ODBC using Oracle in OraHome 9201 or 901.  What sometimes happens is that when these databases are left on overnight, the next day when the user attempts some kind of processing the user gets a connectivity problem and attempting to reconnect the Oracle tables either via code or the 'get external data' feaure in Access results in some kind of access denied error.  This seems especially true if the account is read/write.  Even recreating the DSN has no effect, and the only cure seems to be to re-boot the PC.

Non-ODBC applications e.g. TOAD remain unaffected.

My theory is that because the Oracle database undergoes data import overnight it locks out read-write accounts and somehow ODBC doesn't have the nounce to realise that the lock has been released ... but I'm just clutching at straws.  Does anyone else have any experience of this phenomenon or have any explanation why it occurs or how it may be circumvented ?
LVL 17
NatchiketAsked:
Who is Participating?
 
dds110Commented:
I have no experience with the phenom or no explanation to give.  But maybe you could circumvent by setting a form timer to close the access application about 10 minutes before the data import takes place.  I used to support a company with several large DB's and I feel your pain about the users leaving the DB's open.

HTH
0
 
NatchiketAuthor Commented:
yeah i was thinking about doing that ...  although I'm not sure the data load occurs (the oracle db is a data warehouse).  Some people seem to have an attitude about rebooting their PCs ... and the coporate policy is to keep them running overnight ... daft imo
0
 
dds110Commented:
Hmmmmm, I wouldn't write anything to reboot the computers.  Just shut down the Access DB's.  If you don't want to shut down the DB's then you could write something to "disconnect" the db's from oracle while the import takes place.

Just my thoughts.
0
 
NatchiketAuthor Commented:
Time to wrap this one up.  Just for the record dds110 when I said people had an attitude towards rebooting PCs I meant rebooting them normally, I wasn't intending for my application to do it.
0
 
dds110Commented:
I wish I could've been more help to you.  Good luck with your issue.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.