Buongiorno a tutti sono alex !!

Vi scrivo in quanto ho il seguente problema.
Sto utilizzando uno script cgi che fa la connessione ad un database con ole, utilizzando il seguente codice:

# Create a connection object
our $conn = Win32::OLE->new('ADODB.Connection');
die error() if error();

# set the provider for the connection
$conn->{Provider} = "PIOLEDB";

# open the connection. This is where all but the provider should go.
# sometimes, the provider can go in this string instead of above.
# this is the area where the connection string goes.

$conn->Open("Data Source=x.x.x.x;PWD=;UID=admin");
die error() if error();

girando lo script da cmd funziona.
Se inserisco lo script nella cartella cgi-bin di apache http e lanciandolo dal browser, ottengo il seguente errore:

Win32::OLE(0.1709) error 0x8007007e: "The specified module could not be found"

refer at our $conn = Win32::OLE->new('ADODB.Connection');.

Io ho configurato il file di configurazione per abilitare Perl e cgi(normali script funzionano).
Uso windows server 2008 64bit, apache x86, activePerl x86, PIOLEDB x86 e 64bit.

Qualche idea sul Perche' da cmd funziona e da apache no?devo registrare qualche dll, qualche modulo in apache ?

grazie