Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / August 2005

Tip: Looking for answers? Try searching our database.

Error: COM object is either not valid or registered.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Daryl Zavier - 19 Aug 2005 02:04 GMT
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!!!
Jakob Christensen - 19 Aug 2005 08:45 GMT
The class id specified in your error message is the class id of one of the
DTS COM components.  The DTS COM components must be registered on your client
machines as well using regsrv32.exe (it is not sufficient to register the RCW
without the COM components).  The file redist.txt located on the installation
CD of SQL Server contains a list of the files of SQL Server that you are free
to distribute.

HTH, Jakob.
Signature

http://www.dotninjas.dk
http://www.powerbytes.dk

> Hi Guys,
>
[quoted text clipped - 33 lines]
> Could anyone be kind enough to advise me or point me to the right directions
> on this error? Many thanks in advance!!!

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.