May 12, 2013, 10:35 PM
Post #1 of 1
I am trying to execute a perl script which is having code like this-
PERL Error : Win32::OLE 0.1709) error 0x80040154: “Class not registered”
But i am getting below mentioned errors:-
# Calculate password using PwdMangler
$PwdMangler = Win32::OLE->new('PWDMangler.Mangler');
print "the error is $error1\n";
unless($password = $PwdMangler->Mangle($user , $password_plain))
print $log_file "Error occured in PwdMangler\n";
the error is Win32::OLE (0.1709) error 0x80040154: "Class not registered"can't call method 'Mangle' on an undefined values.
*Earlier this perl script was running on 32 bit server having 32 perl installed but now as per the migration i am trying to run it on 64 bit perl,installed on 64bit server.
I already asked this question here but hasn't got any solution.I also did some research and found this link.But i am not sure what is going wrong..Please help !!
(This post was edited by praveenk30 on May 12, 2013, 10:37 PM)