SSRS Data is showing in Visual studio but not in MS Dynamics 365 CRM Report - reporting-services

Report is working fine in Visual studio, Then when I upload the report in Ms Dynamics 365 CRM and when I run the report with date parameters which are latest eg.
from 20210101 to 20211231 Then report shows with no data as there is no data on this specific dates. But when I go back from Date ( 20190101 to now ) Then It take very long and ultimately give this error.
ERROR
"""""An error has occurred . Try this action. If the problem persists, try to find a solution on the Microsoft Dynamics 363 web group or contact the Organizations Microsoft Dynamics 365 administrator. As a last resort, you can contact Microsoft Support.""""enter image description here
I tried with visual studio 2019 and MS Dynamics CRM 365. This report when I go back to older dates it take very long time and ultimately crashes and show the ERROR.
ERROR
"""""An error has occurred . Try this action. If the problem persists, try to find a solution on the Microsoft Dynamics 363 web group or contact the Organizations Microsoft Dynamics 365 administrator. As a last resort, you can contact Microsoft Support.""""

Related

Microsoft Dynamics CRM “Forms for related record types” functionality is stopped working

My question is about SSRS report for CRM 2011 On premises version.
As everyone knows Microsoft Dynamics CRM provide us Out Of Box reports.
In these reports, there is one report named as "Invoice".
This report contains a Sub report named as "InvoiceSubReport".
The invoice report is working fine in CRM environment.
but When I am trying to run this report from Reporting server, then It is showing an error "Sub report not found".
Now, I have resolved this issue.
What I have done, I just downloaded both the reports, Opened them in BIDS, reassign the sub report to main report and uploaded in CRM.
After doing this exercise, the issue "Sub report not found" was resolved but now I am facing another issue.
The CRM "Forms for related record types" functionality is stopped working.
It means whenever I am running this report from Invoice form in CRM, It showing all the records instead of particular record.
Please help me to resolve this issue.
Thanks.

Excel 2016 Connection to MySQL in Data New Query From Database

I have a spreadsheet that was created in Excel 2010 and queries a MySQL database using Power Query. I'm trying to use the same query and connection on a new laptop with Windows 10 and Excel 2016. I know that the Power Query functionality has been rolled into the Data tab functionality. I've installed the MySQL installer and Connector/Net. However, I'm unable to see the MySQL option in when going to the Data Tab and selecting New Query From Database.
MySQL is only supported on premium SKUs of Office 2013 and 2016. This link describes the features available to premium SKUs of Office 2016 while the April 2015 section on this page lists the data sources that are only supported in premium SKUs.
This is not enforced on Office 2010 but from a licensing perspective the same restrictions apply.
Can't provide the solution but I can confirm I've been trying this myself this afternoon and I've hit the same problem using a new workbook in Excel 2016. I found a thread elsewhere on the internet where MS had responded to confirm the PQ version in Excel 2016 is slightly older than the version of PQ available as an add-in. Since I can't find any ETA on when the bundled version of PQ in Excel 2016 is due to be updated the next step I was going to try was to see if the add-in version of PQ will install as a temporary measure.
It's might not answer your question, but you could try out Power BI Desktop, which has most of the same Power Query features.

Cannot find Microsoft Dynamics CRM Fetch Type in SSRS

I'm trying to create a report in SSRS (Visual Studio 2012) for Dynamics 2011 using fetchXML. I have downloaded and installed the Microsoft Dynamics CRM 2011 Report Authoring Extension (with SQL Server Data Tools support) but I cannot find the Microsoft Dynamics CRM Fetch Type when I try to create a report, please, does any one have any suggestions?
Probably you are trying to create the report in some already existed project, I had the same issue with VS2010 in that case.
To make Fetch XML data source be visible you must create new project in Visual Studio. If all installations were successful, you must be able to create project with Business Intelligence/Report Server Project template, than create new report and in Report Data window (if it not appears automatically - just click on any place on report, go to View menu and find Report Data window) right click on Datasets, than pick "Use a dataset embeded in my report", click "New..." button near Data source drop down and there you should see Microsoft Dynamics CRM Fetch connection type.
Have no possibility to test this with VS2012, hope this will help.
As far as I know the latest version of SQL is SQL 2012 and BIDS for it is done using VS2010. So answer is quite simple - you would not be able to build a report using VS2012, you will have to use VS2010.
You're missing the Report Authoring Extensions. Install these and you'll have the FetchXML in the list.
If you've upgraded to a later CRM version since this post, just search on that version of extension installer instead (2013/2015/2016).

how to get SSRS 2008 R2 to export/render in Excel 2007 format?

I have a report that has ~1k columns and ~17k rows and I'm trying to render it to Excel 2007 with SSRS 2008 R2 Nov CTP.
SSRS team members have mentioned in multiple places that Excel 2007 format is included in 2008 R2, for instance:
http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/69545568-73cb-4f4c-8f35-44472ba6d013
Now, it's certainly possible that it just hasn't made it into the product yet (at least as of Nov CTP), and if that's the case, that would be good to know, too (and ideally when it would be in the product).
The repro report and data (along with attempts showing the existing interface still does Excel 2003 format) are attached to the bottom of this blog post, FWIW:
http://cid-456117cf53a42144.spaces.live.com/default.aspx
Unfortunately, it looks like I was misinterpreting Jin Chen's answer ("Here, has good news, we have improved the ability in SQL Server Reporting Services 2008 R2") - there was an answer later by another member of SSRS that states that 2008 R2 will not support xlsx / Excel 2007 output:
http://social.msdn.microsoft.com/Forums/en/sqlreportingservices/thread/87cfd5d4-ea3c-4250-aab8-a1a3dffa3241
As far as a full featured Excel 2007 xlsx renderer, it is definitely on our list to build but it will be post SSRS 2008 R2.
So, maybe it was in R2 but got cut, but either way, it doesn't appear to be an option now.
For those who might be in a similar situation that run across this question on SO, if programmatically generated the spreadsheet is an option for you, I would recommend EPPlus.
http://epplus.codeplex.com/
Excel 2007-2010 format (Office Open XML) is the default rendering format in SQL Server 2012
http://technet.microsoft.com/en-us/library/dd255234.aspx

SSRS - Still no local rendering of 2008 reports in the latest viewer?

I can't believe this - I just starting developing an SSRS report, using a SQL 2008 Report Server project in VS 2008. When I try to render the report in the VS 2008 ReportViewer control, I get this error
The report definition is not valid. Details: The report definition has an
invalid target namespace
'http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition'
which cannot be upgraded."
I understand the error, and it has been well-documented all over the web over the past year and a half or so, but can it be that there is still no way of viewing these reports in the latest ReportViewer control? In other words, all these announcements from last year that MS would release an updated ReportViewer control in Q1 of 2009 that can render SSRS 2008 reports were wrong?
The only workaround is to install SQL Server 2005 RS? How have others solved this? Switch to VS 2010? Can I register the 2010 ReportViewer control with my VS2008 project, and is that going to solve the problem? So many questions, but no answers ...
Unfortunately, that is indeed the truth :-(
See Bill Vaughn's Retraction: The ReportViewer Control Does NOT Support SQL Server 2008 RDL in Local Mode for more details.
Hard to believe - but true :-( Let's hope it'll be better in Reporting Services for SQL Server 2010 - eerrghh... 2008 R2 :-)
Marc