.net - Retrieving the COM class factory for component with CLSID {xxxx} failed due to the following error: 80040154 -



.net - Retrieving the COM class factory for component with CLSID {xxxx} failed due to the following error: 80040154 -

i'm upgrading vb6 app vb.net. used "adobe acrobat 10.0 type library". however, when using .net project i'm getting error in title. created little test project. exception thrown when seek instantiate acropddoc, on next line:

dim acroapp acrobat.acropddoc = new acrobat.acropddoc()

the adobe library resides @ c:\program files (x86)\adobe\reader 10.0\reader\acrord32.dll. when added, puts dll called "interop.acrobat.dll" project's obj folder. i've tried running regsvr32.exe on both dlls, saw advised somewhere, recieved error along lines of

dll loaded phone call dllregisterserver failed error code 0x80004005

i haven't been able find great deal on error code.

i've tried chainging platform target x86 'any cpu'.

edit - i've experienced same problem on both 32 , 64 bit editions of windows 7.

in win 7 64, entered following:

c:\windows\syswow64> regsvr32 "c:\program files (x86)\adobe\reader 10.0\reader\acrord32.dll"

received next error:

in win 7 32, entered following:

c:\windows\system32> regsvr32 "c:\program files\adobe\reader 10.0\reader\acrord32.dll"

recieved next error:

edit 2 - per raymond chen's suggestion, took pass @ adobe site. found couple of threads here, here, , question on stackoverflow. former 2 links don't refer .net, them, seems though total version of acrobat reader must installed these interop classes work/for dll in question registered. i'll check tomorrow, have strong suspicion customer's environment may include total versions of acrobat reader. answered, time.

edit 3 - got hands on total version of acrobat, installed and, lo , behold, everything's dandy!

as noted above, dll not allow registered unless total version of acrobat installed on machine.

.net com interop registry regsvr32

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -