generating report with birt - mysql

im using birt report designer plugin in eclipse pdt. i successfully built the datasource and data set from mysql database. but when i try to use the data column in my report it generates error with
error message
"An error has occurred. See error log for more details.
org/mozilla/javascript/ScriptOrFnNode".
i have already built many reports in same configuration without any such problem. but now its not working what may be the reasons behind this?
i have tried many suggestions like birt updating, from this as well as some other forums without any improvement
Thanks..

Related

Error: The Cubes collection has been updated on the server

So, I'm going along in SSRS building a new report, as you do, and as I'm building the query from my SSAS cube I get the error: "The Cubes collection has been updated on the server." I can't find anything on the interwebs that would fix my issue. The odd thing is that I can build out the query for a while before getting this error, meaning I'm able to add 7-10 fields before the error presents itself. After the error I can't save it because it can't verify that the query is working. So I have to close it all down and restart building the query, but again, after a few fields get added I get the same error.
Yesterday we added a tabular instance to our BI server so we could convert our SSAS cubes to a tabular model and then utilize power bi and this seems to be when I started to see the issue. I'm not sure if they're related. I did restart the server last night hoping that would correct anything that went awry, but to no avail.
Cubes need processing. Process your cubes and try again.

Reporting services error trying to access a object that isn't called in the report

have a strange one. We are running Sql Server 11.0.3000. The report is giving an error
An error has occurred during report processing. (rsProcessingAborted)
Query execution failed for dataset 'Audit_Detail'. (rsErrorExecutingCommand)
Invalid object name 'dbAudit.tblRangeReport'.
The thing is, the report uses 3 stored procs to go after data in a database called dbSalarySurvey. The three sp's do not mention the dbAudit.tblRangeReport. There are no functions or views in the 3 sp's that access that table. Further more, if i run the report in VS 2012 the report runs. If i run profiler on the dbAudit table when VS runs the report, the report does not query the dbAudit table. Only when running the report from the web browser do i get this error. This more detailed version of the error come from running the report on the Sql Server REporting services computer.
I have tried restarting the reporting services service. We have also deleted this one report from the reporting services server and republished it. Have also tried to republish the dataset. Other reports in this project that use the datasource and the same tables run.
Anyway, was wondering if anyone had any sugguestions.
Thanks
shannon
It's fixed. it was a pebkak error in the stored proc. It's really strange though. Honest to goodness, the proc was running in my dev env but not when running from a browser. I had already checked profiler like was suggested below and done the xml scan too. In the end.. just missed it i guess.
You need to trace the SQL to determine.
Are you connecting to the right database?
Are the procs you expecting to see, the ones actually being run?
The procs you are running are correct?
Open SQL Server Profiler
Start New Trace
Click Event Selection, Select the following events
Click - Show All columns
Go into Column Filters
and filter on your DB, and possibly even your login name (the login name of the SSRS server)
Once you've done that, call your report and look to make sure all the procs are called that you expect. Track issues from there.

Moving SSRS Report with parameters to Dynamics CRM 2013

Good morning, All.
First let me start off by saying that I'm extremely new at CRM and even after reading umpteen million articles, whitepapers, and blog entries, I still feel completely lost.
I have an instance of Dynamics CRM 2013 On Premise that I'm trying to write custom reports for. Before I realized that all reports had to be done inside of BIDS, I wrote out a beautiful custom Quote inside of SSRS itself. I made sure to use the Filtered Views in my query to the database, and the structure of the query seems sound, but I can't seem to upload the .rdl file into CRM.
I get the error:
Reporting Error
Error occurred while setting the data source for the report
I have two questions:
How do I move this report into CRM without having to fully recreate it in BIDS?
How do I pass the Quote ID from CRM to this report query?
Thanks in advance for all of your help.
Edit: Added Error Message
You Should be able to upload the RDL directly to CRM...
Try creating a really basic report with the same data source and something along the lines of "select top 10 from filteredincident" and upload it.
If it works then you know it's something with your query.
CRM is notorious for giving error messages that don't have enough information, or are at worst misleading. I've seen this error when I accidentally used non filtered tables and a autofilter parameter that was incorrect.
Also take a look at the SSRS server that CRM talks to, if it's misconfigured that may cause an issue as well. You may want to try uploading your report to SSRS and run it from there to ensure that SSRS is working correctly.

When using SSRS in Local Mode with no user interaction, is it possible to get more detailed error messages?

Using SSRS 2008 R2
I have a background process that dynamically generates RDL for report generation. I am using SSRS in LocalMode with no user interaction or connections to the SQL Server Reporting Services. The only thing the user will ever see will be the final PDF.
I am using the Microsoft.Reporting.WebForms.LocalReport.Render to generate the report.
When an error occurs, the only message that gets returned is something like the following:
Warning: An error occurred while executing the subreport 'SUBREPORT_000005' (Instance: 0): The definition of the report '' is invalid. (rsErrorExecutingSubreport)
Warning: Warnings occurred while executing the subreport ‘SUBREPORT_000005’. (rsWarningExecutingSubreport)
These errors are obviously not very useful. In order to get the real error, I have to save all the reports to the disk and open the offending report in Report Builder 3.0, modify it to provide everything it needs and then execute the report. At this point, Report Builder will report a more detailed error such as Missing Fields, invalid syntax on formulas etc. This process is time consuming and slows down the debugging cycle.
Is there a way to configure the LocalReport to give me the more detailed error? The local report has a property called ShowDetailedSubreportMessages, but it makes no difference in the errors that it returns.
Any ideas?
I have asked this in other forums and so far it appears that this is not currently possible. So a manual approach through Report Builder seems to be the answer still.

CRM Reports not getting executed for more than 20 records

When I executed reports in CRM 2011 by selecting more than 20 records it give the following error:
Microsoft.Reporting.WebForms.ReportServerException: An error has
occurred during report processing. (rsProcessingAborted) --->
Microsoft.Reporting.WebForms.ReportServerException: Query execution
failed for dataset 'DsPhoneCallBase'. (rsErrorExecutingCommand)
This is happening for both system reports and custom reports.
When you review the SSRS log you might find this error.
The SELECT permission was denied on the object
‘fn_GetGuidsFromString’, database ‘MicrosoftCRM_MSCRM’, schema ‘dbo’.
If so then this is a known issue supposedly fixed in UR8. You will find reference to it here http://blogs.msdn.com/b/crminthefield/archive/2012/04/20/podcast-and-overview-microsoft-dynamics-crm-2011-update-rollup-8.aspx
See this blog for a work around until you upgrade.
http://xrm4you.wordpress.com/tag/support/
If possible, attach a SQL Server Profiler to the database server and make sure to include "Events: Error" in the events selection. This will show you which statement fails and why.
You might also be able to find pointer in the reporting services log files:
%ProgramFiles%\Microsoft SQL Server\MSSQL.x\Reporting Services\LogFiles