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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Trying to load CRM report using reportexecution2005 web service fails

(0) ShareShare
ReportReport
Posted on by

Hi

I followed the sample in this link to generate pdf report using the reportexecution2005  web service, in dynamics crm 2015, but I get the following error:

An unhandled exception of type 'System.Web.Services.Protocols.SoapException' occurred in System.Web.Services.dll

Additional information: An attempt was made to set credentials for a data source 'CRM' associated with the report. Report data source settings are specified in a way that prevents credentials from being submitted to the report server. ---> Microsoft.ReportingServices.Diagnostics.Utilities.DataSourceNoPromptException: An attempt was made to set credentials for a data source 'CRM' associated with the report. Report data source settings are specified in a way that prevents credentials from being submitted to the report server.

Error being thrown at following line of code, when reaches to rs.SetExecutionCredentials line.

DataSourceCredentials[] credentials = new DataSourceCredentials[1];
credentials[0] = datasetCredential;
rs.SetExecutionCredentials(credentials);

Is there a way to solve this ? 

*This post is locked for comments

I have the same question (0)
  • Rao Rapolu Profile Picture
    470 on at

    fetchxml or standard SSRS/SQL report?

  • Community Member Profile Picture
    on at

    Hi

    SSRS/SQL report

  • Rao Rapolu Profile Picture
    470 on at

    what version of SSRS? have you tried on BIDS 2008 R2

    I never used 2005 but 2008 R2 worked fine for me for CRM reports.

    have you deployed any reports previously on this server?

    Check credential access with SSRS server and CRM server

    do you see anything in the trace log of CRM server if preventing access?

    also check SSRS logs too

  • Community Member Profile Picture
    on at

    Hi

    I use 12.0.200 Version. I did not understand "BIDS 2008 R2", but our sql server version is 2014.

    I have already deployed the report and it is being shown in Dynamics CRM Reports.

    I have checked the log and did not find anything regarding access.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans