|
|
|
Не могу получить доступ к Oracle. Помогите люди :)
|
|||
|---|---|---|---|
|
#18+
Добрый день всем. WEB - проект на VS Studio 2005 При вызове процедуры Код: plaintext 1. 2. 3. 4. 5. "Не найден клиент Oracle и сетевые компоненты. Компоненты предоставляются корпорацией Oracle и входят в клиентское программное обеспечение Oracle версии 7.3.3 или более поздней." У меня установлен Oracle9i 9.2.0.1.0, в том числе установлен и Oracle9i Client 9.2.0.1.0 (тип Adinistrator), но все равно не помогает. Как решить этот вопрос? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 28.06.2006, 10:02 |
|
||
|
Не могу получить доступ к Oracle. Помогите люди :)
|
|||
|---|---|---|---|
|
#18+
KroketДобрый день всем. WEB - проект на VS Studio 2005 При вызове процедуры Код: plaintext 1. 2. 3. 4. 5. "Не найден клиент Oracle и сетевые компоненты. Компоненты предоставляются корпорацией Oracle и входят в клиентское программное обеспечение Oracle версии 7.3.3 или более поздней." У меня установлен Oracle9i 9.2.0.1.0, в том числе установлен и Oracle9i Client 9.2.0.1.0 (тип Adinistrator), но все равно не помогает. Как решить этот вопрос? To configure a connection string for Oracle in the Web.config file Open the Web.config file in the root directory of your ASP.NET application. If you do not have a Web.config file, create one. In the Configuration element, add a ConnectionStrings element if one does not already exist. Create an add element as a child of the ConnectionStrings element, defining the following attributes: name Set the value to the name that you want to use to reference the connection string. connectionString Assign the connection string that is required to connect to the Oracle database. For information about the connection string values you must use, contact your database administrator. providerName Assign the value "System.Data.OracleClient", which specifies that ASP.NET should use the ADO.NET System.Data.OracleClient provider when making a connection with this connection string. Your completed add element might look like the following: Copy Code <add name="OracleConnectionString" connectionString="Data Source=OracleServer1;Persist Security Info=True;Password="******";User ID=User1" providerName="System.Data.OracleClient" /> Note If you include explicit authentication information in a connection string, you should encrypt the ConnectionStrings section of the Web.config file. For details, see Encrypting Configuration Information Using Protected Configuration. Save the Web.config file. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 29.06.2006, 14:02 |
|
||
|
Не могу получить доступ к Oracle. Помогите люди :)
|
|||
|---|---|---|---|
|
#18+
Поробуй так. Только свои данные вставляй соответственно. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 29.06.2006, 14:04 |
|
||
|
Не могу получить доступ к Oracle. Помогите люди :)
|
|||
|---|---|---|---|
|
#18+
Нашел еще проще способ! В Solution Explorer открой свой проект, правой кнопкой кликай на References, далее кликай Add Reference, выбирай System.Data.OracleClient. После этого появляется возможность использовать OracleConnection вместо OleDbConnection ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 29.06.2006, 14:17 |
|
||
|
|

start [/forum/topic.php?fid=17&msg=33821719&tid=1353266]: |
0ms |
get settings: |
8ms |
get forum list: |
15ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
50ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
36ms |
get tp. blocked users: |
1ms |
| others: | 191ms |
| total: | 320ms |

| 0 / 0 |
