Error:   /BIC/ZPROP_REM cannot be convertedin type DEC

Hi All,
I am loading data from a flatfile, I am able to see Data coming in preview, but when I schedule its shooting an error message,
Record                                                   1:ContentsProperties Remedi from field /BIC/ZPROP_REM cannot be convertedin type DEC ->longtext
Message no. RSAR198
Diagnosis
The value 'Properties Remedi' from field /BIC/ZPROP_REM cannot be converted into the DDIC data type DEC of the InfoObject in data record                                                   1. The field contentcould not be transferred into the communication structure format.
System response
The data to be loaded has a data error or field /BIC/ZPROP_REM of the transfer structure is mapped to an unsuitable InfoObject.
The conversion of the transfer structure into the communication structure was cancelled. The processing of data records with errors was continued with respect to the settings in the error handling of the InfoPackage (Tab Page: Update Parameters).
Not able to find the solution..
Please help in resolving this,
Thanks in Advance,
Sai

Hi Kapadia,
thanks for ur immedaite reply,
As I am loading flatfile, the transfer rule assignment will be generated automatically when we aiisgn datas source,
moreover its a keyfigure which is in DEC format..
please explain me where I am going wrong..
Thanks,
Sai

Similar Messages

  • Re:Contents L001 from field /BIC/NTrtc cannot be converted in type QUAN

    Hi ,
    When loading from Flat file I am getting the following error in the developement.
    Message no. RSAR198
    Diagnosis
    The value 'L001' from field /BIC/NTrtc cannot be converted into the DDIC data type QUAN of the InfoObject in data record 1. The field content could not be transferred into the communication structure format.
    System response
    The data to be loaded has a data error or field /BIC/NTrtc of the transfer structure is mapped to an unsuitable InfoObject.
    The conversion of the transfer structure into the communication structure was cancelled. The processing of data records with errors was continued with respect to the settings in the error handling of the InfoPackage (Tab Page: Update Parameters).
    Please suggest some the resolution.
    Thanks and Regards,
    Ravi.
    Assigning points is the way to say thanks in SDN.
    Edited by: Ravi Bw on Dec 21, 2007 1:45 PM
    Edited by: Ravi Bw on Dec 21, 2007 1:53 PM
    Edited by: Ravi Bw on Dec 21, 2007 2:41 PM

    can you please answer some one this is very imporant for me..
    Siri

  • Cannot be converted in type DEC,CURR - longtext

    Dear,
    When we are loading the data to the targets, we are getting the errors in the Transfer rules like mentioned bellow
    Info source 0EC_CS_1 (Transaction Data for Consolidation)
    Status (tab) :
    Technical : Collection in source system ended
    Processing Step : Processing End
    Details (tab):
    Processing end : Errors occurred
    Error records written to application log
    Error in an arithmetic operation in record 1
    Record 1 :Contents 00 0.0000000 from field PCNT1 cannot be converted in type DEC ->longtext
    Info source 0CO_OM_CCA_9 (Cost Centers: Actual Costs with Delta E)
    Record 39952:Contents 048624.95- 1 from field SWF cannot be converted in type CURR ->longtext
    Kindly help.
    Thanks & Regards,
    Kiran A
    Edited by: Kiran A on Mar 21, 2010 10:23 AM
    Edited by: Kiran A on Mar 21, 2010 11:36 AM

    Hi,
                   It is sure some where in transferrules the mapping wasdone wrongly , like char --char of info object but in ur case some where data element is not same for field and info object.
      check throughly transfer rules correctly field level and infoobject mapping  and activate.
    it is some where currency and unit fields the difference is there for data elements
    Thanks&Regards,
    Sathish
    Edited by: sathish kakumudi on Mar 21, 2010 4:01 PM

  • I get error message DB745 with EDIT ALV on a field type DEC?

    Hi,
    I have an ALV which has a field type DEC.
    The ALV is open for edit.
    Once I put negative number in, I get the error message DB745.
    This error is retrieved from SAP code and I do not see any reason why.
    I checked the field cat and it looks fine (ref to a field type DEC).
    I am using lcl_grid_event_receiver with method: handle_data_changed FOR
    EVENT data_changed OF cl_gui_alv_grid.
    In that method I get the error in er_data_changed->mt_protocol.
    There is no problem to show negative data if it is saved in the database
    as negative.
    Can anyone throw ideas how to fix that?
    Thanks,
    Itay

    If you simply check the domain WERT7, you'll see that the checkbox for "Sign" is <b>not</b> checked. Therefore negative numbers are <b>not</b> allowed.
    Just because a field is decimal or currency does <b>not</b> mean that negatives are allowed.
    Many times, the sign is handled by a separate debit/credit indicator field such as a field with a domain of SHKZG.
    Rob
    Message was edited by:
            Rob Burbank

  • Cannot convert ÿØÿà of type class java.lang.String to class BFileDomain.

    Hi All,
    I am using Jdeveloper 11.1.2.3.0.
    I have a scenario of making an ADF page where I have a IMAGE field to show on the page. So,I have a table called "PRODUCT" with fields called photo with BFILE type. Now when I the data i have inserted using the DML command and i can see the path at the backend.
    However,when i am runnig my ADF page in the Filed called "PHOTO" I can only see a junk character stating 'yoyo'.
    When I click on it, it says ERROR "Cannot convert ÿØÿà of type class java.lang.String to class oracle.jbo.domain.BFileDomain".
    Your help will be appreciated ASAP.
    Regards,
    Shahnawaz

    Hi,
    did you show the id-value in the user interface as a input-component, and did the input-component include a converter?
    If yes, show the id as output-text and remove any existing converter-components.
    Best Regards

  • "Error:The search cannot be executed because the table has pending changes that would be lost", after DELETE

    Good day,
    On Search Page, I have searched for the record(s) then deleted a record and got confirmation message i.e. Record has deleted. Next when I search for any record I'm getting below error.
    Error
    The search cannot be executed because the table has pending changes that would be lost.
    Could you please help me to fix this issue. Your response is highly appreciated.
    Item properties:
    Item Style : Image
    Action Type: Fire Action
    Event : delete
    Below is the code using in CO and AM
    Controller (processFormRequest):
    if ("delete".equals(pageContext.getParameter(EVENT_PARAM)))
              // The user has clicked a "Delete" icon so we want to display a "Warning"
              // dialog asking if she really wants to delete the employee. Note that we
              // configure the dialog so that pressing the "Yes" button submits to
              // this page so we can handle the action in this processFormRequest( ) method.
              String visit_id = pageContext.getParameter("visit_id");
              String employeeName = pageContext.getParameter("last_name") + ", " + pageContext.getParameter("first_name");
              MessageToken[] tokens = { new MessageToken("EMP_NAME", employeeName)};
              OAException mainMessage = new OAException("FND", "XXXX_EMP_DELETE_WARN", tokens);
              // Note that even though we're going to make our Yes/No buttons submit a
              // form, we still need some non-null value in the constructor's Yes/No
              // URL parameters for the buttons to render, so we just pass empty
              // Strings for this.
              OADialogPage dialogPage = new OADialogPage(OAException.WARNING,
                mainMessage, null, "", "");
              // Always use Message Dictionary for any Strings you want to display.
              String yes = pageContext.getMessage("AK", "FWK_TBX_T_YES", null);
              String no = pageContext.getMessage("AK", "FWK_TBX_T_NO", null);
              // We set this value so the code that handles this button press is
              // descriptive.
    dialogPage.setOkButtonItemName("DeleteYesButton");
              // The following configures the Yes/No buttons to be submit buttons,
              // and makes sure that we handle the form submit in the originating
              // page (the "Employee" summary) so we can handle the "Yes"
              // button selection in this controller.
    dialogPage.setOkButtonToPost(true);
    dialogPage.setNoButtonToPost(true);
    dialogPage.setPostToCallingPage(true);
              // Now set our Yes/No labels instead of the default OK/Cancel.
    dialogPage.setOkButtonLabel(yes);
    dialogPage.setNoButtonLabel(no);
              // We need to keep hold of the employeeNumber and employeeName.
              // The OADialogPage gives us a convenient means
              // of doing this. Note that the use of the Hashtable is 
              // most appropriate for passing multiple parameters. See the OADialogPage
              // javadoc for an alternative when dealing with a single parameter.
              java.util.Hashtable formParams = new java.util.Hashtable(1);
    formParams.put("visit_id", visit_id);
    formParams.put("empName", employeeName);
    dialogPage.setFormParameters(formParams);
              pageContext.redirectToDialogPage(dialogPage);
        else if (pageContext.getParameter("DeleteYesButton") != null)
              // User has confirmed that she wants to delete this employee.
              // Invoke a method on the AM to set the current row in the VO and
              // call remove() on this row.
              String employeeNumber = pageContext.getParameter("visit_id");
              String employeeName = pageContext.getParameter("empName");
              Serializable[] parameters = { employeeNumber };
             // OAApplicationModule am = pageContext.getApplicationModule(webBean);
    am.invokeMethod("deleteEmployee", parameters);
              // Now, redisplay the page with a confirmation message at the top. Note
              // that the deleteEmployee() method in the AM commits, and our code
              // won't get this far if any exceptions are thrown.
              MessageToken[] tokens = { new MessageToken("EMP_NAME", employeeName) };
              OAException message = new OAException("FND",
                "XXXX_EMP_DELETE_CONFIRM", tokens, OAException.CONFIRMATION, null);
    pageContext.putDialogMessage(message);
    Application Module:
      public void deleteEmployee(String visit_id)
            // First, we need to find the selected employee in our VO.
            // When we find it, we call remove( ) on the row which in turn
            // calls remove on the associated EmployeeEOImpl object.
            int empToDelete = Integer.parseInt(visit_id);
              OAViewObject vo = (OAViewObject)getNonEmployeesSummaryVO1();
        NonEmployeesSummaryVORowImpl row = null;
            // This tells us the number of rows that have been fetched in the
            // row set, and will not pull additional rows in like some of the
            // other "get count" methods.
           int fetchedRowCount = vo.getFetchedRowCount();
            // We use a separate iterator -- even though we could step through the
            // rows without it -- because we don't want to affect row currency.
            RowSetIterator deleteIter = vo.createRowSetIterator("deleteIter");
    if (fetchedRowCount > 0)
              deleteIter.setRangeStart(0);
              deleteIter.setRangeSize(fetchedRowCount);
              for (int i = 0; i < fetchedRowCount; i++)
                row = (NonEmployeesSummaryVORowImpl)deleteIter.getRowAtRangeIndex(i);
                // For performance reasons, we generate ViewRowImpls for all
                // View Objects. When we need to obtain an attribute value,
                // we use the named accessors instead of a generic String lookup.
                // Number primaryKey = (Number)row.getAttribute("EmployeeId");
                Number primaryKey = row.getVisitId();
                if (primaryKey.compareTo(empToDelete) == 0)
                  // This performs the actual delete.
                  row.remove();
                    getTransaction().commit();
                  break; // only one possible selected row in this case
            // Always close the iterator when you're done.
            deleteIter.closeRowSetIterator();
          } // end deleteEmployee
    Thanks,
    Ravi

    Hi
    Check this link Getting error in search page search cannot be executed
    Regards,
    Dilip

  • In 6.0 get error "END_OF_RECORD" must be a character-type data object .....

    Hi All,
    following piece of code was working fine in 4.6 C   but in ECC 6.0 I get the following error:
    "   "END_OF_RECORD" must be a character-type data object (data type C, N,D, T or STRING) .  " 
    I tried type-casting with field symbols but still not able to remove the error.  Cannot convert end_of_record directly to type C as it may hamper the functionality. Plz advice how to remove the error without converting type x to type C
    In the following code :
    DATA:  DELIMITER   TYPE C VALUE   CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB,
            end_of_record             TYPE x.
    SPLIT data_file_i AT delimiter INTO it_ekko-rtype
                                              it_ekko-ebeln
                                              it_ekko-bsart
                                              it_ekko-lifnr
                                              it_ekko-bedat
                                              it_ekko-ekorg
                                              it_ekko-ekgrp
                                              it_ekko-bukrs
                                              it_ekko-zterm
                                              it_ekko-zbd1t
                                              it_ekko-zbd1p
                                              it_ekko-zbd2t
                                              it_ekko-zbd2p
                                              it_ekko-zbd3t
                                              it_ekko-inco1
                                              it_ekko-inco2
                                              it_ekko-waers
                                              it_ekko-wkurs
                                              it_ekko-kufix
                                              it_ekko-verkf
                                              it_ekko-telf1
                                              it_ekko-ihrez
                                              it_ekko-unsez
                                              it_ekko-angnr
                                              it_ekko-ihran
                                              it_ekko-submi
                                              it_ekko-loekz
                                              end_of_record.
    where all these fields except  " end_of_record " are of character type and  "data_file_i " is a character type structure as defined below:
    DATA :
      BEGIN OF data_file_i OCCURS 0,
        record(1000),
      END OF data_file_i,

    Type X is not allowed in Unicode. When a field is declared as Type X with Value u201809u2019 or any other value, it can be resolved by using classes.
    Before Unicode
                      CONSTANTS: c_hex TYPE x VALUE '09'.
    Resolution:
    Itu2019s work for any value of x.
    First a temporary field of Type c should declare. Following class will convert Type x variable into type c.
    Example:
    CONSTANTS: c_hex TYPE x VALUE '09'.
    DATA: LV_TEMP TYPE STRING.
    DATA: LV_TMP TYPE C.
    TRY.
    CALL METHOD CL_ABAP_CONV_IN_CE=>UCCP
    EXPORTING
    UCCP   = c_hex
    RECEIVING
    CHAR   = LV_TMP   .
    CATCH CX_SY_CONVERSION_CODEPAGE.
    CATCH CX_PARAMETER_INVALID_TYPE.
    CATCH CX_SY_CODEPAGE_CONVERTER_INIT.
    ENDTRY.
    CONCATENATE I_OUTPUT-BKTXT I_OUTPUT-BVORG            
    I_OUTPUT-BUDAT I_OUTPUT-MESSAGE INTO
    SEPARATED BY LV_TMP.                      
    I_BUFFER = LV_TEMP.
    CLEAR LV_TEMP.
    CLEAR LV_TMP.
    OR
    Note: It works only for type x value  09.
    CLASS cl_abap_char_utilities DEFINITION LOAD.
    CONSTANTS: c_hex TYPE c VALUE
                             abap_char_utilities=>HORIZONTAL_TAB.

  • Cannot get exception-type to work

              WLS 60 SP1 (#101616)
              Cannot get <exception-type> to work. WLS shows standard &#8220;Internal error
              500&#8221; page instead of a custom error page. The custom error page is shown
              if <error-code> is used instead of <exception-type>.
              Any ideas? Thanks
              

    Hi @utopian,
    Welcome to the HP Forums!
    I understand that you cannot scan with your HP Officejet Pro 8500 on Windows 7 using a wireless network. I am happy to look into this issue for you!
    Please take a look through this scanning guide, A 'Connection Error' or 'No Computer Detected' Error Message Displays during Scanning for HP Officej....
    Hope this guide helps!  
    RnRMusicMan
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" to say “Thanks” for helping!

  • How to resolve "Internal error: ABAP Report  cannot be loaded" error

    Hi All,
    I am new to SAP.Please help me out from this problem.
    When I am trying to debug BSP page, in debugging mode it shows "Internal error: ABAP Report  cannot be loaded" error and then dumps.
    In transaction ST22 it shows this dump something like this
    Runtime Errors         MESSAGE_TYPE_X
    The current application program detected a situation which really
    should not occur. Therefore, a termination with a short dump was
    triggered on purpose by the key word MESSAGE (type X).
        1 FUNCTION AC_SYSTEM_FLUSH .
        2 *"----
        3 ""Lokale Schnittstelle:
        4 *"  IMPORTING
        5 *"     VALUE(CALLED_BY_SYSTEM) TYPE  C OPTIONAL
        6 *"  EXCEPTIONS
        7 *"      CNTL_SYSTEM_ERROR
        8 *"      CNTL_ERROR
        9 *"----
       10   data: sysubrc like sy-subrc.
       11
       12   CALL FUNCTION 'AC_FLUSH_CALL'
       13        EXPORTING
       14             SYSTEM_FLUSH = 'X'
       15             CALLED_BY_SYSTEM = CALLED_BY_SYSTEM
       16        IMPORTING
       17             MESSAGE_NR   = sysubrc
       18             MESSAGE_TEXT = SY-MSGLI.
       19
       20   sy-subrc = sysubrc.
       21
       22   CASE SY-SUBRC.
       23     WHEN 0.
       24     WHEN 1.
       25 *     system_error
       26       MESSAGE ID 'CNDP' TYPE 'X' NUMBER 007 RAISING CNTL_SYSTEM_ERROR.
       27     WHEN 2.
       28 *     method_call_error
    >>>>>       MESSAGE ID 'CNDP' TYPE 'X' NUMBER 006 RAISING CNTL_ERROR.
       30     WHEN 3.
       31 *     property_set_error
       32       MESSAGE ID 'CNDP' TYPE 'X' NUMBER 006 RAISING CNTL_ERROR.
       33     WHEN 4.
       34 *     property_get_error
       35       MESSAGE ID 'CNDP' TYPE 'X' NUMBER 006 RAISING CNTL_ERROR.
       36     WHEN OTHERS.
       37       RAISE CNTL_ERROR.
       38   ENDCASE.
       39
       40 ENDFUNCTION.
    Thanks in advance
    Sunil Choudhury

    Hi Sunil,
    The reason for this could be anything, anyways look up for an OSS note with the error message first.
    As a workaround, you can try to use the classic debugger instead of the new ABAP debugger and see if it works.
    You should be logged into SAP via SAP GUI when you are debugging BSP.
    Regards
    Chen

  • Error: system extension cannot be used

    I get the error "system extension cannot be used" and then it says below it:
    The system extension "/System/Library/Extensions/AppleIntelAC97Audio.kext" was installed improperly and cannot be used. Please try reinstalling it, or contact the product's vendor for an update.
    it says the same for:
    AppleIntelAC97Controller.kext
    BJUSBLoad.kext
    CHUDKernLib.kext
    CHUDProf.kext
    CHUDUtils.kext
    EPSONUSBPrintClass.kext
    hpPlugInInit.kext
    KLog.kext
    LexmarkUSBMerge.kext
    prlhidhook.kext
    prl_hypervisor.kext
    prl_netbridge.kext
    prl_tg.kext
    prlusbconnect.kext
    prl_video.kext
    prl_vnic.kext
    RBIOKitHelper.kext
    Soundflower.kext
    Wacom Tablet.kext
    I have done permissions repair at least 10 times in a row and it still comes up with things to repair but is there another soloution?
    Also, It says i have insufficient permissions to get onto my external HD now as well.
    Anything will help...

    I had the same problem. Then due to another unrelated problem I did a file system check in single user mode and this problem too went away. I am not sure if it will also work for you but no harm to try.
    Shutdown, restart by pressing power button. As soon as you hear the chime, press cmd-s. After a while lot of text will roll down the screen, leave the keys. At the prompt, type fsck -fy. Note the space. then hit return. If at the end of the run you get something was repaired, then run it again till you get 'OK'. After that type reboot and you will boot into regular OS X. Then do whatever you did to get this message and see if it goes away.

  • Cannot find PDL type for output device LOCL in J1INCRT

    Dear all
    I am getting error in PRD system. When I am running J1INCRT (Customizing for Certificate Printing)  the error
    cannot find PDL type for output device LOCL
    we are using ECC6 ,oracle 10g  and windows 2003
    Kernel release    701
    Please suggest how to solve 
    Regards,
    Kumar

    Hello
    It looks like that you had not installed the ADS(Adobe Document server) for the PDF type reports. Please check with your basis team if you want to configure ADS.
    If you need the output as a sapscript then please do the sollowing steps:
    (1) Execute transaction SM30
    (2) Enter 'Table/View' as V_T5F99OCFT
    (3) Select 'Maintain' option.
    (4) Select 'New Entries' option from the Application Too
    (5) Enter following entries:
         Logical Form Name    = HR_IN_EPF12A_99M
         Form Variant         = (Leave this field blank)
         End Date             = 31.12.9999
         Start Date           = 01.01.1990
         Form Type            = SAP Script (SSC)
         Def. Type            = (This field should be checke
         PDF Form Name        = HR_IN_EPF12A_99M
         SAP Script Form Name = HR_IN_EPF12A_99M
         Smart Form Name      = (Leave this field blank)
    (6) Save the entries
    The above example I have given you is only for the form 12A.
    You have to make entries for all the reports sapscript in this table.
    Please goto SE71 -> F4 -> Payroll -> Payroll India here you will find
    all the sapscripts you require.
    Regards
    Ramana

  • APP-PAY-51119: Error was encountered when processing Element Type US_TAX_VE

    Hi.,
    Getiing Error while running the quickpay request.
    Application :11.5.10.2
    Database :10.2.0.5
    OS : HP UX
    Error
    HR_51118_HRPROC_ERR_OCC_ON_ASG
    ASGNO 179279
    APP-PAY-51118: Error was encountered when processing assignment 179279
    HR_51119_HRPROC_ERR_OCC_ON_ET
    ETNAME US_TAX_VERTEX
    APP-PAY-51119: Error was encountered when processing Element Type US_TAX_VERTEX
    Invalid jurisdiction code found in primary work location

    Please see (Payroll Process Fails: FORMULA_ERROR_TEXT A compiled version of the formula 431 cannot be found Compiled Version of formula cannot be found [ID 358881.1]).
    Thanks,
    Hussein

  • Data Manger error: the system cannot find the file specified.

    Hi,
    I am using VPN to connect to MDM repository and get error:
    the system cannot find the file specified. Windows sockets error code 2. And forced exit data manager. However I can login the other repository on the MDM server.  Can you suggest any way to fix? Thanks!
    David

    It really does sound as if you are having a problem with ports. If you are able to connect to even one repository, then the problem is not with the Data Manager.
    Here is how you can check:
    1) Open the MDM Console, and note the port numbers of the loaded repositories.
    2) Now open a Command Prompt window and type the following command:
    telnet [mdm server] [repository port]
    (you can use either the machine name or IP address for mdm server).
    For example:
        telnet 10.20.30.40 5500
    You should get an empty command-type window with no error messages. This indicates success. You can close the window by clicking on the "X". Try this with the one repository which works in the DM, and then with the other repositories.
    Let us know the results,
    Walter

  • Cannot find PDL type for output device '(Printer name)'

    Hi,
    After seeing the statutory reports (PF, ESI etc) in standard format, we try to print form. We get the below error:
    Cannot find PDL type for output device '(Printer name)'
    Message no. FPRUNX113
    Diagnosis
    No PDL type has been found for the specified output device.
    System Response
    Error message
    Procedure
    Contact your system administrator.
    Procedure for System Administration
    For more information, see SAP Note 685571.
    Any input will be off great help...
    Regards
    Pooja

    Hello
    It looks like that you had not installed the ADS(Adobe Document server) for the PDF type reports. Please check with your basis team if you want to configure ADS.
    If you need the output as a sapscript then please do the sollowing steps:
    (1) Execute transaction SM30
    (2) Enter 'Table/View' as V_T5F99OCFT
    (3) Select 'Maintain' option.
    (4) Select 'New Entries' option from the Application Too
    (5) Enter following entries:
         Logical Form Name    = HR_IN_EPF12A_99M
         Form Variant         = (Leave this field blank)
         End Date             = 31.12.9999
         Start Date           = 01.01.1990
         Form Type            = SAP Script (SSC)
         Def. Type            = (This field should be checke
         PDF Form Name        = HR_IN_EPF12A_99M
         SAP Script Form Name = HR_IN_EPF12A_99M
         Smart Form Name      = (Leave this field blank)
    (6) Save the entries
    The above example I have given you is only for the form 12A.
    You have to make entries for all the reports sapscript in this table.
    Please goto SE71 -> F4 -> Payroll -> Payroll India here you will find
    all the sapscripts you require.
    Regards
    Ramana

  • Cannot implicitly convert type 'System.Data.SqlClient.SqlDataReader' to 'Microsoft.ReportingServices.DataProcessing.IDataReader'. An explicit conversion exists (are you missing a cast?)

    Cannot implicitly convert type 'System.Data.SqlClient.SqlDataReader' to 'Microsoft.ReportingServices.DataProcessing.IDataReader'. An explicit conversion exists (are you missing a cast?)
    I am getting the above error in c#. Please help me. Thanks in advance
    public IDataReader ExecuteReader(CommandBehavior behavior)
    string query = "select * from Sales.Store";
    SqlConnection readerconn = new SqlConnection("Data Source=localhost;Initial Catalog=AdventureWorks2000;Integrated Security=SSPI");
    SqlCommand readercmd = new SqlCommand(query);
    try
    readerconn.Open();
    readercmd = readerconn.CreateCommand();
    readercmd.CommandText = query;
    readercmd.CommandType = System.Data.CommandType.Text;
    SqlDataReader TestReader = readercmd.ExecuteReader();
    return TestReader; //Getting error at this line
    readerconn.Close();
    catch (Exception e)
    throw new Exception(e.Message);

    Hi,
    Please firstly take a look at the documentation:
    IDbCommand.ExecuteReader
    Method
    Users do not create an   instance of a
    DataReader   class directly. Instead, they obtain the
    DataReader   through the
    ExecuteReader   method of the Command   object. Therefore, you should mark
    DataReader   constructors as internal.
    You need to use this method to get the IDataReader object, all the IDbCommand and IDataReader are in the Microsoft.ReportingServices.DataProcessing namespace. There's another IDataReader object which is in System.Data namespace, but they're actually two different
    objects, that's why you got the exception.
    For how to properly implement this Microsoft.ReportingServices.DataProcessing.IDataReader, please check this documentation:
    Implementing a DataReader Class for a Data Processing Extension
    It also provides code samples there.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Emailing multiple individual photos from iPhoto is causing the same image to be on different emails. Need help!

    I am using iPhoto to edit my pictures from my Canon 60d. As I edit the photos, I send them by email within iPhoto (using the Large setting) to several members of my family. Last night I sent about 20 different pictures with different descriptive titl

  • Fios Availabili​ty Error?

    I've moved into a new construction development that is basically 1 street. We're told from the construction manager that the entire street has been wired for Verizon Fios. When I check the availablity on the website and someone on the phone, houses o

  • Using c++ variable in apple script

    Hi all, I am just calling the apple script from my indesign plugin. I need to pass the c++ variable to apple script for opening a file This in my apple Script which i have embedded in c++ code tell application "TextEdit" activate open "Users:User1:Li

  • How to generate an addon

    addons are generated manually how to genarate addons automatically. waiting for u r reply Comment: Please put clear subjects for your questions. You have several posts with the "sap b1" subject... Thanks. Edited by: Moderator on Mar 20, 2008 11:43 AM

  • Photoshop CS, CS3, CS4, Flash 8, all crash on Macbook Pro 10.5.6

    Over time, I forget exactly when, Photoshop and Flash applications crash when attempting to start them. Photoshop CS would yield errors that referenced 'CarbonLib' in the error message. Macromedia Flash 8 simply crashes on startup, no further info. S