ReportViewer control used with a remote report does not display any data.

Hi there,
I have this .rdl report that runs just fine on our reporting server (I can see that when I try to run the report by accessing its URL in a browser). However, when I run it in my Windows-based application, I do not see any data. My report has two input parameters
and it needs to impersonate the caller's identity because the database uses Windows Authentication.
Here is the code I use:
var reportViewer = new ReportViewer();
// Set Processing Mode
reportViewer.ProcessingMode = ProcessingMode.Remote;
// Set report server and report path
reportViewer.ServerReport.ReportServerUrl = new Uri("http://MySsrsServer/reportserver");
reportViewer.ServerReport.ReportPath = "/Reports/MyReport";
// set the credentials
reportViewer.ServerReport.ReportServerCredentials.ImpersonationUser = WindowsIdentity.GetCurrent();
// create report parameters and set them in the report
var param1 = new ReportParameter("First_Param", "Some string");
var param2 = new ReportParameter("Second_Param", "Some other string");
reportViewer.ServerReport.SetParameters(new ReportParameter[] { param1, param2 });
using (var reportForm = new ReportForm(reportViewer))
reportForm.ShowDialog();
The ReportForm is just a regular Form that has a member of type ReportViewer. In the class' constructor, I assign the member:
public ReportForm(ReportViewer reportViewer)
InitializeComponent();
try
this.reportViewer = reportViewer;
reportViewer.SetDisplayMode(DisplayMode.PrintLayout);
reportViewer.Dock = DockStyle.Fill;
reportViewer.ZoomMode = ZoomMode.Percent;
reportViewer.ZoomPercent = 100;
reportViewer.RefreshReport();
catch (Exception exception)
MessageBox.Show(exception.Message);
Using database level tracing, we were able to confirm that the two Stored Procedures used by the report are called and they return correct and valid records. However, in the form nothing shows up:
Any suggestions?
TIA,
Ed

Good to know CR doesn't like joins of Stored Procedures to something else.
But in my testcase, I finally dropped the link between the ttx file and the stored procedure. Doing so, I was able to run the report from the designer with the stored procedure as datasource instead of the ttx file. At that moment, I still had missing data in my report, while the resultset of the stored procedure returns me all the correct data !
In the mean time, I changed the layout a bit, especially the text fields containing name, address, country and postal code and city of the customer, by just adding some spaces between those seperate databasefields. In fact, there is one text box with all those database fields concatenated one to the other.
And by just adding some spaces in between, my report works fine again ?!
Strange, strange, strange,....

