SQL Server – v2005 – Installation Error – msmqtask.dll


  1. TITLE: Microsoft SQL Server 2005 Setup
    Failed to install and configure assemblies C:\Program Files (x86)\Microsoft SQL Server\90\DTS\Tasks\Microsoft.SqlServer.MSMQTask.dll in the COM+ catalog. Error: -2146233087
  2. Error message: Unknown error 0x80131501
  3. Error description
    • One or more of the components being installed are already registered as 64 bit components in the target application. You must install the 32 bit versions of the components being installed in a different COM+ application, or delete the existing 64 bit versions of the components being installed from the target COM+ application prior to attempting install of the 32 bit versions. COM+ applications cannot contain bit neutral components.
    • FATAL: Could not find component ‘Microsoft.SqlServer.Dts.Tasks.MessageQueueTask.ServCompMQTask’ we just installed.


Using Component Services, Remove  Microsoft.SqlServer.MSMQTask

Data Academy – SQL Reinstall msmqtask.dll

If you reinstall SQL you might get an error with microsoft.sqlserver.msmqtask.dll (or if you’re installing 2005 after uninstalling 2000).
This is an issue when Microsoft.SqlServer.MSMQTask is left behind in COM+ catalog. You can workaround it by:
  1. Open Administrative Tools\Component Services
  2. Go to Component Services\Computers\My Computer\COM+ Applications
  3. Delete Microsoft.SqlServer.MSMQTask

Using Regsvcs, Uninstall msmsqtask.dll

Parikshit Savjani – SQL Server 2005 Integration service upgrade fails from RTM to SP3 however Database service succeeds

Unregister DLL

"C:\Windows\Microsoft.NET\Framework\v2....\RegSvcs.exe" /u msmqtask.dll

To register the DLL

"C:\Windows\Microsoft.NET\Framework\v2....\RegSvcs.exe" msmqtask.dll /tlb:msmqtask.tlb 

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s