My goal is to view the query that gets executed against the server while in Preview Mode of reporting services.
Is there anyway to do this? Or another approach that I can take to debug the actual query that is being executed by my SSRS report?
I can attach the query text, however I'm more concerned that the parameters are being passed correctly to the query.
I would suggest to install
ExpressProfiler
This is what I used to check that parameters are being passed correctly or not. Try this!
Related
When importing project, there are a lot of bad table names referenced from application, which causes errors. I need to manually rename or create tables accordingly. It would be fine if i find all bad SQL expressions in application with simple few clicks.
How to validate all SQL expressions from pages content body, pages items, etc. to see at what places there are errors?
EDIT:
Here: Table SAMPLE$PROJECT_TASKS does not exist and was not find by Advisor.
Use Advisor. It is located in application's Utilities.
For example:
I created a table named brisime
then I created an interactive report based on that table (it worked OK)
went to SQL Workshop and dropped the table
interactive report doesn't work any more (of course it doesn't)
So, what does the Advisor say? I included only "Is valid SQL or PL/SQL code":
The result is then:
As expected; table doesn't exist, and Advisor found it.
[EDIT]
As of your comment that chart's series query isn't checked by the Advisor: I don't know why - maybe you should ask people who developed Apex (visit OTN Forums).
However, just for testing purposes, I created a page that has two regions:
chart
classic report
Both used the same table as a source. I then dropped the table and ran the page in Debug mode. It shows two separate debug identifiers
chart uses ajax plugin path
classic report uses show path
The Advisor says that report failed on "Is Valid SQL or PL/SQL Code" check, but nothing for the chart. Maybe it is about Ajax, i.e. it isn't checked. On the other hand, maybe it is not the reason, I really can't tell.
I have a report designed in BIRT 2.3.0 using dynamic columns generation.
The report has open, fetch and beforeOpen script for different sections that initialize the column headers and values, and some onCreate script replacing the column headers and values according to some value suffix.
Running this report with RunAndRenderTask method is working fine.
When running separately, with RunTask and RenderTask, the onCreate scripts don’t run (the replace operation is not performed).
I’ve been debugging the application line by line and I can’t find why these scripts are not running.
Please, any help will be great.
Regards
I'm trying to add a new Parameter called CorporateIdentity to the SalesInvoice report in dynamics. I've added the parm***() method to SalesInvoiceContract and compiled the Contract, the Controller and the DataProvider forward.
But I can't get the parameter to show up in Visual Studio. I've tried refreshing the DataSources. I've tried deleting and recreating one of the DataSources. I've tried to create the Parameter manually.
How can I get this parameter to show up?
The answer was to perform an incremental CIL. Some other things to try are listed below.
Have you performed an incremental CIL?
Did you try refreshing your caches (Tools>Caches, just do all of them)?
Try restarting the AOS service and the SSRS service.
Is your WCF data up to date in your AXC file?
Try clearing your usage data and AUC/KTI files.
There are all sorts of weird things to try, but I listed them in order of what I would try ... no need to do them all if one step works.
What is the difference between using a before report and after report in xml publisher?, I don't understand when i should use the specific trigger.
It is exactly as the name describes.
The beforeReport trigger is executed before the report is called. For example you might use this to set profile context that is required to call an API or interface program.
The afterReport trigger runs after the report is executed. This is useful, again as an example, to call to bursting program to email the report after it has been created.
I am using CR 2008. That version allows the use dynamic parameters instead of static parameter. Using that type of parameter will direct CR to go inside the table/view and display what is resided inside the database for us to select the data/information for filtering. That is nice and convenient feature but each time I run the report, I was prompted with server name, user name and password. The user name is the name of the schema and its related password. Those credentials are not supposed to be disclosed to users.
Have anyone come across the same issue and how do you stop CR report from asking for these credentials? It did not ask when I switch to static parameters... the prompt only shows up when dynamic parameters are used.
Thanks!
I finally found a way to get around this issue. In my Crystal report, I used SQL statement in the command for easy future maintenance. I think using command triggers the prompt for user name and password when dynamic parameters is used. I switched to use views for my reports and CR stopped asking me for the credentials. I still favor using commands instead of views though and still curious if there is a way to stop CR from prompting for credential in dynamic parameters when command is used.
Are facing this issue in CR tool or in any other environment which is used to view the report.