Similar Messages

  • BI Publisher Word Template The report does not contain any data fields.

    I have OBIEE BI Publisher report (10.3.4) working fine using BIP but using MS Word 2003 I want to create new template and want to add charts etc.
    Step 1. In MS Word I successfully login Oracle BI Publisher as Administrator
    2. Oracle BI Publisher -> Open (I open the report)
    3. Go to Insert -> Table Wizard
    I get this error:
    The report does not contain any data fields. Please make sure that the reports generates data with the default settings or provide a valid XML file.
    Please help

    Hi
    How do I load XML data? Also why XML data load is required? Do I have to export XML data from BIP View screen and load from the same file from the word?
    Please clarify
    Thanks

  • Product Revenue Bookings and Backlog Dashboard does not display any data

    Product Revenue Bookings and Backlog Dashboard does not display any data even though the load completed successfully.
    They are able to see just the parameters.
    Not sure if the upgrade of the database from 9.2.0.6 to 10.2.0.3 is a factor.
    What can I check?
    Is there some table to verify that the data exists for display in the Product Revenue Bookings and Backlog Dashboard?
    Screenshot is at:
    https://gtcr.oracle.com/gtcr-dir/gtcr_5637/6415786.993/Product_Revenue_Bookings_Backlog_Dashboard.doc
    Support suggested to create a new request set and run the initial load with load all summaries option; but there was no change in the Product Revenue Bookings and Backlog Dashboard.
    Any ideas?

    hi
    We have faced the similar problem after the upgrade to 10G
    What we did was
    Ran the initial load of time dimension, Item setup request set, and the request set of all the dash board in the clear and initial load mode..
    we were able to get the data once the clear and load is completed successfully
    Regards
    Ramesh Kumar S

  • File Screening Audit Report does not contain any data : report statistics is empty

    Hi ,
     I have enabled File screen audit and Record file screening activity in auditing database options in file server 2008. 
    I am getting details of file screen audit in Event log  , But incident report file screen audit report does not contain any value.
    Getting report for each incident of file screen audit  , But it does not contain any data in report statistics.
    Data available in scheduled report of file screen audit.. not available in incident report only..
    Please assist...
    Thanks,
    Vasanth.M
    Thanks, Vasanth.M.

    Please note that, If the Record file screening activity in the auditing database check box is cleared, the File Screening Audit Reports will not contain any information. To configure file screen audit, I would refer you on this informative
    technet library :
    https://technet.microsoft.com/en-us/library/cc754540.aspx
    Carlo

  • Report does not display some data

    Hi,
    Using:
    - Crystal Reports 2008 SP3 as development platform.
    - Visual Studio 2008 to launch the crystal report.
    - SQL Server 2005 SP3 as database
    Crystal Report:
    - rpt file has been set up for a couple of months, working fine uptill last friday
    - dataset comes from a SQL Server stored procedure with some parameters. Executing this stored procedure with these parameters, returns the correct result set
    - showing the report using the Crystal Reports Viewer, some fields remain blank since the beginning of this week. Why does the report does not show all the data that is in the result set of the stored procedure ?
    Any idea for a solution ?
    Any idea to debug such strange behaviour ?
    Thanks a lot for any help.

    Good to know CR doesn't like joins of Stored Procedures to something else.
    But in my testcase, I finally dropped the link between the ttx file and the stored procedure. Doing so, I was able to run the report from the designer with the stored procedure as datasource instead of the ttx file. At that moment, I still had missing data in my report, while the resultset of the stored procedure returns me all the correct data !
    In the mean time, I changed the layout a bit, especially the text fields containing name, address, country and postal code and city of the customer, by just adding some spaces between those seperate databasefields. In fact, there is one text box with all those database fields concatenated one to the other.
    And by just adding some spaces in between, my report works fine again ?!
    Strange, strange, strange,....

  • CS-MARS Issue - Custom queries/reports are not displaying any data

    I am trying to produce a report to identify which clients are TFTPing traffic to a particular host and then quantify the amount of data being transmitted. These statistics should be available via the Netflow data being exported to the CS-MARS System. However, the queries continuely produce nil results.

    These release notes are for use with the Cisco Security Monitoring, Analysis, and Response System (CS-MARS), Version 4.1.1 running on either a Local Controller or on a Global Controller.
    http://www.cisco.com/en/US/products/ps6241/prod_release_note09186a0080504531.html

  • Crystal Reports 13 VS2010 Report does not display new data

    The project is written in VS2010 connecting to an Access 2007 DB.  It is running on a local network.  All reports work fine from the standpoint that data is displayed on the reports HOWEVER, if a data table is updated the newley entered records do not show up on the report yet when I examine the database the records have been added to the table.
    I hit refresh and the new records still do not appear.  I've closed out the session and re-started the software and the records do not appear.  It's almost as if the DB is 'frozen'.  Suggestions?

    Hey Ludek,
    Problem with that sample is it hits the MDB directly and not the ODBC DSN. The Jet engine is being deprecated by MS so the solution is to use ODBC or OLE DB to any version of Access.
    I've posted this multiple times but here it is again:
    Try using the replace connection method to update the location of the DSN:
    private void ReplaceConnection_Click(object sender, EventArgs e)
    CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
    ISCDReportClientDocument rcd;
    rcd = rptClientDoc;
    rptClientDoc.DatabaseController.LogonEx("dwcb12003", "xtreme", "sb", "pw");
    //Create the logon propertybag for the connection we wish to use
    CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag logonDetails = new CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag();
    logonDetails.Add("Auto Translate", -1);
    logonDetails.Add("Connect Timeout", 15);
    logonDetails.Add("Data Source", "dwcb12003");
    logonDetails.Add("General Timeout", 0);
    logonDetails.Add("Initial Catalog", "Orders");
    logonDetails.Add("Integrated Security", "True");
    logonDetails.Add("Locale Identifier", 1033);
    logonDetails.Add("OLE DB Services", -5);
    logonDetails.Add("Provider", "SQLOLEDB");
    logonDetails.Add("Use Encryption for Data", 0);
    logonDetails.Add("Owner", "dbo"); // schema
    //Create the QE (query engine) propertybag with the provider details and logon property bag.
    CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag QE_Details = new CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag();
    QE_Details.Add("Database DLL", "crdb_ado.dll");
    QE_Details.Add("QE_DatabaseName", "Orders");
    QE_Details.Add("QE_DatabaseType", "OLE DB (ADO)");
    QE_Details.Add("QE_LogonProperties", logonDetails);
    QE_Details.Add("QE_ServerDescription", "dwcb12003");
    QE_Details.Add("QE_SQLDB", "True");
    QE_Details.Add("SSO Enabled", "False");
    QE_Details.Add("Owner", "dbo");
    CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo newConnInfo = new CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo();
    CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo oldConnInfo;
    CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfos oldConnInfos;
    oldConnInfos = rcd.DatabaseController.GetConnectionInfos(null);
    for (int I = 0; I < oldConnInfos.Count; I++)
    oldConnInfo = oldConnInfos;
    newConnInfo.Attributes = QE_Details;
    newConnInfo.Kind = CrystalDecisions.ReportAppServer.DataDefModel.CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;
    rcd.DatabaseController.ReplaceConnection(oldConnInfo, newConnInfo, null, CrystalDecisions.ReportAppServer.DataDefModel.CrDBOptionsEnum.crDBOptionDoNotVerifyDB);
    See if that works for you. You'll have to change the info to ODBC from OLE DB. You can get the info from an app also, Ludek has a link to it, it will generate code to use RAS to set log on info...
    Don

  • Results view does not display any data

    Hi
    Every time I execute a query in the sql worksheet, I do not see anything in the results view. I only see the ouput in the output script folder. The output script view display is just like the usual sqlplus screen results. I want to look at the results in a table format that is suppose to be displayed in the results view.I used F5 and F9 to execute the query.
    Can anyone tell me why this is so?
    Example below is what I see in the output script view, when I run the query below.
    select file_name,tablespace_name from dba_data_files;
    FILE_NAME
    D:\ORACLE\ORADATA\ORA92\SYSTEM01.DBF
    D:\ORACLE\ORADATA\ORA92\UNDOTBS01.DBF
    D:\ORACLE\ORADATA\ORA92\CWMLITE01.DBF
    D:\ORACLE\ORADATA\ORA92\DRSYS01.DBF
    D:\ORACLE\ORADATA\ORA92\EXAMPLE01.DBF
    D:\ORACLE\ORADATA\ORA92\INDX01.DBF
    D:\ORACLE\ORADATA\ORA92\ODM01.DBF
    D:\ORACLE\ORADATA\ORA92\TOOLS01.DBF
    D:\ORACLE\ORADATA\ORA92\USERS01.DBF
    D:\ORACLE\ORADATA\ORA92\XDB01.DBF
    D:\ORACLE\ORADATA\ORA92\TEST01.DBF
    11 rows selected.
    I want to be able to see the results in the results view in a table format. Why is this not happening?
    Thanks.

    It works for me, when I use F9. Ensure you select the statement (unless it's the only statement) then press F9, or click the triangle button.
    I guess it makes sense for F5, or execute script, to not show a table as there may be many selects, and other statements, in a script and there is no specific return value from a script.
    Message was edited by:
    TonyW

  • Corresponding table in the source system does not contain any data -URGENT

    Hi Guru's,
    I have already uploaded master data.
    I have created infosource added infoObjects to it and activated it to create communication strucure.
    M using RSA1OLD transaction.
    and assigned datasource to infosource ie source system name and clicked ok.
    save datasource to infosurce assigned msg displayed, clicked ok.
    transfer rules r created, i have also created update rules and assigned infosource to it.
    then created infopackage n added execel file name .csv
    in datatargets tab selected data target as infocube. n then in schedule tab start data load immediately and clicked ok.
    everything is fine upto schedule n in monitor it does not display any data.
    what will be the problem??

    i have also created update rules and assigned infosource to it.
    then created infopackage n added execel file name .csv ??
    Are you loading the data from flat file or R3? If you are loading it from R3, why are you giving the Flat file name?
    In this case, check in RSA3 (R3 side), whther the datas source is getting the value.
    In case you are loading a flat file, you need to create a flat file data source and assign to the infosource.
    Thanks..
    Shambhu

  • I am trying to import pictures to IPAD 2 via Ipad Connector. Use to work now it does not. Any clues?

    I am trying to import pictures to IPAD 2 via Ipad2 Camera  Connector (Flash). Use to work now it does not. Any clues? I am a neophyte to Apple products...

    If you are using a flash card, as opposed to an SD card, then I assume that you are using a third-party card reader with the kit ? If so what error, if any, are you getting e.g. a 'requires too much power' error ?
    Also how are the photos getting onto the card ? If you are adding them yoursefly then you need to create a DCIM directory off the root of the card, with the photos underneath it, and the photo filenames need to be exactly 8 characters long (no spaces) plus the file extension i.e. in a similar format as if a camera had created/written them

  • Bex report does not show loaded data at once

    Hi experts,
    Why Bex report does not show loaded data at once after loading is finished but after some time?
    Could be the reason of it:
    a) huge amount of data in infocube.
    b) there are no deleting/creating indexes before/after loading, because it takes too much time
    c) anothe reason?
    Thank you,
    Tigr_Z

    Hi Tigr,
    A and B both can be the reasons behind, but normally in case of B option the results on report output can be wrong like duplicates sort of showing you double figures.
    C - it can be resource issue, so please look into all and double check with basis if thats the case.
    Regards
    Sunny

  • Take picture with iPhone but it does not display it

    I take pictures with iPhone but it does not display it

    Take a picture. Tap on the thumbnail at the bottom left (portrait) or bottom right (landscape) of the screen to display it and access the rest of the camera roll.  Why is everybody complicating this?

  • DataGrid does not display XML data

    Hello, and thanks for reading this...
    I am having a problem displaying XMLList data in a DataGrid.
    The data is coming from a Tree control, which is receiving it
    from a database using HTTPService.
    The data is a list of "Job Orders" from a MySQL database,
    being formatted as XML by a PHP page.
    If it would be helpful to see the actual XML, a sample is
    here:
    http://www.anaheimwib.com/_login/get_all_orders_test2.php
    All is going well until I get to the DataGrid, which doesn't
    display the data, although I know it is there as I can see it in
    debug mode. I've checked the dataField property of the appropriate
    DataGrid column, and it appears correct.
    Following is a summary of the relevant code.
    ...An HTTPService named "get_all_job_orders" retrieves
    records from a MySQL database via PHP...
    ...Results are formatted as E4X:
    HTTPService resultFormat="e4x"
    ...An XMLListCollection's source property is set to the
    returned E4X XML results:
    ...The "order" node is what is being used as the top-level of
    the XML data.
    <mx:XMLListCollection id="jobOrdersReviewXMLList"
    source="{get_all_job_orders.lastResult.order}"/>
    ...The "jobOrdersReviewXMLList" collection is assigned to be
    the dataProvider property of a Tree list, using the @name syntax to
    display the nodes correctly, and a change event function is defined
    to add the records to a DataGrid on a separate Component for
    viewing the XML records:
    <mx:Tree dataProvider="{jobOrdersReviewXMLList}"
    labelField="@name"
    change="jobPosForm.addTreePositionsToDG(event)"/>
    ...Here is the relevant "jobPosForm" code (the Job Positions
    Form, a separate Component based on a Form) :
    ...A variable is declared:
    [Bindable]
    public var positionsArray:XMLList;
    ...The variable is initialized on CreationComplete event of
    the Form:
    positionsArray = new XMLList;
    ...The Tree's change event function is defined within the
    "jobPosForm" Component.
    ...Clicking on a Tree node fires the Change event.
    ...This passes an event object to the function.
    ...This event object contains the XML from the selected Tree
    node.
    ...The Tree node's XML data is passed into the positionsArray
    XMLList.
    ...This array is the dataProvider for the DataGrid, as you
    will see in the following block.
    public function addTreePositionsToDG(event:Event):void{
    this.positionsArray = selectedNode.positions.position;
    ...A datagrid has its dataProvider is bound to
    positionsArray.
    ...(I will only show one column defined here for brevity.)
    ...This column has its dataField property set to "POS_TITLE",
    a field in the returned XML record:
    <mx:DataGrid width="100%" variableRowHeight="true"
    height="75%" id="dgPositions"
    dataProvider="{positionsArray}" editable="false">
    <mx:columns>
    <mx:DataGridColumn width="25" headerText="Position Title"
    dataField="POS_TITLE"/>
    </mx:columns>
    </mx:DataGrid>
    In debug mode, I can examine the datagrid's dataProvider
    property, and see that the correct XML data from the Tree control
    is present. However, The datagrid does not display the data in any
    of its 6 columns.
    Does anyone have any advice?
    Thanks for your time.

    Hello again,
    I came up with a method of populating the DataGrid from the
    selected Item of a Tree Control which displays complex XML data and
    XML attributes. After the user clicks on a Tree branch, I call this
    function:
    public function addTreePositionsToDG(event:Event):void{
    //Retrieve all "position" nodes from tree.
    //Loop thru each Position.
    //Add Position data to the positionsArray Array Collection.
    //The DataGrid dataprovider is bound to this array, and will
    be updated.
    positionsArray = new ArrayCollection();
    var selectedNode:Object=event.target.selectedItem;//Contains
    entire branch.
    for each (var position:XML in
    selectedNode.positions.position){
    var posArray:Array = new Array();
    posArray.PK_POSITIONID = position.@PK_POSITIONID;
    posArray.FK_ORDERID = position.@FK_ORDERID;
    posArray.POS_TITLE = position.@POS_TITLE;
    posArray.NUM_YOUTH = position.@NUM_YOUTH;
    posArray.AGE_1617 = position.@AGE_1617;
    posArray.AGE_1821 = position.@AGE_1821;
    posArray.HOURS_WK = position.@HOURS_WK;
    posArray.WAGE_RANGE_FROM = position.@WAGE_RANGE_FROM;
    posArray.WAGE_RANGE_TO = position.@WAGE_RANGE_TO;
    posArray.JOB_DESCR = position.@JOB_DESCR;
    posArray.DES_SKILLS = position.@DES_SKILLS;
    positionsArray.addItem(posArray);
    So, I just had to manually go through the selected Tree node,
    copy each XML attribute into a simple Array, then ADD this Array to
    an ArrayCollection being used as the DataProvider for the DataGrid.
    It's not elegant, but it works and I don't have to use a Label
    Function, which was getting way too complicated. I still think that
    Flex should have an easier way of doing this. There probably is an
    easier way, but the Flex documentation doesn't provide an easy path
    to it.
    I want to thank you, Tracy, for the all the help. I checked
    out the examples you have at www.cflex.net and they are very
    helpful. I bookmarked the site and will be using it as a resource
    from now on.

  • Search Item drop-down does not show any data for Advanced Search.

    Hi,
    I have a requirement to add a new criteria to the existing Advanced Search region of 'My Employee Information' in Manager Self Service responsibility. I substituted the AdvancedSearchVO to include the new column. Using personalization i did the below steps to show the new column in the page,
    1) Created a 'Message Styled Text' item under Table Layout region to display the result. I associated the View Instance (AdvancedSearchVO1) and View Attribute (AttrColumn).
    2) In Advanced Search Panel created a new CriteriaRow and set the 'Search Allowed' property to True.
    3) In Advanced Search Mappings i tried to create the new mapping but the Search Item drop-down does not show any of the CriteriaRow item. But Results Item shows the 'Message Styled Text' item created in step 1 above.
    Any idea what i would be missing becasue of which 'Search Item' property does not show any data?
    I am using OAF version 12.1.1.
    Thanks, Suresh

    Hi,
    I faced the same situation but i still waiting for the solution.. this is my problem's thread..
    Addition of LOV Search Filter using Personalization
    But when i tried to create a new custom page with advanced table and created a new LOV column via personalization. i was able to create new search mapping.. but this is not happening in the seeded page case :(.
    I m also looking for solution...if any one can provide some inputs on it , will be highly appreciated.
    Thanks
    Renu

  • Aperture 3 project does not display any images in one Project

    This is a strange situation.  The bullets below outline the situation:
    The project does not display any images
    When I place the pointer over the project it shows there are 500+ images
    I have located the RAW images stored in my aperture library
    I can pull up the images using a smart folder and searching for photos taken on the event day
    This is happening only to one of my projects that I know of (weird!!)
    I have tried to 're-add' the image by both importing and dragging and dropping into the project, neither works
    I tried the following basics:
    Fixed permissions
    Rebuilt the database
    Tried to re-import the data, but when I have the 'don't import duplicates' these are not an option
    Found the images in my Aperture library
    I created another project and drug all of the images into that project
    Any idea how I can fix this?
    My fear is that if I delete the original project, the original master images will be deleted.

    The most common cause of this is some sort of stuff in the search box at the top of the browser that you don't expect to be there. Just clear it and all your images should show up.
    RB
    One note - if you drug your images from one project to another it moves them vs copies them unless you hold down the option key.

Maybe you are looking for

  • Read Input from console !!!

    Im am very new to java and trying to learn java .. Now the problem i have is, I have to read input from console without using the BufferReader method.. Please tell me how to go about it.. I have a assignment to complete and im not able to figure out

  • SEARCH ARCHIVE BY EXTENSION

    Hi,  What I want is to verify the existence of a file on the hard disk of your PC, but the filename must be composed with a fixed part and variable part, ie, the variable would be something like "*" when a search assistant with Windows.  Is vi "Check

  • Problem with instant message in clustered environment

    Hello, I have some problem with Instant Message service. We need to use it in our Production Environment (a clustered emvironment with a central instance, two dialog instances and two web dispatchers), some months ago we tested it in Development Envi

  • Toshiba Places problem connecting to facebook

    TV Model 46TL963B connected to sky router using network cable. Have registered with Toshiba places. Trying to connect my facebook account using the email authentication option and it keeps saying problems with server and wont let me connect. Solution

  • 5G iPod skipping songs after iPod Update 1.1

    After I updated my 5G 60 Gig video iPod to Update 1.1, my iPod started to skip certain songs. I have tried erasing the songs, importing them again from the CD, and reloading them back to the iPod and the iPod still won't play those SPECIFIC songs! Ne