Solved

"Cannot Create ActiveX Component" Error while doing WordPerfect Merge in VB.NET Application (In Citrix Environment)

Posted on 2006-11-08
5
719 Views
Last Modified: 2013-11-25
I have a VB.Net Application that merges WordPerfect Templates with the Data from the form. It uses the "WPWIN13.tlb" Type Library.

This application is working fine on my PC. But when I move it to Citrix Server, it gives the following error when I try to merge a Wordperfect Document with its Data File: "Cannot create ActiveX component". Please help!

How to remove this error?
0
Comment
Question by:RAJIVJAX
5 Comments
 
LVL 10

Expert Comment

by:Kinger247
ID: 17902165
Is the type library on the Cirtrix server ? with all its dependant files ?
0
 

Author Comment

by:RAJIVJAX
ID: 17903264
Thanks for the reply.

The type library is on the Citrix Server. I can see that in the correct place.

 I am assuming that all the dependent files must be copied when I installed my application on Citrix Server.

Is there a way I can check the dependency of this type library on Citrix Server?



0
 
LVL 3

Accepted Solution

by:
royce2020 earned 250 total points
ID: 17910471
just copying the files won't do the trick. You need to register them as well. If you have an actual installer for the .NET app then this should have taken care of most of them. To register an activeX control, use the regsrv32 command:
regsvr32 c:\activeX\mycontrol.ocx

Another thing that you might want to check is that Word perfect (and any other COM program that this app is dependent on) is installed correctly on the server, with all the same options as your machine, otherwise the COM interface might be throwing this error.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article will show, step by step, how to integrate R code into a R Sweave document
A short article about problems I had with the new location API and permissions in Marshmallow
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now