TITLE: Microsoft Visual Studio
------------------------------
Unable to cast COM object of type
'Microsoft.SqlServer.Dts.Runtime.Wrapper.PackageNeutralClass' to
interface type 'Microsoft.SqlServer.Dts.Runtime.IObjectWithSite'. This
operation failed because the QueryInterface call on the COM component
for the interface with IID '{FC4801A3-2BA9-11CF-A229-00AA003D7352}'
failed due to the following error: The application called an interface
that was marshalled for a different thread. (Exception from HRESULT:
0x8001010E (RPC_E_WRONG_THREAD)).
Solution
To fix the problem do the following:
1. Open the command prompt
2. Navigate to C:\Program Files\Microsoft SQL Server\90\DTS\Binn
3. Run C:\Program Files\Microsoft SQL Server\90\DTS\Binn>regsvr32 dts.dll
That should fix the problem.
No comments:
Post a Comment