Integration Manager – Unable to cast COM object of type ‘MSScriptControl.ErrorClass’ to interface type ‘MSScriptControl.IScriptError’.

Integration Manager – Error message. 
DOC 1 ERROR: Unable to cast COM object of type ‘MSScriptControl.ErrorClass’ to interface type ‘MSScriptControl.IScriptError’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{70841C78-067D-11D0-95D8-00A02463AB28}’ failed due to the following error: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)).
DOC 1 ERROR: Argument ‘Number’ is not a valid value. – Argument ‘Number’ is not a valid value.
DOC 1 ERROR: Unable to cast COM object of type ‘MSScriptControl.ErrorClass’ to interface type ‘MSScriptControl.IScriptError’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{70841C78-067D-11D0-95D8-00A02463AB28}’ failed due to the following error: Error loading type library/DLL. (Exception from HRESULT: 0x80029C4A (TYPE_E_CANTLOADLIBRARY)).

Solution : regsvr32  c:\windows\system32\msscript.ocx

Cheers!

Sanjay