<snip from http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q207132>
Most often, RegSvr32.exe fails because the LoadLibrary , DllRegisterServer ,
or DllUnregisterServer function fails. LoadLibrary can fail if the DLL is
not in the specified path, or if the specified path is incorrect.
LoadLibrary can also fail if one of the dependencies of the DLL that you are
trying to load is not met; in other words, if a dependent DLL is not present
or is not in the specified path.

NOTE: You can use the Depends.exe tool to check whether or not all of the
dependencies of your DLL are met. Depends.exe is included with the Microsoft
Platform Software Development Kit (SDK), which ships with Microsoft Visual
Studio.
</snip>

According to the article that I am finding (there is more useful info at
that link), the problem is probably occurring because it is lacking the
associated dependent DLL files. If you have the Depends.exe tool they
mention, it will probably help you figure out what files you may be missing.
Also, that technet page has a program written in C that does the same thing
as regsvr32.exe, that you can customize to help you troubleshoot and
identify where the breakdown is occurring.

I wish I could help more,

R.A. Howard



-----Original Message-----
From: Yegneshwar Virupakshan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 08, 2002 3:53 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: DBI


Robert,
I tried doing exactly what you told and got the following error:

LoadLibrary("C:\Perl\site\lib\auto\dbd\oracle\oracle.dll") failed.
GetLastError returns 0x00000485

What does it mean?

Thanks,
Yegi

--- Robert Howard <[EMAIL PROTECTED]> wrote:
> The .dll file may need to be re-registered. Try doing the
> following, and
> adapt for your particular flavor of Windows:
>
> Win9x/NT:
> 1) Go to Start, Find, Files or Folders.
> 2) In the Named field, type: regsvr32.exe, Oracle.dll.
> 3) In the Look In field, make sure it is set to root C:
> 4) Click Find Now.
> 5) 2 files should be found (more than one regsvr32 may be found,
> but we will
> be interested in the one in the Windows\System Directory.
> 6) Drag the Oracle.dll icon on top of the regsvr32.exe icon. You
> should get
> a message saying that the register succeeded.
> 7) To ensure that everything is loaded properly, reboot the
> computer, and
> then see if you still get the same error message again.
>
> Let me know if that helps,
>
> R.A. Howard
>
>
> -----Original Message-----
> From: Yegneshwar Virupakshan [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 08, 2002 12:14 PM
> To: [EMAIL PROTECTED]
> Subject: DBI
>
>
> Hi Guys,
> I have problem in connecting to Oracle using the DBD::Oracle
> module.
>
> I have installed the following components in my PC.
> 1. Oracle 8i client
> 2. ActivePerl 5.6.1.630
> 3. DBI using ppm3
> 4. DBD-Oracle using ppm3
>
> I can do tnsping to the Oracle Server and also connect to it using
> sqlplus session.
>
> But when I connect to Oracle Server using a small perl program, it
> gives the following error.
>
> ------------------
> install_driver(Oracle) failed: Can't load
> 'C:/Perl/site/lib/auto/DBD/Oracle/Orac
> le.dll' for module DBD::Oracle: load_file:One of the library files
> needed to run
>  this application cannot be found at C:/Perl/lib/DynaLoader.pm line
> 206.
>  at (eval 1) line 3
> Compilation failed in require at (eval 1) line 3.
> Perhaps a required shared library or dll isn't installed where
> expected
>  at a1.pl line 5
> ------------------
>
> The Oracle.dll which the error mentions is present in the required
> directory.
>
> Any help would be appreciated.
>
> Thanks,
> Yegi
>
> __________________________________________________
> Do You Yahoo!?
> Send FREE video emails in Yahoo! Mail!
> http://promo.yahoo.com/videomail/
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to