web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

SSRS Reports Errors

(0) ShareShare
ReportReport
Posted on by

I'm trying to implement SSRS reports for GP. I have them deployed and I'm able to make connections to my data sources. However, whenever I run the reports 

Query execution failed for dataset 'dsCompanyDetails'. (rsErrorExecutingCommand)


What I have noticed is that each failing dataset uses dynamic SQL and an EXEC statement. The dataset is different depending on which report I run but the error is the same. I've set a specific account for generating the report which helped with the old double-hop issue, and I've created a role in each of the System & Company Databases which I've granted execute permissions and added the account to that role. Not sure if I'm missing a step or if there is somewhere else I need to grant execute permissions to. The SSRS instance is different from the GP instance.

*This post is locked for comments

I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Shravan Attelli Profile Picture

Shravan Attelli 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans