What is this error "Could not load the selected type library."

I am getting this error “Could not load the selected type library.” While editing code unit 50006 Print as PDF. Please help me to resolve this error.

check in Variables that there is any automation variable with Unknown…

If yes,you have to Identify which automation variable is that and install/register those Dll’s in particulat system…

These are the four unknown automation variables. kindly halp me to identify and install those variables. This object was downloaded from the addon moddule “NAV 5 Send Report by Mail”.

PDFCreator Automation Unknown Automation Server.Unknown Class
PDFCreatorError Automation Unknown Automation Server.Unknown Class
PDFCreatorOptions Automation Unknown Automation Server.Unknown Class
SavePDFCreatorOptions Automation Unknown Automation Server.Unknown Class

Where did you get it from?

From free downloads or ISV Partner?

Ya. Its free download…

Can you share the link?

Did you read it clearly to identify whether any PDF generator should be installed before using that code?

Ok. I need to install PDFCreator automation object . Let me try it and after that I will get back to you. See the below link.

http://dynamicsuser.net/media/p/142850.aspx

install BullZip PDF Printer from Here

http://www.bullzip.com/products/pdf/info.php

Thank You…

Welcome [:)]

Please close the post…

Sorry…I couldn’t finish it off. I have installed the PDF printer in my local system. But still its not resolved. Is it to be installed in server machine also?

Sorry Jithin…

Your link example will not work with bullzip…

you have to install PDF Creator from

http://sourceforge.net/projects/pdfcreator/files/

or follow

http://www.mibuso.com/forum/viewtopic.php?f=5&t=35076&start=0

Still I can’t able to resolve this issue. I have installed the PDFCreater and again imported the same objects. But its showing the same error “Could not load the selected type library.”

May be the Objects are developed with previous version of PDFCreator automation varialbes…

So remove the existing subtype values and select the new verson classes…

Ya. Now its working. For SavePDFCreatorOptions variable, I have selected automation ‘PDFCreator’.clsUpdate. Is it correct?

Select ‘PDFCreator’.clsPDFCreatorOptions

clsPDFCreatorOptions has been selected for PDFCreatorOptions. What automation I have to select for SavePDFCreatorOptions?

PDFCreatorOptions- Automation ‘PDFCreator’.clsPDFCreatorOptions
SavePDFCreatorOptions- Automation ‘PDFCreator’.clsUpdate ?

for both select ‘PDFCreator’.clsPDFCreatorOptions

Thank you. Now its working fine. But the mail is sending from my system only.

I need to install the PDFCreator in all the client machines? Or instead of that can I make it by install only in server machine?

Welcome.

Yes, you have to install DLL’s on all client machines…