Link to home
Start Free TrialLog in
Avatar of bertpet
bertpet

asked on

Global Assembly Cache VB.NET Application

I am using a VB.NET addid called EasyPDF to allow users to convert Word, XL files, etc, to VB.NET.  Everything works OK on the development machine, however when I compile the application and attempt to deploy it to a machine other than the development machine I got the following error message:

Unable to install or run the application.  The application
 Requires that assembly BCL.easyPDF.Interop.EasyPDFPrinter
Version 5.0.0.0 be installed in the Global Assembly Cache
(GAC) first."

I  then went into Solution Explorer/References and set the Copy Local Option to True for EasyPDFPrinter.  This then bypaseed the above message and allowed the install to proceed.  The application runs (there is noting in the GAC), however the conversion to PDF won't proceed and now returns a message "Cannot create ActiveX component".

Can anyone please help with a solution?

Avatar of sj_hicks
sj_hicks
Flag of Australia image

Have you tried to install it to the GAC?

gacutil.exe /i BCL.easyPDF.Interop.EasyPDFPrinter
ASKER CERTIFIED SOLUTION
Avatar of melmers
melmers
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial