Error: COM object is either not valid or registered

G

Guest

Hi Guys,

Paradon my ignorance on this issue.

I've done up a simple VB.net windows application which when executed from a
client PC, is suppose to execute a DTS job on my server.

When I implemented and executed the application to my client, I get this
error message "COM object with CLSID {10020200-EB1C-11CF-AE6E-00AA004A34D5}
is either not valid or not registered."

I've installed the RunTime Callable Wrapper in the Global Assembly Cache of
my client PC as per the KB article
(http://support.microsoft.com/default.aspx?scid=kb;en-us;328587)

However the error still occurs and I've no idea why. Below is a sample of my
code

"Imports DTS
Imports System.Security.Permissions

Public Class Form1
Inherits System.Windows.Forms.Form...

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Label1.Text = "Status: DTS Import In Progress"
Label1.Update()
Label2.Text = "Starting Button Event"
Label2.Update()
Dim pkg As DTS.Package
Label2.Text = "Declaring DTS Variable"
Label2.Update()
pkg = New DTS.Package <--- Error encountered here"

Could anyone be kind enough to advise me or point me to the right directions
on this error? Many thanks in advance!!!
 
C

Cor Ligthert [MVP]

Daryl,

Not that you not welcome here, and for every VBNet question keep asking
here, I would ask this question in your place for more responses in the
newsgroup.

Adonet
news://msnews.microsoft.com/microsoft.public.dotnet.framework.adonet

Web interface:
http://communities2.microsoft.com/c.../?dg=microsoft.public.dotnet.framework.adonet

There are people active from who I sometimes get the idea that for them DTS
is the solution for everything.

Not that people would not help you here when they know the answer by the
way.

I hope that this helps something.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top