Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

SQL reporting Services report error

(0) ShareShare
ReportReport
Posted on by 789

Our client recently applied the Year end update and are now running GP 18.3.1200. We've found at least one SQL Server Reporting Services doesn't run (the Historical RM Aged Trial Balance). I've redeployed the reports but the same error persists:

  • An error has occurred during report processing. (rsProcessingAborted)
    • Query execution failed for dataset 'dsPrmCustomerID'. (rsErrorExecutingCommand)
      • Semantic query execution failed. Invalid object name 'dbo.Customers'. (rsSemanticQueryEngineError)

I doesn't look like I can do much with that dataset. 

Any suggestions? 

Categories:
  • Suggested answer
    Derek Albaugh Profile Picture
    on at
    RE: SQL reporting Services report error

    Easiest way would be to script them into a query window from another company database, then use that script to create them in the company database missing them.

    Otherwise, Database Maintenance Utility is used to re-create Views.

    Thanks

  • Bob Callanan Profile Picture
    789 on at
    RE: SQL reporting Services report error

    That was it - the report was running against their TEST company so I was looking at possible data issues. I can tell we're missing multiple VIEWS somehow. Is there an easy way to find/recreate them?

  • Bob Callanan Profile Picture
    789 on at
    RE: SQL reporting Services report error

    That appears to be the issue. The report was running against a TEST company so I was looking at data. Their database is missing the customers, customer items and customer address views - and I'm guessing several others. I'll move these three over from TEST but any suggestion on recreating any others that might be missing?

  • Verified answer
    Derek Albaugh Profile Picture
    on at
    RE: SQL reporting Services report error

    I have 18.3.1200 and that SSRS report works fine.

    I'm interested in the 'Invalid object name 'dbo.Customers' message. Does the 'Customers' view exist in the company database that you're running the report against?

    You can use these scripts against the company database to verify:

    1. Select * from Customers

    2. Select * from sysobjects where name = 'Customers'

    'Customers' is a SQL View that should exist in each company database.

    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 491 Most Valuable Professional

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 310

#3
Saalim Ansari Profile Picture

Saalim Ansari 301

Overall leaderboard

Product updates

Dynamics 365 release plans