SQL-01403 error reported in a Report Region when there is data to display

I have a report region populated by a PL/SQL function body returning a SQL Query. When the region is displayed, "ORA-01403: no data found" is output when there should be rows displayed on the report. I see a lot of postings related to ORA-01403, but none seem to describe why this problem occurs or how to solve it.
Here is the generated SQL query:
SELECT DISTINCT entry_type, active_time, expire_time, facility, via, output_remarks, p_reports.f_get_to_positions (entry_id, NULL) pos FROM (SELECT 'RSTN' entry_type, active_time, expire_time, facility, via, output_remarks, entry_id FROM v_restriction_daily_all WHERE (entry_type in ('RSTN', 'APREQ', 'GS')) UNION ALL SELECT 'RSTN' entry_type, active_time, expire_time, facility, via, output_remarks, entry_id FROM v_restriction_daily_all WHERE (entry_type in ('RSTN', 'APREQ', 'GS')) UNION ALL SELECT 'RSTN' entry_type, active_time, expire_time, facility, via, output_remarks, entry_id FROM v_restriction_daily_all WHERE (entry_type in ('RSTN', 'APREQ', 'GS')) UNION ALL SELECT 'APERQ' entry_type, active_time, expire_time, facility, via, output_remarks, entry_id FROM v_apreq_daily_all WHERE (entry_type IN ('APREQ', 'RSTN')) UNION ALL SELECT 'GS' entry_type, active_time, expire_time, facility, via, output_remarks, entry_id FROM v_apreq_daily_all WHERE (entry_type IN ('GS', 'RSTN')) UNION ALL SELECT entry_type, active_time, expire_time, facility, via, output_remarks, entry_id FROM v_edct_daily UNION ALL SELECT entry_type, active_time, expire_time, facility, via, output_remarks, entry_id FROM v_runway_daily UNION ALL SELECT entry_type, active_time, expire_time, facility, via, output_remarks, entry_id FROM v_deicing_daily UNION ALL SELECT entry_type, active_time, expire_time, facility, via, output_remarks, entry_id FROM v_delay_daily UNION ALL SELECT entry_type, active_time, expire_time, facility, via, output_remarks, entry_id FROM v_swap_daily UNION ALL SELECT entry_type, active_time, expire_time, facility, via, output_remarks, entry_id FROM v_sua_daily UNION ALL SELECT entry_type, active_time, expire_time, facility, via, output_remarks, entry_id FROM v_information_daily UNION ALL SELECT entry_type, active_time, expire_time, facility, via, output_remarks, entry_id FROM v_outage_daily ) WHERE (active_time BETWEEN TO_DATE (:G7_LOCAL_MIDNIGHT, 'YYYYMMDDHH24MI') AND TO_DATE (:G7_LOCAL_MIDNIGHT, 'YYYYMMDDHH24MI') + 1)
I am using version 1.6.0.00.87.
Please advise. Thanks.

Create a summary column (lets say "CS_TotalRecords") at report level, and set the following properties:
Function: Count
Source: column which can not be null (if report displays some data)
Reset At: Report
Create a format trigger at most outer frame (the frame you want to hide and all object within that), and write following code:
BEGIN
IF NVL(:CS_TotalRecords,0) = 0 THEN
RETURN (FALSE);
END IF;
RETURN (TRUE);
END;
Hope this helps.

