IIS error: Can't initialize OCI. Error -1

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for Oracle in Delphi and C++Builder
Post Reply

IIS error: Can't initialize OCI. Error -1

Post by Guest » Tue 13 Sep 2005 11:52


I have an isapi application running on IIS. The dll uses the dbexpoda.dll driver to connect to a remote database.

If I don't grant administrator priviledges to the anonymous user account of IIS (IUSR), I've got this error message when i try to connect to the web site:

Can't initialize OCI. Error -1

If I don't want to add IUSR to the administrator group (for security reason), what kind of rights (at least) do I have to set on?


Posts: 725
Joined: Thu 28 Oct 2004 14:06

Post by Paul » Tue 13 Sep 2005 12:18

The most probable situation is that your application have no rights to load necessary dll files of Oracle client.
Or Oracle client cannot load all its components (dll files, read registry settings).

Post Reply