Sage 100 Premium error, login failed for user MAS_User when printing any report

SUGGESTED

Just did a fresh install of Sage 100 2021 Premium.  When printing any report, getting error 15 SY_REPORTCOMMON.PVC 1877.  O/S Error 28000 [Microsoft][SQL Server Native Client 11.0] Login failed for user "MAS_User".  Verified the password is correct for MAS_User. 

Checked the event viewer on the SQL server, the log says "Login failed for user MAS_User. Reason: Failed to open the explicitly specified database TEMPDB.  SQL admin checked to make sure MAS_User has rights to TEMPDB.

Any advise as to what to check.

Thanks,
Nelson

Parents
  • 0

    Hi Nelson,

    How did you verify the MAS_User password? If you didn't use the SQL Settings Utility in Sage you should double check using that?

    I'm assuming you've read KBs 75325 & 111140.

    Your SQL Instance is setup using Mixed Mode, not NT Authentication, right?

  • 0 in reply to rclowe

    Thanks for the response.  We used the SQL setting utility to verify the password and test the connection.  SQL is using mixed mode.  Can you email me link to KB 75325 and 111140.  We looked at all the Sage 100 premium articles on Sage's knowledgebase but just want to confirm.  And how do you search the KB number directly?  I tried searching for KB 75325 and nothing comes up.  Thanks again.

  • 0 in reply to NMirhan

    Here is 111140:

    Summary

    Error 15 sy_reportcommon.pvc 1835 42000: [microsoft][SQL Server Native Client 11.0 client][SQL Server]incorrect syntax near "-" when previewing reports in Sage 100c Premium.

    Cause

    Sage 100c User code had a dash "-" in the User code. Example "K-H". Delete the User with the dash and create a new User code without the dash.

    Resolution

    Delete the User in User Maintenance with the dash and create a new User code without the dash in User Maintenance.

    And here is 75325:

    Summary

    Error: "15 SY_ReportCommon.pvc 1688" when printing for a specific company

    Cause

    The SQL instance name has the company code as part of the name.

    • Instance Name = MAS_ABX_2016 and Company Code is ABX
    • Instance Name = MAS_123 and Company code is 123 

    Resolution

    Change the SQL Instance Name or the Company code
    Obviously there is not a whole lot of info in these 2 KBs, but you never know. Back in the old days we used to see where someone would have the MAS90 folder in a MAS90 directory, or a company code of SOA, etc. Caused odd problems. I always recommend that people stick with 3 character user codes, company codes, etc. just out of habit.
    To answer your other question, I just originally entered the text of your error (with the Statement number I didn't get any results, so I removed that):
    If you want to search for a specific KB # you should just be able to key in that number:

     

Reply
  • 0 in reply to NMirhan

    Here is 111140:

    Summary

    Error 15 sy_reportcommon.pvc 1835 42000: [microsoft][SQL Server Native Client 11.0 client][SQL Server]incorrect syntax near "-" when previewing reports in Sage 100c Premium.

    Cause

    Sage 100c User code had a dash "-" in the User code. Example "K-H". Delete the User with the dash and create a new User code without the dash.

    Resolution

    Delete the User in User Maintenance with the dash and create a new User code without the dash in User Maintenance.

    And here is 75325:

    Summary

    Error: "15 SY_ReportCommon.pvc 1688" when printing for a specific company

    Cause

    The SQL instance name has the company code as part of the name.

    • Instance Name = MAS_ABX_2016 and Company Code is ABX
    • Instance Name = MAS_123 and Company code is 123 

    Resolution

    Change the SQL Instance Name or the Company code
    Obviously there is not a whole lot of info in these 2 KBs, but you never know. Back in the old days we used to see where someone would have the MAS90 folder in a MAS90 directory, or a company code of SOA, etc. Caused odd problems. I always recommend that people stick with 3 character user codes, company codes, etc. just out of habit.
    To answer your other question, I just originally entered the text of your error (with the Statement number I didn't get any results, so I removed that):
    If you want to search for a specific KB # you should just be able to key in that number:

     

Children