Solved

Global Assembly Cache VB.NET Application

Posted on 2008-06-12
2
1,562 Views
Last Modified: 2013-11-07
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?

0
Comment
Question by:bertpet
2 Comments
 
LVL 7

Expert Comment

by:sj_hicks
ID: 21776406
Have you tried to install it to the GAC?

gacutil.exe /i BCL.easyPDF.Interop.EasyPDFPrinter
0
 
LVL 11

Accepted Solution

by:
melmers earned 500 total points
ID: 21885615
When you use an interop assembly you must copy the ActiveX dll and the Interop assmebly to your application path and then register the ActiveX dll with
regsvr32 PathToYourActiveX.dll



0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question