How to troubleshoot and fix a database login failed error when printing Crystal Reports in Sage 100.
Error: "The database login failed. The Logon failed. Error in the File XX_XxxxXxxx { }.rpt Unable to connect: incorrect log on parameters." when printing a Crystal Report form or report in Sage 100 Premium edition.
Enable TCP/IP for the SQL Server instance
- Open SQL Server Configuration Manager.
- Expand SQL Server Network Configuration, then select the SQL Server instance.
- Enable TCP/IP for the instance.
Run Sage 100 with administrator permissions
- Right-click the Sage 100 shortcut, then select Properties.
- Go to the Compatibility tab.
- Check Run this program as an Administrator, then click OK.
- Launch Sage 100 using the shortcut and try printing the report again.
Sync MAS_Reports password using SQL Settings Utility
- Go to Sage ERP MAS 200 SQL Settings Utility from the Sage ERP MAS 200 SQL program group.
- Click Edit, check Update SQL Server.
- Don’t use [localhost] as the server name.
- Enter new passwords for MAS_User and MAS_Reports.
- Click Accept.
- If you moved the database server, update the Database Server name.
- When prompted, enter the sa password or use NT Authentication.
NOTE: If a custom report has the wrong MAS_REPORTS password, which can lock the MAS_Reports account due to Active Directory policies or system settings. The password will also be incorrect after a database restore or a change in Sage 100 SQL Settings Utility.
Add inbound firewall rule for SQL Server Browser
- Open Windows Firewall with Advanced Options (Run, type WF.MFC, click OK).
- Right-click Inbound Rules, select New Rule.
- Choose Port, click Next.
- Select UDP, enter port 1434. Click then Next twice.
- Choose the applicable network profiles, then click Next.
- Enter a name like SQL Server Browser, click Finish.
Add firewall rule for SQL Server instance
- Open Windows Firewall with Advanced Options.
- Right-click Inbound Rules, select New Rule.
- Choose the Program, click Next.
- Select This program path, then Browse to the SQL Server instance executable.
- For example, C:\Program Files\Microsoft SQL Server\MSSQL11\Instance_Name\MSSQL\Binn\Sqlserv.exe
- Click Next twice.
- Choose the applicable network profiles, then click Next.
- Enter a name like Sage 100 SQL, click Finish.
Reinstall Microsoft SQL Server Native Client
- Uninstall Microsoft SQL Server Native Client.
- Reinstall Microsoft SQL Server Native Client.
- Solution ID
- 224924150049613
- Last Modified Date
- Tue Nov 11 14:59:12 UTC 2025
- Views
- 0