pctechaegera
asked on
Error in MS-SQL 2005
I notice that my daily DB backup job in SQL is not working anymore. So I went and edit the job to see what is going on. Here is the error I am getting:
========================== =========
Unable to cast COM object of type 'Microsoft.SqlServer.Dts.R untime.Wra pper.Packa geNeutralC lass' to interface type 'Microsoft.SqlServer.Dts.R untime.Wra pper.IDTSC ontainer90 '. This operation failed because the QueryInterface call on the COM component for the interface with IID '{8BDFE892-E9D8-4D23-9739- DA807BCDC2 AC}' failed due to the following error: Interface not registered (Exception from HRESULT: 0x80040155). (Microsoft.SqlServer.Manag edDTS)
-------------------------- ----
Program Location:
at Microsoft.SqlServer.Dts.Ru ntime.Pack age..ctor( )
at Microsoft.DataTransformati onServices .DTSExecUI .Controls. LoggingCtr l..ctor(ID TSExecView Manager treePanel)
at Microsoft.SqlServer.Manage ment.SqlMa nagerUI.DT SJobSubSys temDefinit ion.Initia lizeContro ls()
at Microsoft.SqlServer.Manage ment.SqlMa nagerUI.DT SJobSubSys temDefinit ion..ctor( CDataConta iner dataContainer, IMessageBoxProvider messageProvider)
at Microsoft.SqlServer.Manage ment.SqlMa nagerUI.Jo bStepSubSy stems..cto r(CDataCon tainer dataContainer, JobStepData data, IMessageBoxProvider messageProvider)
at Microsoft.SqlServer.Manage ment.SqlMa nagerUI.Jo bStepPrope rties.get_ SubSystems ()
at Microsoft.SqlServer.Manage ment.SqlMa nagerUI.Jo bStepPrope rties.Init ializeStep Combo()
at Microsoft.SqlServer.Manage ment.SqlMa nagerUI.Jo bStepPrope rties.Init ializeData ()
at Microsoft.SqlServer.Manage ment.SqlMa nagerUI.Jo bStepPrope rties.OnIn itializati on()
at Microsoft.SqlServer.Manage ment.SqlMg mt.ViewSwi tcherContr olsManager .SetView(I nt32 index, TreeNode node)
at Microsoft.SqlServer.Manage ment.SqlMg mt.ViewSwi tcherContr olsManager .SelectCur rentNode()
at Microsoft.SqlServer.Manage ment.SqlMg mt.ViewSwi tcherContr olsManager .Initializ eUI(ViewSw itcherTree View treeView, ISqlControlCollection viewsHolder, Panel rightPane)
at Microsoft.SqlServer.Manage ment.SqlMg mt.LaunchF orm.Initia lizeForm(X mlDocument doc, IServiceProvider provider, ISqlControlCollection control)
at Microsoft.SqlServer.Manage ment.SqlMg mt.LaunchF orm..ctor( ISqlContro lCollectio n control, IServiceProvider provider)
at Microsoft.SqlServer.Manage ment.SqlMa nagerUI.Jo bSteps.edi tJob_Click (Object sender, EventArgs e)
at System.Windows.Forms.Contr ol.OnClick (EventArgs e)
at System.Windows.Forms.Butto n.OnClick( EventArgs e)
at System.Windows.Forms.Butto n.OnMouseU p(MouseEve ntArgs mevent)
at System.Windows.Forms.Contr ol.WmMouse Up(Message & m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Contr ol.WndProc (Message& m)
at System.Windows.Forms.Butto nBase.WndP roc(Messag e& m)
at System.Windows.Forms.Butto n.WndProc( Message& m)
at System.Windows.Forms.Contr ol.Control NativeWind ow.OnMessa ge(Message & m)
at System.Windows.Forms.Contr ol.Control NativeWind ow.WndProc (Message& m)
at System.Windows.Forms.Nativ eWindow.Ca llback(Int Ptr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Thank you,
==========================
Unable to cast COM object of type 'Microsoft.SqlServer.Dts.R
--------------------------
Program Location:
at Microsoft.SqlServer.Dts.Ru
at Microsoft.DataTransformati
at Microsoft.SqlServer.Manage
at Microsoft.SqlServer.Manage
at Microsoft.SqlServer.Manage
at Microsoft.SqlServer.Manage
at Microsoft.SqlServer.Manage
at Microsoft.SqlServer.Manage
at Microsoft.SqlServer.Manage
at Microsoft.SqlServer.Manage
at Microsoft.SqlServer.Manage
at Microsoft.SqlServer.Manage
at Microsoft.SqlServer.Manage
at Microsoft.SqlServer.Manage
at Microsoft.SqlServer.Manage
at System.Windows.Forms.Contr
at System.Windows.Forms.Butto
at System.Windows.Forms.Butto
at System.Windows.Forms.Contr
at System.Windows.Forms.Contr
at System.Windows.Forms.Butto
at System.Windows.Forms.Butto
at System.Windows.Forms.Contr
at System.Windows.Forms.Contr
at System.Windows.Forms.Nativ
Thank you,
ASKER
Ok the regsvr32 dts.dll fix the issue. As for the service pack 3, I try in the past to install it but it allways fail with an error. I will try again. I keep you posted.
Thank you,
Thank you,
ASKER
I try to install the service pack 3 again and it fail like before. Also, the maintenance plan is failing now. It says to have a look at the log for more detail. Where are these log?
Thank you,
Thank you,
ASKER
Here is the report a got after the SP3 fail installation:
Time: 12/18/2009 10:28:13.954
KB Number: KB955706
Machine: SVR-SQL
OS Version: Microsoft Windows Server 2003 family, Standard Edition Service Pack 2 (Build 3790)
Package Language: 1033 (ENU)
Package Platform: x86
Package SP Level: 3
Package Version: 4035
Command-line parameters specified:
Cluster Installation: No
************************** ********** ********** ********** ********** ********** ******
Prerequisites Check & Status
SQLSupport: Passed
************************** ********** ********** ********** ********** ********** ******
Products Detected Language Level Patch Level Platform Edition
Setup Support Files ENU 9.3.4035 x86
Database Services (MSSQLSERVER) ENU RTM 2005.090.1406.00 x86 STANDARD
Analysis Services (MSSQLSERVER) ENU RTM 2005.090.1406.00 x86 STANDARD
Reporting Services (MSSQLSERVER) ENU SP3 9.00.4035.00 x86 STANDARD
Notification Services ENU SP3 9.00.4035.00 x86 STANDARD
Integration Services ENU SP3 9.00.4035.00 x86 STANDARD
SQL Server Native Client ENU 9.00.4035.00 x86
Client Components ENU SP3 9.3.4035 x86 STANDARD
MSXML 6.0 Parser ENU 6.20.1099.0 x86
SQLXML4 ENU 9.00.4035.00 x86
Backward Compatibility ENU 8.05.2312 x86
Microsoft SQL Server VSS Writer ENU 9.00.4035.00 x86
************************** ********** ********** ********** ********** ********** ******
Products Disqualified & Reason
Product Reason
************************** ********** ********** ********** ********** ********** ******
Processes Locking Files
Process Name Feature Type User Name PID
msftesql Database Services Service NT AUTHORITY\SYSTEM 2348
MSSQLSERVER Database Services Service NT AUTHORITY\SYSTEM 1772
SQLSERVERAGENT Database Services Service NT AUTHORITY\SYSTEM 2636
SQLBrowser Database Services Service NT AUTHORITY\SYSTEM 2068
MSSQLServerOLAPService Analysis Services Service NT AUTHORITY\SYSTEM 1796
************************** ********** ********** ********** ********** ********** ******
Product Installation Status
Product : Setup Support Files
Product Version (Previous): 4035
Product Version (Final) :
Status : Not Selected
Log File :
Error Description :
-------------------------- ---------- ---------- ---------- ---------- ---------- ------
Product : Database Services (MSSQLSERVER)
Product Version (Previous): 1406
Product Version (Final) :
Status : Failure
Log File : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Hotfix\SQL9_ Hotfix_KB9 55706_sqlr un_sql.msp .log
Error Number : 29512
Error Description : MSP Error: 29512 SQL Server Setup was unable add user NT AUTHORITY\SYSTEM to local group AEGERA\SQLServer2005SQLAge ntUser$SVR -SQL$MSSQL SERVER.
-------------------------- ---------- ---------- ---------- ---------- ---------- ------
Product : Analysis Services (MSSQLSERVER)
Product Version (Previous): 1406
Product Version (Final) :
Status : Failure
Log File : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Hotfix\OLAP9 _Hotfix_KB 955706_sql run_as.msp .log
Error Number : 29512
Error Description : MSP Error: 29512 SQL Server Setup was unable add user NT AUTHORITY\SYSTEM to local group AEGERA\SQLServer2005MSOLAP User$SVR-S QL$MSSQLSE RVER.
-------------------------- ---------- ---------- ---------- ---------- ---------- ------
Product : Reporting Services (MSSQLSERVER)
Product Version (Previous): 4035
Product Version (Final) :
Status : Not Selected
Log File :
Error Number : 0
Error Description :
-------------------------- ---------- ---------- ---------- ---------- ---------- ------
Product : Notification Services
Product Version (Previous): 4035
Product Version (Final) :
Status : Not Selected
Log File :
Error Description :
-------------------------- ---------- ---------- ---------- ---------- ---------- ------
Product : Integration Services
Product Version (Previous): 4035
Product Version (Final) :
Status : Not Selected
Log File :
Error Description :
-------------------------- ---------- ---------- ---------- ---------- ---------- ------
Product : SQL Server Native Client
Product Version (Previous): 4035
Product Version (Final) :
Status : Not Selected
Log File :
Error Description :
-------------------------- ---------- ---------- ---------- ---------- ---------- ------
Product : Client Components
Product Version (Previous): 4035
Product Version (Final) :
Status : Not Selected
Log File :
Error Description :
-------------------------- ---------- ---------- ---------- ---------- ---------- ------
Product : MSXML 6.0 Parser
Product Version (Previous): 1099
Product Version (Final) :
Status : Not Selected
Log File :
Error Description :
-------------------------- ---------- ---------- ---------- ---------- ---------- ------
Product : SQLXML4
Product Version (Previous): 4035
Product Version (Final) :
Status : Not Selected
Log File :
Error Description :
-------------------------- ---------- ---------- ---------- ---------- ---------- ------
Product : Backward Compatibility
Product Version (Previous): 2312
Product Version (Final) :
Status : Not Selected
Log File :
Error Description :
-------------------------- ---------- ---------- ---------- ---------- ---------- ------
Product : Microsoft SQL Server VSS Writer
Product Version (Previous): 4035
Product Version (Final) :
Status : Not Selected
Log File :
Error Description :
-------------------------- ---------- ---------- ---------- ---------- ---------- ------
************************** ********** ********** ********** ********** ********** ******
Summary
One or more products failed to install, see above for details
Exit Code Returned: 29512
Time: 12/18/2009 10:28:13.954
KB Number: KB955706
Machine: SVR-SQL
OS Version: Microsoft Windows Server 2003 family, Standard Edition Service Pack 2 (Build 3790)
Package Language: 1033 (ENU)
Package Platform: x86
Package SP Level: 3
Package Version: 4035
Command-line parameters specified:
Cluster Installation: No
**************************
Prerequisites Check & Status
SQLSupport: Passed
**************************
Products Detected Language Level Patch Level Platform Edition
Setup Support Files ENU 9.3.4035 x86
Database Services (MSSQLSERVER) ENU RTM 2005.090.1406.00 x86 STANDARD
Analysis Services (MSSQLSERVER) ENU RTM 2005.090.1406.00 x86 STANDARD
Reporting Services (MSSQLSERVER) ENU SP3 9.00.4035.00 x86 STANDARD
Notification Services ENU SP3 9.00.4035.00 x86 STANDARD
Integration Services ENU SP3 9.00.4035.00 x86 STANDARD
SQL Server Native Client ENU 9.00.4035.00 x86
Client Components ENU SP3 9.3.4035 x86 STANDARD
MSXML 6.0 Parser ENU 6.20.1099.0 x86
SQLXML4 ENU 9.00.4035.00 x86
Backward Compatibility ENU 8.05.2312 x86
Microsoft SQL Server VSS Writer ENU 9.00.4035.00 x86
**************************
Products Disqualified & Reason
Product Reason
**************************
Processes Locking Files
Process Name Feature Type User Name PID
msftesql Database Services Service NT AUTHORITY\SYSTEM 2348
MSSQLSERVER Database Services Service NT AUTHORITY\SYSTEM 1772
SQLSERVERAGENT Database Services Service NT AUTHORITY\SYSTEM 2636
SQLBrowser Database Services Service NT AUTHORITY\SYSTEM 2068
MSSQLServerOLAPService Analysis Services Service NT AUTHORITY\SYSTEM 1796
**************************
Product Installation Status
Product : Setup Support Files
Product Version (Previous): 4035
Product Version (Final) :
Status : Not Selected
Log File :
Error Description :
--------------------------
Product : Database Services (MSSQLSERVER)
Product Version (Previous): 1406
Product Version (Final) :
Status : Failure
Log File : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Hotfix\SQL9_
Error Number : 29512
Error Description : MSP Error: 29512 SQL Server Setup was unable add user NT AUTHORITY\SYSTEM to local group AEGERA\SQLServer2005SQLAge
--------------------------
Product : Analysis Services (MSSQLSERVER)
Product Version (Previous): 1406
Product Version (Final) :
Status : Failure
Log File : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Hotfix\OLAP9
Error Number : 29512
Error Description : MSP Error: 29512 SQL Server Setup was unable add user NT AUTHORITY\SYSTEM to local group AEGERA\SQLServer2005MSOLAP
--------------------------
Product : Reporting Services (MSSQLSERVER)
Product Version (Previous): 4035
Product Version (Final) :
Status : Not Selected
Log File :
Error Number : 0
Error Description :
--------------------------
Product : Notification Services
Product Version (Previous): 4035
Product Version (Final) :
Status : Not Selected
Log File :
Error Description :
--------------------------
Product : Integration Services
Product Version (Previous): 4035
Product Version (Final) :
Status : Not Selected
Log File :
Error Description :
--------------------------
Product : SQL Server Native Client
Product Version (Previous): 4035
Product Version (Final) :
Status : Not Selected
Log File :
Error Description :
--------------------------
Product : Client Components
Product Version (Previous): 4035
Product Version (Final) :
Status : Not Selected
Log File :
Error Description :
--------------------------
Product : MSXML 6.0 Parser
Product Version (Previous): 1099
Product Version (Final) :
Status : Not Selected
Log File :
Error Description :
--------------------------
Product : SQLXML4
Product Version (Previous): 4035
Product Version (Final) :
Status : Not Selected
Log File :
Error Description :
--------------------------
Product : Backward Compatibility
Product Version (Previous): 2312
Product Version (Final) :
Status : Not Selected
Log File :
Error Description :
--------------------------
Product : Microsoft SQL Server VSS Writer
Product Version (Previous): 4035
Product Version (Final) :
Status : Not Selected
Log File :
Error Description :
--------------------------
**************************
Summary
One or more products failed to install, see above for details
Exit Code Returned: 29512
ASKER
Ok, the failing installation of SP3 is what causes the initial problem. After I try installing SP3 the initial problem return. So I guess the SP3 problem needs to be found in order to fix the other issue for good.
ASKER
I follow the instruction on this web site and it work.
http://groups.google.com/group/microsoft.public.windowsupdate/msg/987cc03d02cf9db4
Thank you for your help.
http://groups.google.com/group/microsoft.public.windowsupdate/msg/987cc03d02cf9db4
Thank you for your help.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I did closed it last week, I dont understand. Anyway, I did closed it again.
ASKER
I cant close it twice. I did closed it last week. I try again, but I am being told that it is close???
regsvr32 dts.dll
Ref:
http://www.folin.se/index.php/2007/06/08/unable-to-cast-com-object-of-type-microsoftsqlserverdtsruntimewrapperpackagene-utralclass/michaelfolin
Also Apply SP3 for SQL Server 2005..