PC Review


Reply
Thread Tools Rate Thread

'Class not registered' When application is installed and run on another workstation.

 
 
Hughsie
Guest
Posts: n/a
 
      12th Apr 2004
Hi

I have created an installation package for my app and I have installed
the application onto another machine together with the framework and
the correct MDAC version.

The problem is when I access something in the application that uses
one of the required dlls.

All the dlls have been included with the application in the same
folder as the exe when it was installed. With .net I thought this was
enough.

This problem occurs with two specific dlls:-

I am using a COM control called CTDays (a calendar control). Now, in
my application folder I have AxInterop.CTDAYSLib.dll and
Interop.CTDAYSLib.dll which I believe are the wrappers to enable the
object to be accessed from dot net.

The others are the dlls to enable my application to create Word
documents.

I can't register these components with regsvr32 as they are dot net
assemblies so I tried regasm. They register OK but still cause the
error when accessed in the application.

In the package project I also set them to be registered but the
problem was sill the same.

Any help would be MUCH appreciated as I have been working on this for
over a year and it is to be installed this week.

Apologies for the long post.

Hughsie
 
Reply With Quote
 
 
 
 
Chris Dunaway
Guest
Posts: n/a
 
      12th Apr 2004
On 12 Apr 2004 07:44:22 -0700, Hughsie wrote:

> I am using a COM control called CTDays (a calendar control). Now, in
> my application folder I have AxInterop.CTDAYSLib.dll and
> Interop.CTDAYSLib.dll which I believe are the wrappers to enable the
> object to be accessed from dot net.


Is the CTDAYSLib.dll file present and registered on the workstation? All
COM .dll's must still be registered.


Can you show the line of code that has the problem?


--
Chris

To send me an E-mail, remove the underscores and lunchmeat from my E-Mail
address.
 
Reply With Quote
 
Hughsie
Guest
Posts: n/a
 
      13th Apr 2004
Chris Dunaway <dunawayc@_lunchmeat_sbcglobal.net> wrote in message news:<duwkpj64q28b.bc350d1hvrhz$.(E-Mail Removed)>...
> On 12 Apr 2004 07:44:22 -0700, Hughsie wrote:


>
> Is the CTDAYSLib.dll file present and registered on the workstation? All
> COM .dll's must still be registered.
>
>
> Can you show the line of code that has the problem?


Thanks for the response. The CTDays problem is fixed now. I didn't
realise the actual COM dll had to be installed as well as the
wrappers. I thought the wrappers were instead of the original.

The problem with my Word stuff remains though.

I am creating Word docs from my application and the following
dependancies show (which I believe are related to Word):-

Interop.Office.dll
Interop.VBIDE.dll
Interop.Word.dll
MSO9.dll
MSWORD9.OLB

All of the above are in the application directory but still no Word
access.

Again, any help would be much appreciated.

Many Thanks

Hughsie
 
Reply With Quote
 
David Guyer [MS]
Guest
Posts: n/a
 
      15th Apr 2004
This might sound silly, but is Word already installed on the target
computer? You don't want to deploy MSO9.dll and MSWORD9.OLB, since they are
not standalone files.

You probably want to create a Launch Condition in your setup project that
will check to see if office/word are already installed, since your app
requires that they already be there.

---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: (E-Mail Removed) (Hughsie)
>Newsgroups: microsoft.public.dotnet.languages.vb
>Subject: Re: 'Class not registered' When application is installed and run

on another workstation.
>Date: 13 Apr 2004 01:46:41 -0700
>Organization: http://groups.google.com
>Lines: 33
>Message-ID: <(E-Mail Removed)>
>References: <(E-Mail Removed)>

<duwkpj64q28b.bc350d1hvrhz$.(E-Mail Removed)>
>NNTP-Posting-Host: 213.137.6.23
>Content-Type: text/plain; charset=ISO-8859-1
>Content-Transfer-Encoding: 8bit
>X-Trace: posting.google.com 1081846001 4002 127.0.0.1 (13 Apr 2004

08:46:41 GMT)
>X-Complaints-To: groups-(E-Mail Removed)
>NNTP-Posting-Date: Tue, 13 Apr 2004 08:46:41 +0000 (UTC)
>Path:

cpmsftngxa10.phx.gbl!TK2MSFTFEED01.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.s
ul.t-online.de!t-online.de!news.glorb.com!postnews1.google.com!not-for-mail
>Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.languages.vb:195354
>X-Tomcat-NG: microsoft.public.dotnet.languages.vb
>
>Chris Dunaway <dunawayc@_lunchmeat_sbcglobal.net> wrote in message

news:<duwkpj64q28b.bc350d1hvrhz$.(E-Mail Removed)>...
>> On 12 Apr 2004 07:44:22 -0700, Hughsie wrote:

>
>>
>> Is the CTDAYSLib.dll file present and registered on the workstation? All
>> COM .dll's must still be registered.
>>
>>
>> Can you show the line of code that has the problem?

>
>Thanks for the response. The CTDays problem is fixed now. I didn't
>realise the actual COM dll had to be installed as well as the
>wrappers. I thought the wrappers were instead of the original.
>
>The problem with my Word stuff remains though.
>
>I am creating Word docs from my application and the following
>dependancies show (which I believe are related to Word):-
>
>Interop.Office.dll
>Interop.VBIDE.dll
>Interop.Word.dll
>MSO9.dll
>MSWORD9.OLB
>
>All of the above are in the application directory but still no Word
>access.
>
>Again, any help would be much appreciated.
>
>Many Thanks
>
>Hughsie
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
class not registered? Paul Johnson Freeware 4 23rd Oct 2004 02:17 AM
Re: java virtual machine error unable to start the application. The virtual machine cannot be found. Class not registered Tim Slattery Windows XP General 0 30th Mar 2004 10:14 PM
Re: java virtual machine error unable to start the application. The virtual machine cannot be found. Class not registered Phil \(a.k.a. purplehaz\) Windows XP General 0 30th Mar 2004 08:53 PM
Re: java virtual machine error unable to start the application. The virtual machine cannot be found. Class not registered Plato Windows XP General 0 30th Mar 2004 08:50 PM
Acess won't start error :This application must be installed to run. Please run setup from the location where you originaly installed the application Larry Vancini Microsoft Access 1 2nd Oct 2003 03:37 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:20 AM.