1。独立的Oracle数据库服务器。
2。Web服务器安装了Oracle客户端,并且可以用客户端连接到数据库服务器。
3。程序运行时错误提示如下:
读取数据错误:未找到 Oracle 客户端和网络组件。这些组件是由 Oracle 公司提供的,是 Oracle 8i 版 (或更高) 客户软件安装的一部分。 在安装这些组件之前,将无法使用此提供程序。 4。连接字符串如下:
<add key="strConnection" value="Provider=MSDAORA.1;Persist Security Info=True;User ID=lp;Password=8069506;Data Source=pdmis"/> 5。程序的开发用的ASP.NET2002版,后台代码C#书写。
请各位说说该如何解决!!分不够可以再加。
2。Web服务器安装了Oracle客户端,并且可以用客户端连接到数据库服务器。
3。程序运行时错误提示如下:
读取数据错误:未找到 Oracle 客户端和网络组件。这些组件是由 Oracle 公司提供的,是 Oracle 8i 版 (或更高) 客户软件安装的一部分。 在安装这些组件之前,将无法使用此提供程序。 4。连接字符串如下:
<add key="strConnection" value="Provider=MSDAORA.1;Persist Security Info=True;User ID=lp;Password=8069506;Data Source=pdmis"/> 5。程序的开发用的ASP.NET2002版,后台代码C#书写。
请各位说说该如何解决!!分不够可以再加。
解决方案 »
- 访问网站的时候输入文件夹名就会显示目录结构
- 关于GridView的问题
- 大家讨论一下是尽量用代码好还是用控件好
- 请问在ASP.NET页面中,怎么建立与水晶报表的连接?
- 关于datagrid修改
- 还是自定义模版的问题
- 刚接触asp.net,这句代码看不懂,能帮我看看吗?很简单的
- DataGrid高级运用:怎样使绑定的数据库表格中一个字段不仅分页显示(每页6个记录),而且要在一页内按2行3列的表格布局.顶者有分!
- 求关于.net中session编程的文档?
- asp.net过期后怎么处理
- 只用一个datagrid, 运行不同的sql得到不同的数据源, 要求datagrid的表头同时变化
- 大虾帮忙啊!
只要机器是NTFS格式的都要设置。
如果还不行,就要该注册表:如下
Oracle 7.x
Windows NT 或 Windows 9x
[HKEY_LOCAL_MACHINE\SOFTWARE\ Microsoft\Transaction Server\Local Computer\My Computer]
"OracleXaLib"="xa73.dll" "OracleSqlLib"="SQLLib18.dll"
"OracleOciLib"="ociw32.dll"Windows 2000
[HKEY_LOCAL_MACHINE\SOFTWARE\
Microsoft\MSDTC\MTxOCI]"OracleXaLib"="xa73.dll"
"OracleSqlLib"="SQLLib18.dll"
"OracleOciLib"="ociw32.dll"
oracle 8.0
Windows NT 或 Windows 9x
[HKEY_LOCAL_MACHINE\SOFTWARE\ Microsoft\Transaction Server\Local Computer\My Computer]"OracleXaLib"="xa80.dll""OracleSqlLib"="sqllib80.dll""OracleOciLib"="oci.dll"Windows 2000
[HKEY_LOCAL_MACHINE\SOFTWARE\
Microsoft\MSDTC\MTxOCI]"OracleXaLib"="xa80.dll""OracleSqlLib"="sqllib80.dll""OracleOciLib"="oci.dll"
oracle 8.1
Windows NT 或 Windows 9x
[HKEY_LOCAL_MACHINE\SOFTWARE\ Microsoft\Transaction Server\Local Computer\My Computer]"OracleXaLib"="oraclient8.dll""OracleSqlLib"="orasql8.dll""OracleOciLib"="oci.dll" Windows 2000
[HKEY_LOCAL_MACHINE\SOFTWARE\
Microsoft\MSDTC\MTxOCI]"OracleXaLib"="oraclient8.dll""OracleSqlLib"="orasql8.dll""OracleOciLib"="oci.dll"http://www.csdn.net/develop/article/15/15664.shtm
http://search.csdn.net/Expert/topic/2442/2442571.xml?temp=.5156519
Problem Description ------------------- When running an application that connects to Oracle and uses the Authenticated User privilege (such as Microsoft’s Internet Information Server (IIS)) via Oracle’s 9.2 client software and any of these programmatic interfaces
1.Oracle Provider for OLE DB
2. Microsoft OLE DB Provider for Oracle
3. Oracle ODBC Driver
4. Microsoft ODBC for Oracle
5. Oracle Objects for OLE (OO4O) you will receive one of the following errors:
a) Oracle Provider for OLE DB Error Type: Microsoft OLE DB Service Components (0x80070005) Access is denied.
b) Microsoft OLE DB Provider for Oracle Error Type: Microsoft OLE DB Provider for Oracle (0x80004005) Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation. Provider is unable to function until these components are installed. Or Error Type: Microsoft OLE DB Provider for Oracle (0x80004005) Oracle error occurred, but error message could not be retrieved from Oracle.
c) Oracle ODBC Driver Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) Specified driver could not be loaded due to system error 5 (Oracle in OraHome92).
d) Microsoft ODBC for Oracle The Oracle(tm) client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3 (or greater) client software installation. You will be unable to use this driver until these components have been installed.
e) Oracle Objects for OLE
i. while using a GLOBAL.ASA file Error Type: Active Server Pages (0x0) An error occurred while creating object ’OraSession’.
ii. not using a GLOBAL.ASA file Error Type: Microsoft VBScript runtime (0x800A0046) Permission denied: ’CreateObject’ (6)
f) Other miscellaneous errors The Specified Module Could Not Be Found Solution Description -------------------- You need to give the Authenticated User privilege to the Oracle Home by following these steps:
i. Log on to Windows as a user with Administrator privileges.
ii. Launch Windows Explorer from the Start Menu and and navigate to the ORACLE_HOME directory.
iii. Right-click on the ORACLE_HOME folder and choose the "Properties" option from the drop down list. A "Properties" window should appear.
iv. Click on the "Security" tab on the "Properties" window.
v. Click on "Authenticated Users" item in the "Name" list (on Windows XP the "Name" list is called "Group or user names").
vi. Uncheck the "Read and Execute" box in the "Permissions" list (on Windows XP the "Permissions" list is called "Permissions for Authenticated Users"). This box will be under the "Allow" column.
vii. Check the "Read and Execute" box. This is the box you just unchecked.
viii. Click the "Apply" button.
ix. Click the "OK" button.
x. You may need to reboot your computer after these changes have been made. Re-execute the application and it should now work. Explanation ----------- If you install Oracle9i Release 2 (9.2.0.1) on a computer running Windows with an NTFS partition, the contents of ORACLE_HOME directory will not be visible to users who are authenticated on that machine. These permissions were not set properly when the software was installed. Applications that were working fine with previous versions of Oracle software will stop working when they upgrade to Oracle 9.2. NOTE: The application will continue to work if the user has logged onto the machine as an Administrator. Any application that is using the Authenticated User privilege will not work. A notable example would be IIS which might service some of the requests based on the Authenticated User privileges. To demonstrate the problem in further detail, you can log on to the operating system as an authenticated machine user. You won’t be able browse the contents of the ORACLE_HOME directory demonstrating your inability to load any Oracle DLLs or make a connection. References ---------- Bug:2498880 - Oracle 9I Release 2 Installation Issue on Windows 2000 NTFS File System Additional Search Words ----------------------- OLEDB
http://community.csdn.net/Expert/topic/3550/3550057.xml?temp=.6885645