Value cannot be converted to requested type

hi.
can anyone tell me why i get the following error:
[sunm][Oracle JDBC Driver]Value can not be converted to requested type
I get this error when i try to execute a SQL query like the one below:
SELECT * FROM orders WHERE orders.date BETWEEN '20-SEP-05' AND '22-SEP-05'
this is not the exact query i am trying to excute, but serves the purpose of this forum post.
ideally, i'd like to use the "?" parameter instead of the dates written above. the application's user selects a StartDate and EndDate for his search. this should display a list of orders within that date range.
i have tried using several date formats, as well as the TO_DATE() function. i always get this error when using the "?" parameter but it displays the correct records when i use an actual date.
i also only get this error when working with dates. i can use the "?" parameter with no problems for any other table column.
someone please help!!

How is the user selecting a start and end date? By using the calendar? You might need to convert the calendar's date into an SQL friendly date. For instance, try this:
somethingRowSet.setObject(1, (new java.sql.Timestamp(((java.util.Date)StartDate.getValue()).getTime()).toString()))You might also want to try turning on printStatements in the row set's properties. This will cause the row set to print out the parameters to the log file so you can then analyze what exactly the row set is doing.
Hope this helps.
-Jeff

Similar Messages

  • CF9 Problems with Select * query, resulting in Value can not be converted to requested type.

    So, I work on a legacy CF web site and there are numerous SELECT * FROM USERS_TABLE queries all over the site.
    Well, we changed the structure of said table in the database on our Testing and Staging sites, with no issues.
    When we pushed up to our production environment and changed the structure of the production DB table, the server kept kicking back "Value can not be converted to requested type."
    After doing some searching out there, it looks like CF caches the structure of the table, and you either have to restart CF to clear it, or rename and then name-back the DSN to fix the issue.
    http://www.bennadel.com/blog/194-ColdFusion-Query-Error-Value-Can-Not-Be-Converted-To-Requ ested-Type.htm
    That said, this doesn't happen in our testing and staging environments - so what would be the difference?
    Is there some setting I need to change in the CF Admin to keep this from happening again?

    Also, if you can use a Stored Procedure to retrieve the data, do so.  Standard queries gets all the information, anyway, chokes bandwidth passing it all to the CF server, and forces the CF server to filter, sort, and format the data.  SPs tell the db server to get ONLY the data requested, and forces the db server to filter and sort the data, leaving only formatting to the CF server.
    That's not true. The only time CF messes with data returned from the DB is if there's a maxrows attribute, and the record set returnded from the DB has more than that number of records... which causes CF to truncate the recordset to the correct size before returning it. The DB might or might not stop sending rows down to CF after CF says "yeah, I've got all I want now".
    Other than that, for all intents and purposes all CF does with the SQL is pass it to the DB and wait for an answer. The only thing it does to the returned data is to create a CF record set ("query") with it... this does not involve any filtering and sorting.
    Adam

  • Exception --- Value can not be converted to requested type.Error Code: 0

    Inside my query, I try to use function,like
    Expression formattedRegDateCol = regDateCol.getFunction("to_char", "YYYY/MM/DD");
    sometimes query works fine and sometimes got following exception, can anyone here help me out..
    Internal Exception: java.sql.SQLException: [BEA][Oracle JDBC Driver]Value can not be converted to requested type.Error Code: 0
    Call:SELECT COUNT(*), to_char(REG_DATE, 'YYYY/MM/DD') FROM SYSTEM_DETAIL WHERE ((REG_DATE BETWEEN {ts '2008-08-10 00:00:00.0'} AND {ts '2008-09-30 23:59:59.0'}) AND (GEOGRAPHIC_ID = 104)) GROUP BY to_char(REG_DATE, 'YYYY/MM/DD') ORDER BY to_char(REG_DATE, 'YYYY/MM/DD') ASC
    Query:ReportQuery(com.cad.registration.RegistrationDetailImpl)
         at com.cad.report.data.DocumentReturnedDataGenImpl.loadData(DocumentReturnedDataGenImpl.java:130)
         at com.cad.report.data.AbstractDataGen.getReport(AbstractDataGen.java:96)
         at com.cad.report.command.ProcessReportRequestOnMessage.run(ProcessReportRequestOnMessage.java:74)
         at com.cad.registration.command.AbstractCommand.execute(AbstractCommand.java:106)
         at com.cad.flow.core.Run.run(Unknown Source)
         at com.cad.flow.core.WorkflowComponent.run(Unknown Source)
         at com.cad.flow.ejbs.WorkflowManagerBean.execute(WorkflowManagerBean.java:238)
         at com.cad.flow.ejbs.WorkflowManagerBean.execute(WorkflowManagerBean.java:135)
         at com.cad.flow.ejbs.WorkflowManager_uh667k_EOImpl.execute(WorkflowManager_uh667k_EOImpl.java:132)
         at com.cad.flow.ejbs.WorkflowManager_uh667k_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:335)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252)
         at com.cad.flow.ejbs.WorkflowManager_uh667k_EOImpl_1001_WLStub.execute(Unknown Source)
         at com.cad.util.WorkflowProxy.runWorkflow(WorkflowProxy.java:128)
         at com.cad.kbd.messenger.listener.mdb.ReportRequestMDB.onMessage(ReportRequestMDB.java:84)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:466)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:371)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:327)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4072)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:3964)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4490)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:464)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Caused by: Exception [TOPLINK-4002] (Oracle TopLink - 10g Release 3 (10.1.3.3.0) (Build 070620)): oracle.toplink.exceptions.DatabaseException
    Internal Exception: java.sql.SQLException: [BEA][Oracle JDBC Driver]Value can not be converted to requested type.Error Code: 0
    Call:SELECT COUNT(*), to_char(REG_DATE, 'YYYY/MM/DD') FROM SYSTEM_DETAIL WHERE ((REG_DATE BETWEEN {ts '2008-08-10 00:00:00.0'} AND {ts '2008-09-30 23:59:59.0'}) AND (GEOGRAPHIC_ID = 104)) GROUP BY to_char(REG_DATE, 'YYYY/MM/DD') ORDER BY to_char(REG_DATE, 'YYYY/MM/DD') ASC
    Query:ReportQuery(com.cad.registration.RegistrationDetailImpl)
         at oracle.toplink.exceptions.DatabaseException.sqlException(DatabaseException.java:282)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.getObject(DatabaseAccessor.java:988)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.fetchRow(DatabaseAccessor.java:780)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:562)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:441)
         at oracle.toplink.threetier.ServerSession.executeCall(ServerSession.java:457)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:117)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:103)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:174)
         at oracle.toplink.internal.queryframework.DatasourceCallQueryMechanism.selectAllRows(DatasourceCallQueryMechanism.java:481)
         at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectAllRowsFromTable(ExpressionQueryMechanism.java:825)
         at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.selectAllReportQueryRows(ExpressionQueryMechanism.java:791)
         at oracle.toplink.queryframework.ReportQuery.executeDatabaseQuery(ReportQuery.java:518)
         at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:620)
         at oracle.toplink.queryframework.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:779)
         at oracle.toplink.queryframework.ReadAllQuery.execute(ReadAllQuery.java:451)
         at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:2089)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:993)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:965)
         at oracle.toplink.publicinterface.Session.executeQuery(Session.java:878)
         at com.cad.persistence.toplink.TopLinkPersistenceBrokerImpl.executeQuery(TopLinkPersistenceBrokerImpl.java:420)
         at com.cad.report.data.DocumentSys.getSummitedDocumentNumber(DocumentSys.java:332)
         at com.cad.report.data.DocumentSys.loadData(DocumentSys.java:110)
         ... 24 more
    Caused by: java.sql.SQLException: [BEA][Oracle JDBC Driver]Value can not be converted to requested type.
         at weblogic.jdbc.base.BaseExceptions.createException(Unknown Source)
         at weblogic.jdbc.base.BaseExceptions.getException(Unknown Source)
         at weblogic.jdbc.base.BaseData.getTimestamp(Unknown Source)
         at weblogic.jdbc.base.BaseResultSet.getTimestamp(Unknown Source)
         at weblogic.jdbc.wrapper.ResultSet_weblogic_jdbc_base_BaseResultSet.getTimestamp(Unknown Source)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.getObjectThroughOptimizedDataConversion(DatabaseAccessor.java:1038)
         at oracle.toplink.internal.databaseaccess.DatabaseAccessor.getObject(DatabaseAccessor.java:942)
         ... 45 more

    Here is my code
    ExpressionBuilder builder = new ExpressionBuilder();
    ReportQuery query = new ReportQuery(RegistrationDetailImpl.class, builder);
    query.addArgument("startTime");
    query.addArgument("endTime");
    query.addArgument("lro");
    Expression lroCol = builder.get("lro");
    Expression regDateCol = builder.get(
    QueryConstants.RegistrationDetailQueryConstants.REGISTRATION_NUMBER_COL).get(
    QueryConstants.RegistrationDetailQueryConstants.REGISTRATION_DATE_COL);
    Expression formattedRegDateCol = regDateCol.getFunction("to_char", "YYYY/MM/DD");
    Expression timeExp = regDateCol.between(builder.getParameter("startTime"), builder
    .getParameter("endTime"));
    Expression lroExp = lroCol.equal(builder.getParameter("lro"));
    query.setSelectionCriteria(timeExp.and(lroExp));
    query.addCount();
    query.addAttribute("regDate", formattedRegDateCol);
    query.addGrouping(formattedRegDateCol);
    query.addOrdering(formattedRegDateCol.ascending());
    descriptor.getDescriptorQueryManager().addQuery("testquery", query);

  • BAdI error : type of EXIT_REF1 cannot be converted to the type of EXIT_REF

    Hi all,
    The below was the posted earlier for BAdI. Ihave followed all the steps. And i have written the below code. Syntactically it is not showing any errors, but when i am activating i am getting error
    like " The type of EXIT_REF1 cannot be converted to the type of EXIT_REF". where i am doing the mistake..??
    1) execute Tcode SE18.
    2) Specify a definition Name : ZBADI_SPFLI
    3) Press create
    4) Choose the attribute tab. Specify short desc for badi.. and specify the type :
    multiple use.
    5) Choose the interface tab
    6) Specify interface name: ZIF_EX_BADI_SPFLI and save.
    7) Dbl clk on interface name to start class builder . specify a method name (name,
    level, desc).
    Method level desc
    Linese;ection instance methos some desc
    8) place the cursor on the method name desc its parameters to define the interface.
    Parameter type refe field desc
    I_carrid import spfli-carrid some
    I_connid import spefi-connid some
    9) save , check and activate…adapter class proposed by system is
    ZCL_IM_IM_LINESEL is genereated.
    IMPLEMENTATION OF BADI DEFINITION
    1) EXECUTE tcode se18.choose menuitem create from the implementation menubar.
    2) Specify aname for implementation ZIM_LINESEL
    3) Specify short desc.
    4) Choose interface tab. System proposes a name fo the implementation class.
    ZCL_IM_IMLINESEL which is already generarted.
    5) Specify short desc for method
    6) Dbl clk on method to insert code..(check the code in “AAA”).
    7) Save , check and activate the code.
    REPORT ZBADI_TEST .
    tables: spfli.
    data: wa_spfli type spfli,
    it_spfli type table of spfli with key carrid connid.
    *Initialise the object of the interface.
    data: exit_ref type ref to ZCL_IM_IM_LINESEL,
    exit_ref1 type ref to ZIF_EX_BADISPFLI1.
    selection-screen begin of block b1.
    select-options: s_carr for spfli-carrid.
    selection-screen end of block b1.
    start-of-selection.
    select * from spfli into corresponding fields of table it_spfli
    where carrid in s_carr.
    end-of-selection.
    loop at it_spfli into wa_spfli.
    write:/ wa_spfli-carrid,
    wa_spfli-connid,
    wa_spfli-cityfrom,
    wa_spfli-deptime,
    wa_spfli-arrtime.
    hide: wa_spfli-carrid, wa_spfli-connid.
    endloop.
    at line-selection.
    check not wa_spfli-carrid is initial.
    create object exit_ref.
    exit_ref1 = exit_ref.   "" The type of EXIT_REF1 cannot be converted to the type of EXIT_REF"
    call method exit_ref1->lineselection
    EXPORTING
    i_carrid = wa_spfli-carrid
    i_connid = wa_spfli-connid.
    clear wa_spfli.
    Thanks in advance
    krupali.

    Hi,
    Both are of different types
    data: exit_ref type ref to ZCL_IM_IM_LINESEL,
    exit_ref1 type ref to ZIF_EX_BADISPFLI1.
    Assiging one type another type is not allowed.
    Rhea.

  • Complex values cannot be converted to ....

    Hi;
    I have an odd problem I can't seem to figure out....I wrote a couple of neat little functions to create boolean selects, populate them with the values from a database and "select" the correct one inthe html form.
    <cffunction name="booleanSelect" access="public" output="yes" returntype="string"
                description="Creates a booleaen select dropdown" >
            <cfargument name="formvar" required="yes" type="string" />
            <cfargument name="ffalse" required="yes" type="string" />
            <cfargument name="ttrue" required="yes" type="string" />
            <cfscript>
                myvar=evaluate("form.#arguments.formvar#");
                if(myvar eq 0){sel = 'selected="selected"';}else{sel = '';}
                writeoutput('<option value="0" '&sel&' >'&arguments.ffalse&'</value>');           
                if(myvar eq 1){sel = 'selected="selected"';}else{sel = '';}
                writeoutput('<option value="1" '&sel&' >'&arguments.ttrue&'</value>');
            </cfscript>
        </cffunction>
    can be called via:
    <select name="status" id="status">
          <cfscript>booleanSelect('status','Disabled','Enabled');</cfscript>
    </select>
    and that all works [that's the fixed version]
    What I don't understand is why this does not work, the following DOES work in an insert form but not an edit form. and in both cases the form field used to populate the formvar argument is populated and has a value...
    <cffunction name="booleanSelect" access="public" output="yes" returntype="string"
                   description="Creates a booleaen select dropdown" >
            <cfargument name="formvar" required="yes" type="string" />
            <cfargument name="ffalse" required="yes" type="string" />
            <cfargument name="ttrue" required="yes" type="string" />
            <cfscript>
                if(form[arguments.formvar] eq 0){sel = 'selected="selected"';}else{sel = '';}
                writeoutput('<option value="0" '&sel&' >'&ffalse&'</value>');
                if(form[arguments.formvar] eq 1){sel = 'selected="selected"';}else{sel = '';}
                writeoutput('<option value="1" '&sel&' >'&ttrue&'</value>');
            </cfscript>
        </cffunction>
    basically, why do I have to evaluate the formvar argument in one case and not in the other? I think I might be missing something important here....
    -sean

    basically I have a table in a database with a bunch of boolean '1','0'columns.
    I have a function that reads the database table and sets form variables based on the database column and it's default value for an insert action...
    for an update action I have another function that reads the tables data and populates the form variables based on the value in the data column
    - works very well, all I have to do is make sure my form fileds are named the same as in the database
    so for the drop down boolean options I created a function to create the dropdown and select wother the default value or the column value baesd on whether it is an insert or update action... so:
    <select name="status" id="status">
           <cfscript>booleanSelect('status','Disabled','Enabled');</cfscript>
    </select>
    where 'status' is the column name AND the form variable 'form.status' , 'Enabled' & 'Disabled' are just the labels to apply to '1' or '0' on output
    at the top of the insert pages I create the default form variables:
        fieldsDefaults('_column_name_','_fields_to_ignore_');
    which calls:
        <cffunction name="fieldsDefaults" access="public" output="yes" returntype="void"
                        description="creates default form fields froma database query" >
            <cfargument name="table" required="yes" type="string" />
            <cfargument name="ignorelist" required="no" type="string" default="" />
            <cfargument name="column" required="no" type="string" default="false" />
            <cfif arguments.column is not "false">
                <cfquery name="showcolumns" datasource="#application.dsn#">
                    select #arguments.column# from #arguments.table#;
                </cfquery>
                <cfloop query="showcolumns">
                    <cfparam name="form.#createVar(evaluate(arguments.column))#" default="" />
                </cfloop>       
            <cfelse>
                <cfquery name="showcolumns" datasource="#application.dsn#">
                    show columns from #arguments.table#;
                </cfquery>
                <cfloop query="showcolumns">
                    <cfif ListFindNoCase(field,ignorelist) eq 0>
                        <cfparam name="form.#field#" default="#default#" />
                    </cfif>
                </cfloop>
            </cfif>
        </cffunction>
    to create the <cfparam> form defaults...
    now on to the edit.... calls this:
        <cffunction name="dataDefaults" access="public" output="yes" returntype="void"
                        description="creates default form fields froma database query" >
            <cfargument name="table" required="yes" type="string" />
            <cfargument name="id" required="yes" type="numeric" />
            <cfargument name="ignorelist" required="no" type="string" default="" />
            <cfargument name="column" required="no" type="string" default="false" />
                <cfquery name="getnames" datasource="#application.dsn#">
                    show columns from #arguments.table#
                </cfquery>
                <cfquery name="getdata" datasource="#application.dsn#">
                    select * from #arguments.table# where id = '#arguments.id#';
                </cfquery>
                <cfloop query="getnames">
                    <cfif ListFindNoCase(field,ignorelist) eq 0>
                        <cfset form[#field#] = "#getdata[getnames.field]#" />
                    </cfif>
                </cfloop>
        </cffunction>
    which does close to the same thing, but instead populates the form variables with actual database data......
    -sean

  • RFC Function Error: Cannot convert a value of 'MM/DD/YYYY' from type java.l

    hi experts,
    iam calling an RFC using SAP_JCO_Function. one of the input parameters is date which shud be in the format 'MM/DD/YYYY' but when i create a transaction property of data type DATETIME the format changes to " 2007-06-21 14:31:50 ". to refrain form passing this value at run time i have defined the transaction property as string and defaulted the value to MM/DD/YYYY.
    When i execute the RFC i get the error "Cannot convert a value of 'MM/DD/YYYY' from type java.l".
    Issue is with time field as well. Any suggestions would be appreciated.
    Thanks,
    Avinash

    Hi
    You can use datefromxmlformat( datetime, toformat ) .
    in toformat you give: "MM/dd/yyyy" and in datetime you pass your xml format date like: 2007-06-21 T14:31:50.
    Try like this. Hope this may help you.
    Thanks

  • Field UMSA1 cannot be converted in type CURR - long Text

    Hi All,
    I am getting the following error
    Error records written to application log
    Error in an arithmetic operation in record 489
    Record 489:Contents 四川省长江滥曝扇备总 from field UMSA1 cannot
    Record 489 :Contents 四川省长江滥曝扇备总 from field UMSA1 cannot be converted in type CURR ->lo
    This happened for the customized master data Z********(customer number). Data source; 0CUSTOMER_ATTR
    I have undertaken the following actions but all failed.
    1. Replicated the data source, activated the transfer structure through a program and the load was run but the load failed with the same issue.
    2. Pushed the data till PSA and tried to edit it in the PSA, but here too the load failed with the same issue.
    It is understood that the data source 0CUSTOMER_ATTR is obtained from the Funtion Module: MDEX_CUSTOMER_MD
    Out of 5 data packages, I could find only 3 data packages in PSA which are successful, the remaining had error and could not be found in PSA. Checked in R/3 but could not catch the correct record, since, did not had proper info. UMSA1 refers to Annual Sales, which are empty in R/3 and BW as well.
    The UMSA1 field in data source 0CUSTOMER_ATTR in BW.
    Data Type: CURR, Length: 15, Decimal: 2, curr/unit: UWAER
    The UMSA1 field in R/3
    Data Type: CURR, Length: 15, Decimal: 2
    Request your timely suggestions.
    Raj

    Dear Veerandra,
    I have already checked in R/3 as you had mentioned. But as I said earlier, could not catch the correct record, since, did not had proper info. UMSA1 refers to Annual Sales, which are empty in R/3 and BW as well.
    I have undertaken the following actions but all failed.
    1. Replicated the data source, activated the transfer structure through a program and the load was run but the load failed with the same issue.
    2. Pushed the data till PSA and tried to edit it in the PSA, but here too the load failed with the same issue.
    It is understood that the data source 0CUSTOMER_ATTR is obtained from the Funtion Module: MDEX_CUSTOMER_MD
    3. Error Handling option.
    Regards.
    Raj

  • 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 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.

  • Could not complete your request because an adjustment or fill layer cannot be converted to the desti

    Getteing the following message when dragging layers between files - Could not complete your request because an adjustment or fill layer cannot be converted to the destination document mode. Original file was client created and supplied. I have issolated the issue- two hue/saturation adjustment layers. I can and will just recreate them in the new file, but am looking for a root casue or long termsolution as it is a new client I believe will be sending me a good amount of production work.

    Actually, 16-bit mode (some filters work in 8-bit only, though) is recommended to reduce the introduction of posterization which can easily arise with the relatively low precision of 8-bit mode. It doesn't benefit all work, but, especially if you use adjustments or low-opacity brushes, it's something to consider.

  • SM21 - Request (type DIA) cannot be processed

    Hi,
    In SM21, I get this error and cannot determine the root cause through SM21 as no help or drill capability exists.
    SM51 shows that dialog processes are available as no CPU time is posted against some of them.  Where do I look in the system to get a bit more of an insight on this thing?
    Thank you in advance for your help,
    Mike
    Here is a copy of the whole SM21 log entry:
                                                                                    Time     Type Nr Clt User TCode Grp N Text                                                                               
    07:02:36 DP                     Q0  G Request (type DIA) cannot be processed                                                                               
    Request (type DIA) cannot be processed                                                                               
    Details                                                                               
    Recording at local and central time........................ 06/10/2009 07:02:36                                                                               
    Task...... Process    User...... Terminal Session TCode Program Cl Problem cl         Package                                                                               
    27263      Dispatcher                                           K  SAP Web AS Problem STSK                                                                               
    Further details for this message type                                                                               
    Module nam Line Error text Caller.... Reason/cal                                                                               
    dpxxdisp   5551  DIA       DpRqBad    bad_req                                                                               
    Documentation for system log message Q0 G :                                                                               
    The dispatcher is unable to process a request.  The preceding system                            
    log or trace entries should contain more detailed information about                             
    the reason.                                                                               
    The work process type of the request is given:                                                  
    DIA: Dialog work process                                                                        
    UPD, UP2 Update work process                                                                    
    SPO: Spool work process                                                                         
    ENQ: Enqueue work process                                                                       
    BTC: Background work process                                                                    
    Technical details                                                                               
    File Offset RecFm System log type             Grp N variable message data                                                                               
    590 756000 m     Error (Function,Module,Row) Q0  G  DIA                                  DpRqBadbad_reqdpxxdisp5551

    Hi,
    Please increase the trace level of the WP, so that more information can be gathered.
    Regards,
    Pavan

  • 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

  • You cannot use approp. request type 1 without a project profile

    Dear All,
    What should i do. I tried to create appropriation request. Error message appears
    You cannot use approp. request type 1 without a project profile
    Message no. AO257
    Please help.
    Cheers,
    Nies

    You create Apr request which can either get replaced with Internal Order or Project/WBS after approving the request.
    For this to happen, you need to have assigned either order type/project profile in the Apr request type.
    Config Node where you maintain this is below:
    Investment Management>Appropriation Requests>Master Data>Control Data>Maintain Appropriation Request Types
    Maintain the profile and set the indicator WBS element as Allowed measure.
    Better refer the Best Practice Configuration Guide available for Investment Management on SAP help portal.
    Regards
    Sreenivas

  • Values Under CUP Request type Available Actions

    Hi Experts,
    Please let me know the concept of option avaiable actions under option Request Type.How CUP perform the mentioned action exactly under request type?From where i can configure these actions?are these default?
    Thank you,
    Mukesh

    Hello Mukesh,
      Actions are basically activities that you can perform using a request during provisioning. You have the following actions available in requests to use:
    1.Create User u2013 create the user record during provisioning
    2 Change User u2013 change the user record during provisioning
    3 Delete User u2013 delete the user from the target system during provisioning
    4 Lock User u2013 lock the user in the target system during provisioning
    5 Unlock User u2013 unlock the user in the target system during provisioning
    6 Assign Roles u2013 assign roles to the user during provisioning
    7 Superuser Access u2013 give superuser access to the user during provisioning
    8 User Defaults u2013 action to apply user defaults to the user during provisioning
    You can configure them by going into CUP configuration -> Request configuration -> configuring request types. Here when you select a request for eg. "Change" you click on edit. When the request opens up on next screen, there are 2 panels available on the bottom of the screen. One lists the available actions and other one lists the assigned ones. Click on the Go button available on the available actions panel and you should be able to see the above mentioned actions. You select any one of them and move that one to assigned actions panel. Once you save, then in that request type you would be able to perform that particular selected action during provisioning.
    Please refer to the configuration guide available on SAP Service Market Place for more information about this. You can find this documentation from the below location on SMP:
    Logon to service.sap.com -> Software Download -> Release & Upgrade info
    -> Installation & Upgrade Guides -> SAP BusinessObjects ->SAP BusinessObjects Governance, Risk, Compliance (GRC) -> Access Control -> SAP GRC Access Control 5.3.
    Regards,
    Varun

  • HT1689 Downloaded an album from itunes and only half of the songs will download to my ipad.  error says file cannot be converted.  How do I get this fixed or request a refund since I can't use the item purchased?.

    Downloaded and album from itunes and only half of the songs will download to my ipod.   Error message says file cannot be converted.  How do I fix this or get a refund from itunes?

    Welcome to the Apple Community.
    Try deleting the problematic file (electing to remove original file if/when prompted) and then re-downloading the file from the iTunes store.
    You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option from the Quick Links section in the top right corner of the iTunes homepage in your iTunes application on your computer.
    You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option at the bottom of the screen of the iTunes app (or video app) on your iOS device.
    If the problem re-occurs, select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History using your computer.

Maybe you are looking for

  • I need information pertaining too BNC-2080 board, about AI/AO

    I am trying to get signal from the BNC-2080 board from ACH 8-16 and cannot. I also cannot find any help or infomation in the NI web page pertaining to the BNC-2080 board. If you could please let me know where I could find to a online user manual or h

  • Cutover Plan SAP GRC AC

    Hi all, I´m interested in getting some templates for planning and describe a detailed Cutover Plan for SAP GRC Access Control, which includes all activities for performing in each one of the modules for SAP GRC (RAR, ERM, CUP and SPM). Anybody has so

  • How do I deauthorize an account on a computer that crashed?

    My laptop crashed and I had to reinstall the original software. When I attempted to reinstall iTunes, I was unable to, because I had reached the maximum devices on my account.  I tried deleting the device from the list on my account and did so succes

  • Discover 4i to 10.1.2

    Hi, We are upgrading from Oracle Discover 4i to 10.1.2; Was there any specific document available which says: - What are main steps we need to follow where migrating from 4i to 10i - What should we do - What should not be - New features available in

  • AVReceiver2 only received two ReceiveStreamEvents

    Hi, I am new to JMF. I tailed the AVReceiver2 but it can only receive two ReceiveStreamEvents, one is NewReceiveStreamEvent and the other, StreamMappedEvent as I ran and traced the code. Below is the code. JMF gurus, thanks in advance for your help.