CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
PERL Error : Win32::OLE 0.1709) error 0x80040154: “Class not registered”

 



praveenk30
New User

May 12, 2013, 10:35 PM

Post #1 of 1 (407 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-


Code
# 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:-


Quote
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)

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives