现在的位置: 首页 > 综合 > 正文

无法加载DLL(OCI.DLL),如何解决?

2013年02月05日 ⁄ 综合 ⁄ 共 1567字 ⁄ 字号 评论关闭

无法加载DLL(OCI.DLL),如何解决?我用regsvr32注册,提示:oci.dll was loaded,but the DLLRegisterServer entry point was not found.
请问,应该如何解决这个问题?

Dllname was loaded, but the DllRegisterServer or DllUnregisterServer entry point was not found.

Dllname is not a .dll or .ocx file. For example, typing regsvr32 wjview.exe generates this error message.

http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/q249/8/73.asp&NoWebContent=1

给asp_net用户赋予系统管理员的权限。
如果还不行,就要该注册表:如下
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

抱歉!评论已关闭.