![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a package that executes fine from the server where SQL Server in installed. However, the below code generates an error (see below code) when executed from a workstation on the client. This is a Windows .Net application. All other data access work just fine. Can anyone explain this? Why would we have to register a COM Object? Bill ********************************* Dim strMsg As String Dim strPkgName As String Dim oPkg As DTS.Package2 strPkgName = "PPS_BatchImport" strDestPath = tbFileToImport.Text oPkg = New DTS.Package2 '<--ERROR OCCURS HERE ************** Exception Text ************** System.Runtime.InteropServices.COMException (0x80040154): COM object with CLSID {10020202-EB1C-11CF-AE6E-00AA004A34D5} is either not valid or not |
|
at PPS.frmBatchImport.btnMoveToStaging_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) -- William R |
#3
| |||
| |||
|
|
Do you have DTS installed on the client? If not then this is the problem. DTS is a client side app. Redistributing DTS with your program (http://www.sqldts.com/default.aspx?225) Also please do not post the exact same message under different subjects. This is likely to irritate some and possibly stop them giving you the help you need. -- -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org "WhiskRomeo" <wrlucasD0N0TSPAM (AT) Xemaps (DOT) com> wrote in message news:42E9E482-6BE4-45A7-B26F-8E4D96C5293A (AT) microsoft (DOT) com... I have a package that executes fine from the server where SQL Server in installed. However, the below code generates an error (see below code) when executed from a workstation on the client. This is a Windows .Net application. All other data access work just fine. Can anyone explain this? Why would we have to register a COM Object? Bill ********************************* Dim strMsg As String Dim strPkgName As String Dim oPkg As DTS.Package2 strPkgName = "PPS_BatchImport" strDestPath = tbFileToImport.Text oPkg = New DTS.Package2 '<--ERROR OCCURS HERE ************** Exception Text ************** System.Runtime.InteropServices.COMException (0x80040154): COM object with CLSID {10020202-EB1C-11CF-AE6E-00AA004A34D5} is either not valid or not registered. at PPS.frmBatchImport.btnMoveToStaging_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) -- William R |
#4
| |||
| |||
|
|
Do you have DTS installed on the client? If not then this is the problem. DTS is a client side app. Redistributing DTS with your program (http://www.sqldts.com/default.aspx?225) Also please do not post the exact same message under different subjects. This is likely to irritate some and possibly stop them giving you the help you need. -- -- Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP) www.SQLDTS.com - The site for all your DTS needs. I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org "WhiskRomeo" <wrlucasD0N0TSPAM (AT) Xemaps (DOT) com> wrote in message news:42E9E482-6BE4-45A7-B26F-8E4D96C5293A (AT) microsoft (DOT) com... I have a package that executes fine from the server where SQL Server in installed. However, the below code generates an error (see below code) when executed from a workstation on the client. This is a Windows .Net application. All other data access work just fine. Can anyone explain this? Why would we have to register a COM Object? Bill ********************************* Dim strMsg As String Dim strPkgName As String Dim oPkg As DTS.Package2 strPkgName = "PPS_BatchImport" strDestPath = tbFileToImport.Text oPkg = New DTS.Package2 '<--ERROR OCCURS HERE ************** Exception Text ************** System.Runtime.InteropServices.COMException (0x80040154): COM object with CLSID {10020202-EB1C-11CF-AE6E-00AA004A34D5} is either not valid or not registered. at PPS.frmBatchImport.btnMoveToStaging_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventAr gs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m) at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) -- William R |
![]() |
| Thread Tools | |
| Display Modes | |
| |