Similar Messages

  • Crystal report viewer stop grouping (sorting) when there is a lot of data

    Hi,
    Here is my problem, when I try to view a report that uses grouping and sorting on the Crystal Report Viewer (web), if the query returns more then 490 records then all the groups are screwed up. Basically all the records are in the report but they are not in the proper groups and they are not sorted. It seams like it's running out of memory and just gives up.
    The same report works fine in the Crystal Reports 2008 designer tool.
    Is there a way to increase the memory of the Crystal Report Viewer (web) or is there something else I can do about that?
    Thanks

    I installed the Crystal Report plug-in on my Eclipse and I ran my report in it. Then I got this error:
    Original Order Grouping: Modifying groups with original order grouping is not fully supported.
    Change all groups with 'Sort property to a value other than 'Original Order', or modify the report grouping in the Crystal Report designer application.
    So I modified my report to remove the "Original Order ".
    That seam to fix the problem, I havenu2019t been able to reproduce it since.
    Thanks
    /Yannick

  • Report Engine does not increase when there is a large no of reports queue

    Hello Everybody,
    Specifications:
    Product : Oracle Application Server Forms and Reports Services 10.1.2.0.2
    OS : Windows 2003 R2 Server
    Dual Core CPU 2600MHz
    6 GB RAM
    We are doing the sizing for our reports server. We have specified the following in our rep_server.conf
    <engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="2" maxEngine="6" minEngine="2" engLife="50" maxIdle="30" callbackTimeOut="90000" engineResponseTimeOut="3" jvmoptions="-Xms64m -Xmx128m">
    Even when there are 5000 or more reports in the queue still the number of engines in the reports server remains at 2 though I have given that it can use upto a maximum of 6 engines. Can anybody please explain why this happens? Am I missing something here?
    Thank you for your reply in advance.

    Hello,
    Anybody has any idea why the report engine is behaving like this?
    Thanks in advance

  • Report doesn't recognize the member ID and data not displayed

    Hi Experts,
    we have a problem with EvDRE Input schedule or report is related to insert member function .
    When the regional config is set to comma for decimal symbol and point for thousands symbol.
    If the user inserts a member which includes numbers and a point.
    The BPC report inserts a new line with the ID replacing the point for a comma.
    1. Logon BPC Excel -and open Input Schedule . Enter Decimal Figure
         Ex : 2007.TOTAL   2222,2222        
    2. Send data to server and press refresh worksheet.  Its aggregation in  "2007.TOTAL"
    3.Then I have refreshed, I enter data in in another cell and send data,all r fine now again.
    4.Wait  2 to 3 minutes nothig happend  in the system (BPC Exl).Then press REFRESH button.Exept TOTAL have chnaged its value after decimal place-round proces happend.
    5.Press  Expand All.  Result looks like : Some figures from Total level disappeared,values after decimal point still rounded.
    6. Send decimal figure to the server  and after sending process completes. I refresh ,figure in this cell becomes rounded
    7.Then  I Logoff from the BPC Excel and logon back.Open the same input schedule .Values are correct again.
    8. Send data --Refresh ..its working fine.
    The  decimal process is rounded and disappearsometimes.Please suggest.Thankyou.
    Regards
    Yaswant

    Oh, you're providing new information. Why would you not say that to begin with?
    Anyway. Does the NEW SIM card have the BlackBerry Data Plan on the SIM account? If not, then it will not connect to the BlackBerryID.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Error occurred while deciding partition number,when activating DSO data.

    HI all,
    I have 2 requests in my DSO,when i activated the data for the 1 request manually it worked fine.But when activating the 2 nd request.It failed giving me the following error.
    Error occurred while deciding partition number,
    PSA update failed
    Process 000002 returned with errors
    Process BCTL_D4A4RYBAVI2HZ9FAMIP9TNMAI could not be terminated. Terminate manually
    Data pkgs 000001; Added records 1-; Changed records 0; Deleted records 0
    Log for activation request ODSR_D4A4RYBAVI1QAN3JAZ9NR880Q data package 000001...000001
    Errors occured when carrying out activation
    Analyze errors and activate again, if necessary
    Activation of M records from DataStore object 0FIGL_O02 terminated
    Report RSODSACT1 ended with errors
    Job cancelled after system exception ERROR_MESSAGE
    Please advice on how to resolve this issue.thanks in advance

    Hi Shambhu,
    thanks for your reply.
    I tried activating again.but it failed.Problem is it has about 10 mil records and this load is very important to be done within next 12 hours.
    I had deleted a PSA request but when i looked into the table RSTSODSPART,i have a PSA request not checked for Deletion flag.I am not sure why this happened.Does this have anything to do?But i also have another question,if i load from PSA was successful,i dont see a point as why the second load would error out.In that case is there anyway to delete one particular entry in that table.
    Please advice

  • Error:41453 in log file even when the account data is imported successfully

    Hi,
    As a beginner, I tried importing ‘Accounts’ record type with 2 records, by taking below 4 fields:
    Account Name, Account Type, City, Owner
    The email received for the account import request completion has below details:
    Total Records: 2
    Successfully Imported: 0
    Partially Imported: 0
    Duplicate Records Ignored: 0
    Failed: 2
    Against both the records, error : 41453 is mentioned in the log file, with error description as - An unexpected error occurred during the import of the following row: 'Account Name: <name of account>'
    However when I query for the records under Account tab, the records are all created properly (with all the values correctly present). I am not sure why am I getting this error if the records are successfully imported? Any help on this would be appreciated.
    In import wizard below selection was made-
    Select the method Import should use to uniquely identify matching records. You can use either the External Unique ID or On Demand Row ID or the following On Demand predefined fields: Account Name, Location
    * External Unique ID
    If the unique record identifier of the record being imported matches a record already in On Demand:
    * Don't Import Duplicate Records
    If the unique record identifier of the record being imported does not match a record already in On Demand:
    * Create New Record
    The import process may encounter field values that do not match the picklist values for fields in Oracle CRM On Demand. Please decide how to resolve these conflicts:
    * Don't Import Field Value
    This option allows you to decide if import should create a new record for missing associations (related records) in your data file.
    For the current import, this option will apply to the following associated record fields: Parent Account
    * Create Associated Record
    Thanks,
    Gunjan

    *'Create Associated Record’ & ‘Don't Create Associated Record’*
    If you are inserting Contacts. Account for that Contact is an Associated Record.
    And if you gave 'Create Associated Record’ it will create Accounts for that Contact if it didn't find a matching Account and insert the Contact.
    If you gave ‘Don't Create Associated Record’ it will not create Account and the Contact.
    Its better to give ‘Don't Create Associated Record’ since the Account you gave in contact is case sensitive.
    So if u give 'Create Associated Record’ then while inserting contact if the account is not exactly matching even though it exist in some other case(lower/upper)
    it wont map to that account which you meant and will create a new Account and map it to that contact.
    Hope you got some idea.
    Regards,
    Lemu

  • My officejet 6500 has an error msg of jam/misfee​d when there is none.

    My officejet 6500 had some water fall onto it. Luckily some paper was piled on top and blocked most of it. But some of the water seeped in where the copier rollers are. I let it dry completely and nothing was affected, re: printing. About a week later, I put something heavy'ish on top, which might or might not be the problem too, just thought I'd mention it. After putting the heavy item on top, the printer came up with the error message that there was a jam or misfeed in the scan path. Trust me, there's no misfeed, and there is no jam. I suspect something happened in there to misalign it somehow, either due to the moisture or the weight (it was a heavy picture frame) on it for about an hour.
    I have tried what I can to make this go away. I miss being able to use the feeder to either scan multiple pages or to copy them. I can't use the copier at all, but I can still scan a page at a time, but it takes forever, and I have to quickly hit cancel, then scan before the error kicks back. It's tedious.
    I don't want to lose the printer, but then again, it's not worth enough to hire someone to fix. Any ideas on how to fix or salvage?

    A hard reset can resolve this issue. But I suggest that you do it under the supervision of an HP Tech over the phone. This way, if the issue is still unresolved, they can replace the printer.
    Make it easier for other people to find solutions, by marking my answer with \'Accept as Solution\' if it solves your problem.
    Click on the BLUE KUDOS button on the left to say "Thanks"
    I am an ex-HP Employee.

  • Error message that HD is full, when there is space on the HD

    Hi, I'm trying to save a Word doc on my mac OS X 10.4.11 but I keep getting an error message saying my hard drive is full. I tried restarting my computer, and I've freed up at least a GB since, but keep getting the same error message when I try to save my Word doc. Any ideas on what might be wrong? Thank you!

    mungopark:
    Welcome to Apple Discussions.
    What is the total capacity of your HDD and how much free space do you have? (Select Macintosh HD icon and Get Info: Command + I)
    You need to maintain a minimum of 15% of total disk capacity as contiguous free space for swap files and to avoid directory corruption. You really need a larger capacity HDD. Meanwhile Dr. Smoke's FAQ Freeing space on your Mac OS X startup disk has helpful ideas of freeing up space until you can get a larger drive.
    cornelius

  • Error: Object Name cannot be Empty, when loading Master Data

    Hi all,
                  We are loading mater data for one of the InfoObject, which is failing at Processing Step. Data is loaded properly till PSA. There is short dump error giving MESSAGE_TYPE_X error. On analyzing Job Log, We found the error like, "OBJECT NAME CANNOT BE EMPTY".
                  We checked InfoObject and found that, One of its attribute is inactive. Can it be the cause of error? Please Reply soon.
    Thanks,
    Harpal

    It must be the cause of error. Please activate all inactive attributes and load the data again.
    Regards
    Pankaj

  • HFM: How to restrict user to generate reports when there is a data load process going on?

    Hi Experts,
    I want to get some idea on how we can restrict one user of generating report when another user is loading the data for the same entity, assuming both the users were at different location and there is no communication between them.
    i am dealing same kind of problem in HFM. we have many users created, some users will be loading the data using FDMEE while some users will be generating the reports. the problem arises when one user is loading the data for a particular entity and at the same time another generates the report for the same entity. this shows wrong data in the reports as the data's were not updated.
    please suggest how we can come out of this problem.
    Thanks in advance for your valuable suggestions.

    I thought for a while that I could solve the problem creating a parameter in the main report and casting the first argument of my subreportprocesssing event handler to LocalReport and setting the parameter using the SetParameters method of the LocalReport
    object indicating when there was data to show or not. But this doesn't worked , the parameter value remains the same when I use it in expressions to change the visibility property of my subreports.
    Codelines

  • Placing a parameter for a report in header when no XML data returned

    Good Afternoon ~
    I have a request from a user that requires the need to place a reports parameters in the header of the report even though  the report may return no data.  Example of this would be a missing time card report. 
    I have only seen the use of this when there is data returned.  If the report returns no data there is no XML.  
    I have no idea how I would accomplish this.  Any suggestions I can get on this is much appreciated.  How would I capture the parameter used?
    Thank you much!
    G

    Apparently I am not notified of these updates.    Sorry this took me a bit to get to you. 
    The report data is using an Oracle Report to generate the XML.  All other formatting is done in BI  Publisher.

  • Queries related to ADF Train Component, Region disable if 'No data Found' from URL service

    I have below few queries. I am using JDeveloper version : 11.1.1.6.0
    1. Train Component : I need to remove link which is on 'Train Stop' icon so user can't directly go to next stop.
    2. Hide region in case of Empty Result from URL Service Call :
         I have created a region  and in region put the task flow which have readOnly table calling URL Service data control.
         In case of empty result from service call, table is rendered and displays 'No data to display.' I don't want to show empty table in this case. and I also want to make region invisible (rendered=false).
    3. alternative of <optgroup> tag in adf: Do we have any alternative option to display <optgroup> tag in adf ?
    Regards,
    Niraj

    1. Train Component : I need to remove link which is on 'Train Stop' icon so user can't directly go to next stop.
    You can reference a managed bean from the view activity train definition to enable/disable stops dynamically:
    http://www.oracle.com/technetwork/issue-archive/2011/11-sep/o51adf-452576.html
    ADF Code corner has more train examples, just search for "train" : http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html
    2. Hide region in case of Empty Result from URL Service Call :
         I have created a region  and in region put the task flow which have readOnly table calling URL Service data control.
         In case of empty result from service call, table is rendered and displays 'No data to display.' I don't want to show empty table in this case. and I also want to make region invisible (rendered=false).
    The af:region is out of scope for the table. Instead use a dynamic regions that you switch to from a managed bean (see the product documentation about dynamic regions) and then you switch to an empty region when there is no values to display. Another option would be to hide the table instead of the region using its display property. Let me know which approach you go with and if you need additional information
    3. alternative of <optgroup> tag in adf: Do we have any alternative option to display <optgroup> tag in adf ?
    an af:switcher would do the same
    Frank

  • Error 1 when loading external data

    Hi BW( Best and Wise) friends,
    I am not able to load data into my infocube. My source system is a PC file.
    Message <b>"Error 1 when loading external data is displayed."</b> when scheduled.
    When I checked the error details using Monitor button,
    During extraction, the data request was arranged(indicated by green mark),but there was error in <b>data request(red).</b>
    During extraction,data request was received (green),but there was some error in <b>data selection(red).</b>
    Anticipating good solution.

    HI all,
    1.The flatfile matches with the transfer structure
    2.The file is a “.csv” format file only.
    3.The path is correct
    I had chosen comma as my data separator.
    I had declared fields in the following way in the XL csv file
    Name of the candidate – text
    Name of the party- text
    Age-number
    Number of votes gained –number
    Calendar day –text.
    I had already tried the following.
    When I clicked the preview in the “external data” tab  of the infopackage, a window showing the preview parameters is opening. When I clicked the tickmark, message “error 1 when loading data is displayed.
    4. The details tab of the monitor showed the following:
    Overall status : Errors occurred: or: Missing messages-red
    4.1)Requests(messages):Errors occurred-red
           Data request arranged-green                       
           Error in datarequest-red
    4.2)Extraction(messages):Errors occurred-red
           Data request received-green
           Error occurred in data selection-red
    4.3)Transfer(IDocs and TRFC):Everything ok-green
           Info IDoc 1: Application document posted-green
           Info IDoc 2: Application document posted-green
    4.4)Processing(data packet): No data-yellow
    I had initiated the discussion in the forum with this  information only.
    Regards,
    Balaji
    Message was edited by: balaji vijayakumar

  • Vista/Adobe 9/sql image Error in Crystal Report:Failed to Export the Report

    When I try to export my Crystal Report (v2008) from a Vista machine (using Crystal RDC export methods) as a PDF, I get the following error:
    Error in Crystal Report:  Failed to export the report.
    This only happens when a particular subreport (that contains a sql image) prints (based on an input parameter).  We have other subreports (within this same report) that print a sql image just fine.  But, when this subreport prints, the above error appears.
    I can run the same report on an XP machine without error.
    Exportmodeller.dll and crtsv.dll are both installed and registered to the
    C:\Program Files\Common Files\Business Objects\3.0\bin folder
    I have tried opening the report, removing the image, and then adding it back in again to the subreport.
    Still receive the same error.
    Any suggestions?

    >
    Don Williams wrote:
    > RDC is no longer shipped in CR 2008. You are using the embedded designer used within the Visual Studio .NET IDE and is not licensed for distribution.
    >
    > Upgrade to the .NET components and post your question to the .NET forums.
    >
    > Also, those old dll's will not work in CR 2008. Last patches will give you the option to export to Excel in Legacy mode. We built it into our export dll.
    Don,
    Can you please clarify?
    Our VB6 app that uses Crystal XI RDC runtime components.  Our Crystal reports are edited in CR2008 SP1 developer edition (not through the VB.NET embedded report designer).  We have deployed the CRXIRelease 2 runtime components (via the merge module) to our client machines in order to execute the RDC.
    We can print/preview/export to excel, but the pdf creation is failing with this error.
    We are only using the RDC (which we know is no longer supported) because of huge issues with the Crystal for .NET methods we are having with our customers (I have an active case for this issue).  Therefore, we have to rollback our .NET product and revert to the RDC code. 
    Vista is failing to create a PDF for a report developed in the CR2008 SP1 developer edition when using the RDC.
    When you say  "Also, those old dll's will not work in CR 2008. Last patches will give you the option to export to Excel in Legacy mode. We built it into our export dll.", what do you mean by "will not work in CR2008"?
    Thank you

  • SQL reporting - An internal error occurred on the report server. See the error log for more details. (rsInternalError)

    I have created an RDL file programatically. When I execute the code I get the error as mentioned below:
    Error: Sub report cannot be shown.
    An internal error occurred on the report server. See the error log for more details. (rsInternalError)
    When I copy and paste the code of RDL file into new RDL file and try to preview the output I get correct result.
    Note: The new RDL file does not give any error if the output is seen using preview tab but it gives the error only when executed from report viewer or from internet explorer.
    Any Suggestion/feedback is highly appreciated.
    Thank You.
    The code of the sample RDL is shown below:
    <?xml version="1.0" encoding="utf-8"?>
    <Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
      <DataSources>
        <DataSource Name="DataSource1">
          <DataSourceReference>DataSource1</DataSourceReference>
          <rd:DataSourceID>fe4806ee-0358-4a87-b764-ac5de049545e</rd:DataSourceID>
        </DataSource>
      </DataSources>
      <BottomMargin>0.25in</BottomMargin>
      <RightMargin>0.25in</RightMargin>
      <PageWidth>11in</PageWidth>
      <ReportParameters>
        <ReportParameter Name="machine_id">
          <DataType>String</DataType>
          <Prompt>machine_id</Prompt>
        </ReportParameter>
        <ReportParameter Name="from_date">
          <DataType>String</DataType>
          <AllowBlank>true</AllowBlank>
          <Prompt>From Date</Prompt>
        </ReportParameter>
        <ReportParameter Name="to_date">
          <DataType>String</DataType>
          <AllowBlank>true</AllowBlank>
          <Prompt>To Date</Prompt>
        </ReportParameter>
      </ReportParameters>
      <rd:DrawGrid>true</rd:DrawGrid>
      <InteractiveWidth>8.5in</InteractiveWidth>
      <rd:SnapToGrid>true</rd:SnapToGrid>
      <Body>
        <ReportItems>
          <Table Name="table1">
            <DataSetName>Main_Report</DataSetName>
            <TableGroups>
              <TableGroup>
                <Header>
                  <TableRows>
                    <TableRow>
                      <TableCells>
                        <TableCell>
                          <ReportItems>
                            <Textbox Name="textbox2">
                              <rd:DefaultName>textbox2</rd:DefaultName>
                              <ZIndex>1</ZIndex>
                              <Style>
                                <TextAlign>Left</TextAlign>
                                <PaddingLeft>2pt</PaddingLeft>
                                <PaddingBottom>2pt</PaddingBottom>
                                <PaddingRight>2pt</PaddingRight>
                                <PaddingTop>2pt</PaddingTop>
                              </Style>
                              <CanGrow>true</CanGrow>
                              <Value>=Fields!syscode.Value</Value>
                            </Textbox>
                          </ReportItems>
                        </TableCell>
                      </TableCells>
                      <Height>0.25in</Height>
                    </TableRow>
                  </TableRows>
                  <RepeatOnNewPage>true</RepeatOnNewPage>
                </Header>
                <Grouping Name="table1_Group1">
                  <PageBreakAtEnd>true</PageBreakAtEnd>
                  <GroupExpressions>
                    <GroupExpression>=Fields!syscode.Value</GroupExpression>
                  </GroupExpressions>
                </Grouping>
              </TableGroup>
            </TableGroups>
            <Details>
              <TableRows>
                <TableRow>
                  <TableCells>
                    <TableCell>
                      <ReportItems>
                        <Subreport Name="subreport1">
                          <Parameters>
                            <Parameter Name="machine_id">
                              <Value>=Fields!machine_ip.Value</Value>
                            </Parameter>
                            <Parameter Name="syscode">
                              <Value>=Fields!syscode.Value</Value>
                            </Parameter>
                            <Parameter Name="from_date">
                              <Value>=Parameters!from_date.Value</Value>
                            </Parameter>
                            <Parameter Name="to_date">
                              <Value>=Parameters!to_date.Value</Value>
                            </Parameter>
                          </Parameters>
                          <ReportName>Holding_Summary_Multi_Period</ReportName>
                        </Subreport>
                      </ReportItems>
                    </TableCell>
                  </TableCells>
                  <Height>0.25in</Height>
                </TableRow>
              </TableRows>
            </Details>
            <TableColumns>
              <TableColumn>
                <Width>10.5in</Width>
              </TableColumn>
            </TableColumns>
            <Height>0.5in</Height>
          </Table>
        </ReportItems>
        <Height>0.75in</Height>
      </Body>
      <rd:ReportID>d0a1293a-e98c-4f75-9597-03426d2e7218</rd:ReportID>
      <LeftMargin>0.25in</LeftMargin>
      <DataSets>
        <DataSet Name="Main_Report">
          <Query>
            <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
            <CommandText>select account_syscode as syscode , 'display Name' as display_name , * from mars_customer_list
    where machine_ip = @machine_id</CommandText>
            <QueryParameters>
              <QueryParameter Name="@machine_id">
                <Value>=Parameters!machine_id.Value</Value>
              </QueryParameter>
            </QueryParameters>
            <DataSourceName>DataSource1</DataSourceName>
          </Query>
          <Fields>
            <Field Name="syscode">
              <rd:TypeName>System.Int64</rd:TypeName>
              <DataField>syscode</DataField>
            </Field>
            <Field Name="display_name">
              <rd:TypeName>System.String</rd:TypeName>
              <DataField>display_name</DataField>
            </Field>
            <Field Name="customer_syscode">
              <rd:TypeName>System.Int64</rd:TypeName>
              <DataField>customer_syscode</DataField>
            </Field>
            <Field Name="account_syscode">
              <rd:TypeName>System.Int64</rd:TypeName>
              <DataField>account_syscode</DataField>
            </Field>
            <Field Name="machine_ip">
              <rd:TypeName>System.String</rd:TypeName>
              <DataField>machine_ip</DataField>
            </Field>
          </Fields>
        </DataSet>
      </DataSets>
      <Code>Shared offset As Integer
    Public Function GetPN(reset As Boolean, pagenumber As Integer) As Integer
      If reset
        offset = pagenumber - 1
      End If
      Return pagenumber - offset
    End Function
    </Code>
      <Width>10.5in</Width>
      <InteractiveHeight>11in</InteractiveHeight>
      <Language>en-US</Language>
      <PageFooter>
        <ReportItems>
          <Image Name="image1">
            <Sizing>Fit</Sizing>
            <Left>8.875in</Left>
            <MIMEType />
            <Width>1.5in</Width>
            <Source>External</Source>
            <Style />
            <Value>bottom_right_logo.gif</Value>
          </Image>
        </ReportItems>
        <Height>0.5in</Height>
        <PrintOnLastPage>true</PrintOnLastPage>
        <PrintOnFirstPage>true</PrintOnFirstPage>
      </PageFooter>
      <TopMargin>0.5in</TopMargin>
      <PageHeight>8.5in</PageHeight>
    </Report>

    i created a SSRS report with shared datasets and uploaded rdl files and rsd files , while trying to map rdl file with data sets i am getting an error
    when i click on manage for .rdl file, its throwing error , as
    "An internal error occurred on the report server. See the error log for more details. (rsInternalError)
    Object reference not set to an instance of an object.
    please help me with this

Maybe you are looking for