Error: "SR DAL data source error"
This support note applies to:
- AE Tax Series 6 & 8 (AU)
These instructions require technical expertise
Make sure you know what you're doing and are using one of the products listed. If you're not sure, ask your IT professional or MYOB.
This KB is relevant if you use AE Tax series 6/8
In MYOB Accountants Enterprise (AE) Tax, you might see the error "SR DAL data source error " when opening tax returns after a Windows .NET Framework update.
The event log shows:
System Release DAL SQL error 6522: [Microsoft][ODBC SQL Server Driver][SQL Server]A .NET Framework error occurred during execution of user-defined routine or aggregate "MSync_SqlMsmq2SendMSMQMessage":
System.IO.FileLoadException: Could not load file or assembly 'System.Messaging, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Assembly in host store has a different signature than assembly in GAC. (Exception from HRESULT: 0x80131050) See Microsoft Knowledge Base article 949080 for more informa[]
To open a tax return without any error:
Run the Exec sp_changedbowner 'sa' command on the SQL Server.
Run the AETaxconfigupdate.exe
MYOB INTERNAL STAFF ONLY
You can also fix this error by running the script in SQL Management Studio.
Run this query only if you see the following in the error log:
System Release DAL SQL error 6522: [Microsoft][ODBC SQL Server Driver][SQL Server]A .NET Framework error occurred during execution of user-defined routine or aggregate "MSync_SqlMsmq2SendMSMQMessage":
System.IO.FileLoadException: Could not load file or assembly 'System.Messaging, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Assembly in host store has a different signature than assembly in GAC. (Exception from HRESULT: 0x80131050) See Microsoft Knowledge Base article 949080 for more informa[]
Make sure there is a backup before running the script.
This script must be run against both TAX and PM database. (If you are not sure how to run a query, please refer to the Cavalry team)
ALTER ASSEMBLY [system.messaging] FROM 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\system.messaging.dll'