
praveenk30
New User
May 12, 2013, 10:35 PM
Post #1 of 1
(930 views)
|
PERL Error : Win32::OLE 0.1709) error 0x80040154: “Class not registered”
|
Can't Post
|
|
I am trying to execute a perl script which is having code like this- # Calculate password using PwdMangler $PwdMangler = Win32::OLE->new('PWDMangler.Mangler'); my $error1=Win32::OLE->LastError(); print "the error is $error1\n"; unless($password = $PwdMangler->Mangle($user , $password_plain)) { print $log_file "Error occured in PwdMangler\n"; exit (1); } But i am getting below mentioned errors:- 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)
|