Solved

Global Assembly Cache VB.NET Application

Posted on 2008-06-12
2
1,565 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Graph API & MS Apps 1 83
Broken .resx file generating errors 18 44
Create simple VB.net Add-in for Excel in Office 365 2 60
How to call new form in VB2013? 4 37
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

751 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