Error: COM object is either not valid or registered

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Daryl Zavier

    Error: COM object is either not valid or registered

    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...b;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(B yVal sender As System.Object, ByVal e As
    System.EventArg s) 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!!!
  • Cor Ligthert [MVP]

    #2
    Re: Error: COM object is either not valid or registered

    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/microsof...amework.adonet

    Web interface:


    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


    Comment

    Working...