can t initialize oci

При запуске клиента oracle на терминальном сервере windows 2008 под пользователями вылезает ошибка Can`t initialize OCI. Error . Под администратором клиент oracle работает.

Решение: В локальной политике безопасности дать права пользователям на создание глобальных объектов .

Я установил Oracle 11.2.0 и SQLDeveloper Allround Automations в 64-разрядную версию Windows 7.

Когда я запускаю SQLDeveloper и пытаюсь подключиться к Oracle, я получаю следующую ошибку:

В чем может быть проблема?

3 ответа

Это происходит потому, что PL / SQL Developer не может загрузить 64-разрядную версию файла oci.dll. Чтобы исправить это, загрузите 32-битную версию Oracle Instant Client , извлеките его в каталог, такой как instant_client.

Затем настройте PL / SQL Developer для использования этой версии, щелкнув меню «Инструменты» — > Настройки. В разделе «Oracle Home» укажите местоположение, в котором вы извлекли Instant client ( instant_client, в данном случае), и в соответствии с расположением библиотеки OCI укажите файл oci.dll, расположенный в месте, где вы извлекли Instant client ( instant_client oci .dll). Перезагрузите PL / SQL Developer и теперь вы сможете подключиться.

Для тех, кто может видеть этот поток в будущем —

I have a problem with TOAD for Oracle 9.1 running on Windows 7 32-bit, described as follows:

I have Oracle OraClient10g 10.0.2 installed on my PC, and I need to use Toad 9.1. When I try to log into a server, I specify the database via TNS, I type the user name and password, but I get a message with the following error:

Can’t initialize OCI. Error -1

Googling around I got several options which include: check that the ORACLE_HOME environment variable is set right, run TOAD as administrator, check that the user name and password are correct, install Oracle and TOAD for 32-bit system. I have checked all those options but I am still getting the error.

There is, however, a detail I should mention: In my start menu, there are two Oracle Homes (Home1 and Home2). Home 2 points to an empty folder because I reinstalled Oracle during my attempts to solve the problem, and the short cut is still in my start menu. I don’t think this is important, though, because ORACLE_HOME is pointing to the right home.

I really need help with this. I need to solve this error and log in using TOAD.

Источник: computermaker.info

Понравилась статья? Поделиться с друзьями:
Ок! Компьютер
Добавить комментарий