When trying to link item memo with purchase order wrk as soon as I link the tables and try to run the report i get The database login failed.

SOLVED

I am on Sage 100, 2020, Premium (SQL) version 6.20.0.1

I have customized the Purchase Order report and it works fine from purchase order printing until in crysal reports I link the inventory memo table to the purchase order wrks table.  As soon as I do that, I recieve the following error. 

The database login failed.  Failed to open the connection. PO_PurchaseOrder2 16728_17840_{9F6A92E0-2009-4DCB-9531-1B69F1296DED}.rpt Details:
[Database Vendor Code: 4060 ]

I have tried changing joins, using a report and tying the report, anything that I try to tie to the wrks file fails.  Any help would be greatly appreciated.

Parents
  • +1
    verified answer

    1. Never link the memo table that way.  Use a sub-report instead.

    2. It's probably your data source.  Make sure you use the exact same connection settings as the default.

  • 0 in reply to Kevin M

    Thank you Kevin,

    It was the permissions in the SQL database that was preventing the connection.  I changed the permissions and was able to do a left outer join, and create a formula that specified the MEMO Type to return the MEMO TEXT.   Changing the SQL permissions also fixed and issue I was having with BI Explorer.   

  • +1 in reply to Keith Wrisley
    verified answer

    You should never have to change SQL permissions for reports run through the Sage 100 program.  All that should be automatic with permissions coming from the Sage MAS_Reports connection (not the user's Windows credentials).

  • 0 in reply to Kevin M

    Thank you,,  We are running SQL on server 2019 along with sage MAS instillations,   Our users are connecting to sage through a serperate server 2019 terminal server using thin clients and rdp with workstation installed on the terminal server.  There are no seperate user permissions set up on SQL.  It was MAS_Reports that I changed the permissions of.  Set up did not give MAS_Reports sufficient permissions.  I found this fix in a Crystal Reports user group that I belong to and it fixed BI and my joined fields.   I appreciate your help.

Reply
  • 0 in reply to Kevin M

    Thank you,,  We are running SQL on server 2019 along with sage MAS instillations,   Our users are connecting to sage through a serperate server 2019 terminal server using thin clients and rdp with workstation installed on the terminal server.  There are no seperate user permissions set up on SQL.  It was MAS_Reports that I changed the permissions of.  Set up did not give MAS_Reports sufficient permissions.  I found this fix in a Crystal Reports user group that I belong to and it fixed BI and my joined fields.   I appreciate your help.

Children