#35 Improve feedback in case of incomplete Oracle Client

open
nobody
General (45)
5
2008-04-09
2008-04-09
randolf_geist
No

Currently if the OCI.DLL can not be loaded due to missing/incomplete Oracle Client installation an rather end-user unfriendly general exception dialog is shown:

e.g. "OCI8: Cannot allocate OCI handle.

Program: SQLTools 1.4.2 RC3 (for trouble-shooting)
Location: .\SQLTools.cpp(236).
Platform: MS Windows Server 2003 family Enterprise, Service Pack 2 (Build 3790)
COMCTL32.DLL: 6.0.3790.3959
OCI.DLL: 10.2.0.1.0"

It would be nice if this would be shown as an specific exception that explains that the OCI.DLL could not be loaded, probably due to an incomplete Oracle Client setup (e.g. usually just copying the OCI.DLL somewhere without adding the Oracle Client BIN directory to the path leads to this error)

Discussion