Getting Invalid Binding error

[Logging-DEBUG]-8/31/2006 11:16:21 AM
[GetDataReader]
Select Distinct(prj.Name) as PrjName, prj.oid as PrjOid From
SP3DTRAIN_SITE.PRJMGTProjectRoot prj,
SP3DTRAIN_SITE.CORERELATIONDEST ic, SP3DTRAIN_SITE.PRJMGTDatabase pd
Where prj.oid=ic.oidTarget And ic.oid=pd.oid And pd.oid= :plant_oid
[Exception]
Invalid parameter binding
Parameter name: plant_oid
In code I'm doing this.........!!!
This is the line that calls the Request object to add the parameter:
oRequest.AddParameter(param, DAO.DBDataType.DBGuid, plantOID,
ParameterDirection.Input);
Which adds it to an ArrayList in Request class
public void AddParameter( string paramName, DBDataType paramType,
object paramValue, ParameterDirection paramDirection)
Parameter buildParameter=null; //a generic parameter.
buildParameter = new Parameter(paramName, paramType,
paramValue, paramDirection);
m_colParameters.Add(buildParameter);
then in the main code I'm calling GetDataReader(sql, oConnection,
oRequest);
where the oConnection has the correct data-factory (in this case
Oracle) set.
So in OracleConcreteFactory I do this:
public override DAODataReader ExecuteDataReader(DAORequest request)
OracleCommand cmdSQL = new OracleCommand();
OracleConnection conSQL = new OracleConnection();
OracleDataReader drSQL = null;
DAODataReader rdr = new DAOConcDataReader(); //
try
if (request.ConnSetting == null) throw new
ArgumentException("Connecting string needs to be set");
conSQL.ConnectionString = request.ConnSetting;
conSQL.Open();
cmdSQL.Connection = conSQL;
cmdSQL.CommandText = request.Command;
cmdSQL.CommandType = request.CommandType;
AddParameters(cmdSQL, request.Parameters);
rdr.ReturnedDataReader =
cmdSQL.ExecuteReader(CommandBehavior.CloseConnection);
return rdr; //this is where it fails
catch { throw; }
finally { }
private void AddParameters(IDbCommand cmd, ArrayList paramList)
OracleParameter sqlParm = null;
foreach (DAORequest.Parameter prm in paramList)
sqlParm = new OracleParameter();
sqlParm.ParameterName = prm.ParamName;
sqlParm.OracleDbType = GetDBType(prm.ParamType);
sqlParm.Direction = prm.ParamDirection;
sqlParm.Value = prm.ParamValue;
cmd.Parameters.Add(sqlParm);
private OracleDbType GetDBType(DBDataType paramType)
if (paramType == DBDataType.DBString)
return OracleDbType.Varchar2;
else if (paramType == DBDataType.DBChar)
return OracleDbType.Char;
else if (paramType == DBDataType.DBInteger)
return OracleDbType.Int32;
else if (paramType == DBDataType.DBBit)
return OracleDbType.Single;
else if (paramType == DBDataType.DBDateTime)
return OracleDbType.Date;
else if (paramType == DBDataType.DBDecimal)
return OracleDbType.Decimal;
else if (paramType == DBDataType.DBMoney)
return OracleDbType.Double;
else if (paramType == DBDataType.DBImage)
return OracleDbType.Byte;
else if (paramType == DBDataType.DBGuid)
return OracleDbType.Raw;
else
throw new ArgumentException("OracelDBType value not found for " +
paramType.ToString());
Any help is really appreciated.
thanks
Sunit

Hi Hi ,
Please try to give replies if anybody ask you question on your issue, we don't know what is there in your system am i right.
U R Saying it is Urgent...... but i asked you a question no reply from you,
Ok, Do these steps for SMTP config
From SAP WAS 6.10, SAP directly supports SMTP (Simple Mail Transfer Protocol). This means that the emails can be exchanged directly between SAP system and any SMTP compliant mail server. From SAP WAS 6.20, faxes, pager & SMS can also be exchanged via SMTP.
Goto transaction SCOT.
Goto menu View -> Node
Click on SMTP node for the settings of INT
Maintain Node
Description : FAX Server
SMTP connection
give Mail Host & Mail port
in Supported address type : select SET as FAX
and give address over there ***** you want to send FAX
Thanks and Regards,
Message was edited by:   Prabhakar Dharmala
You can check my previous answered to you for more reference.
Reply
Try to give Rewards if any ANSWER useful for you, hope you know how to give points.

Similar Messages

  • Getting invalid password error while logging onto application from frontend

    Hi Guys
    I am trying to login to one of our clones and i am getting invalid password error.
    I ran fndcpass and change my username's password which got changed successfully
    But still when i login to application using my username i am getting invalid password error
    I am getting the same error if i login as sysadmin
    Please suggest to resolve this
    thanks !!

    Hi,
    I am trying to login to one of our clones and i am getting invalid password error.What is the application release?
    Please post the complete error message -- Also, check Apache log files for details (error_log* and access_log*).
    I ran fndcpass and change my username's password which got changed successfullyWhat username password have you changed?
    But still when i login to application using my username i am getting invalid password error
    I am getting the same error if i login as sysadminDoes this happen when login as any application user?
    Please verify that none of those users are end-dated.
    Regards,
    Hussein

  • Trying to update to itunes 11.1 getting invalid signature error message

    getting invalid signature error message when trying to upgrade itunes 11.1...help me please?

    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/TS3694
    Try this - Disable your firewall and anitvirus software temporarily.  Then download and install the iOS update.
     Cheers, Tom

  • TO_CHAR to convert date getting 'Invalid number' error

    I am trying to convert a static date value using TO_CHAR function but I can't believe I am not able to do it such a simple conversion.
    //Obviously this is easy and everyone would like to give this as an example and this is what I see everwhere on Google and it works.
    SELECT TO_CHAR(sysdate, 'YYYY-MM-DD') FROM DUAL;
    How can I make it work like this?
    SELECT TO_CHAR('2010-JUN-23', 'YYYY-MM-DD') FROM DUAL;
    I keep getting "Invalid number" error. I changed my constant date to different formats but none works.

    Your first literal is not a date, assuming you didn't set NLS_DATE_FORMAT.
    So the code should have been
    SELECT TO_CHAR(to_date('2010-JUN-23','YYYY-MON-DD'), 'YYYY-MM-DD') FROM DUAL;
    Please note DATEs are always converted to VARCHAR2 when you SELECT them, using NLS_DATE_FORMAT.
    When you use a DATE string literal it ias always implicitly converted to a real date, by using NLS_DATE_FORMAT.
    So if you want all your dates formatted as YYYY-MON-DD, you need to set NLS_DATE_FORMAT to that mask.
    Sybrand Bakker
    Senior Oracle DBA

  • TO_NUMBER getting invalid number error

    I want to use TO_NUMBER function to converse some float number,
    but the following query always gets invalid number error:
    select to_number('12.1073') from dual;
    but if I add the format in, it runs as expected:
    select to_number('12.1073', '99.9999') from dual;
    From the syntax, the format parameter is optional, is it only optional for integers?
    Thanks!

    Same here.
    So, or you replace dot by comma, or you change the territory (or nls_numeric_characters) defined for your session :
    SQL> select to_number('12.1073') from dual;
    select to_number('12.1073') from dual
    ERROR at line 1:
    ORA-01722: invalid number
    Elapsed: 00:00:00.00
    SQL> alter session set nls_territory='america';
    Session altered.
    Elapsed: 00:00:00.00
    SQL> select to_number('12.1073') from dual;
    TO_NUMBER('12.1073')
                 12.1073
    Elapsed: 00:00:00.00
    SQL> alter session set nls_territory='france';
    Session altered.
    Elapsed: 00:00:00.00
    SQL> select to_number('12.1073') from dual;
    select to_number('12.1073') from dual
    ERROR at line 1:
    ORA-01722: invalid number
    Elapsed: 00:00:00.00
    SQL> alter session set nls_numeric_characters='.,';
    Session altered.
    Elapsed: 00:00:00.00
    SQL> select to_number('12.1073') from dual;
    TO_NUMBER('12.1073')
                 12.1073
    Elapsed: 00:00:00.00
    SQL> Nicolas.

  • Please help getting invalid number error.

    Hi Experts,
    My requirement is
    If DT_ID value of xmlmsg existed in the DT_ID of PART_ID_COLLES table then that record should be processd else should be skipped.
    And xmlmsg of PART_ID should start with "A" and followed only by the number then that record should be processed else should be skipped.
    And xmlmsg of DD_DAYS should contain only  the number and grater than or equal to 0 ,then that record should be processed else should be skipped.
    For that I have written this code.
    But if I pass dt_id as string value in xmlmsg I am getting invalid number error.
    DT_ID of PART_ID_COLLES table is number data type.
    SELECT xmlmsg.part_id part_id,xmlmsg.dd_days dd_days,xmlmsg.dt_id dt_id
                      FROM XMLTABLE(
                            XMLNAMESPACES(
                                'urn:schemas-microsoft-com:rowset' as "rs"
                              , '#RowsetSchema' as "z"
                            '/z:row[not(@dt_id=following-sibling::z:row/@dt_id and @part_id=following-sibling::z:row/@part_id)]'
                            PASSING p_dd_days_vals
                            COLUMNS
                                ITEM_NO             for ordinality
                              , dt_id    VARCHAR2 (20) path '@dt_id'
                              , part_id  VARCHAR2 (25) path '@part_id'
                              , dd_days  VARCHAR2 (20) path '@dd_days'
                           ) xmlmsg,
                           part_id_colles pic
                           WHERE REGEXP_REPLACE(TRIM(xmlmsg.dt_id),'^([0-9]+)$|.','\1') = pic.dt_id
                                 AND REGEXP_LIKE (UPPER(TRIM(xmlmsg.part_id)),'^[A][0-9]+$')
                                 AND (TO_NUMBER(REGEXP_REPLACE(TRIM(xmlmsg.dd_days),'^([0-9]+)$|.','\1')) >=0
                                 AND REGEXP_LIKE(TRIM(xmlmsg.dd_days), '^-?[[:digit:],.]*$') ;
    Sample message is
    <MESSAGES>
    <MESSAGE ID="12345">
      <MSG_ID>3026900</MSG_ID>
      <DT_POSTED>6/20/2013 08:15:48</DT_POSTED>
      <POSTED_BY>GPD_MSG_EXTRACTOR</POSTED_BY>
      <DT_LAST_QUEUED />
    <MSG>
    <WORK_SET TRANSACTION_ID="@TRANS_ID" TRANSACTION_TYPE="Batch" IS_ACID="@IS_ACID">
    <WORK_UNIT GROUP="dd_days" ACTION="ADD" AFFECTED="dd_days">
    <RECORDSET TABLE_NAME="dd_days">
    <xml xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema">
    <rs:data>
      <z:row dt_id="430" part_id="A5556689" dd_days="10"/>
      <z:row dt_id="550A" part_id="A8889965" dd_days="20"/>
      </rs:data>
      </xml>
      </RECORDSET>
      </WORK_UNIT>
      </WORK_SET>
      </MSG>
      </MESSAGE>
      </MESSAGES>
    Please help me.
    Thanks.

    Your code has ton of errors. Anyway:
    with part_id_colles as (
                            select 430 dt_id,xmltype('<MESSAGES>
    <MESSAGE ID="12345">
      <MSG_ID>3026900</MSG_ID>
      <DT_POSTED>6/20/2013 08:15:48</DT_POSTED>
      <POSTED_BY>GPD_MSG_EXTRACTOR</POSTED_BY>
      <DT_LAST_QUEUED />
    <MSG>
    <WORK_SET TRANSACTION_ID="@TRANS_ID" TRANSACTION_TYPE="Batch" IS_ACID="@IS_ACID">
    <WORK_UNIT GROUP="dd_days" ACTION="ADD" AFFECTED="dd_days">
    <RECORDSET TABLE_NAME="dd_days">
    <xml xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema">
    <rs:data>
      <z:row dt_id="430" part_id="A5556689" dd_days="10"/>
      <z:row dt_id="550A" part_id="A8889965" dd_days="20"/>
      </rs:data>
      </xml>
      </RECORDSET>
      </WORK_UNIT>
      </WORK_SET>
      </MSG>
      </MESSAGE>
      </MESSAGES>') p_dd_days_vals from dual)
    SELECT  xmlmsg.part_id part_id,
            xmlmsg.dd_days dd_days,
            xmlmsg.dt_id dt_id
      FROM  part_id_colles pic,
            XMLTABLE(
                     XMLNAMESPACES(
                                   'urn:schemas-microsoft-com:rowset' as "rs",
                                   '#RowsetSchema' as "z"
                     '/MESSAGES/MESSAGE/MSG/WORK_SET/WORK_UNIT/RECORDSET/xml/rs:data/z:row[not(@dt_id=following-sibling::z:row/@dt_id and @part_id=following-sibling::z:row/@part_id)]'
                     PASSING p_dd_days_vals
                     COLUMNS
                        ITEM_NO             for ordinality,
                        dt_id    VARCHAR2 (20) path '@dt_id',
                        part_id  VARCHAR2 (25) path '@part_id',
                        dd_days  VARCHAR2 (20) path '@dd_days'
                    ) xmlmsg
      WHERE REGEXP_REPLACE(TRIM(xmlmsg.dt_id),'^([0-9]+)$|.','\1') = pic.dt_id
        AND REGEXP_LIKE(UPPER(TRIM(xmlmsg.part_id)),'^[A][0-9]+$')
        AND TO_NUMBER(REGEXP_REPLACE(TRIM(xmlmsg.dd_days),'^([0-9]+)$|.','\1')) >=0
        AND REGEXP_LIKE(TRIM(xmlmsg.dd_days), '^-?[[:digit:],.]*$')
    PART_ID                   DD_DAYS              DT_ID
    A5556689                  10                   430
    SQL>
    SY.

  • Getting 'Invalid argument' error while uisng OPEN DATASET. Help!

    Hi Experts,
       I am trying to read a file from a shared server location using OPEN DATASET as shown below.
    OPEN DATASET file_name FOR INPUT IN TEXT MODE ENCODING UTF-8 MESSAGE msg.
    The file_name i gave is '
    CNSGN-PRE-DM.COM\FUNCTIONAL\INVENTORY.CSV'.
    The program compiles perfectly. But when I run the program I am getting 'Invalid argument' error. I have checked the authorization to the server, file name, file availability and everything is fine.
    Strangely this code was working fine a week ago.
    What could be the problem? Kindly help me!
    Thanks
    Gopal

    Hi Chndrasekhar,
            You mean to say the we cannot use OPEN DATASET for reading file in shared server location. For example a shared folder in my PC.
    Is there something wrong in the file name path I have given? It started with '//'. Do I have to start the file path wih 'file://..'?
    Thanks
    Gopal

  • Help with updating to 10.5 from 10.3 and getting "invalid signature" error

    I am trying to update to iTunes 10.5 so I can sync my new iPhone 4s but I keep getting the error message "invalid signature".  I have tried turning off firewall and antivirus as suggested on this forum to no avail.  Also going through Tools, Download only produced the same error.  Any Suggestions?

    I, too, am unable to update to iTunes 10.5 (iPhone 4) OR Safari.  Contunally get "Invalid Signature" messages.  I have "changed" each Apple, iTunes and Safari application through Add/Change Programs to no avail.  I am forwarned removing iTunes from my PC will cause me to lose all my music.  Any suggestions?

  • Files deleted using RSC Explorer - now getting "invalid path" error msgs

    Yesterday I deleted about 10 images from RSC because (1) they were no longer used in the help project and (2) RH had not deleted them from source control itself. Note: I did not just hide these files - I deleted them.
    Today when I try to "get" the whole project, I get error messages for each of those files. Caption: RoboSource Error. Message: "Error - path '[path & filename]' is invalid."
    Since these files are in various subdirectories of the project, and RSC refuses to continue getting the rest of the files after it encounters this type of problem, this means I now have to "get" the project directory by directory. Grr.
    Ok, so RSC did not like me deleting the files from RSC Explorer. So how do I fix this problem? I tried adding the files back into RSC, but I get a different error message: "Error - node '[path & filename]' already exists." (Um, which is it -- is the path invalid, as claimed by the first error message, or does it already exist, as claimed by the second one?)
    I don't know what else to try.
    The other (less urgent) question is, if I can't delete old images from RSC Explorer, and RH doesn't see to it that unused images are deleted from source control, then how do I get unused images out of source control?
    Any help would be appreciated -- especially quick help! :-)
    /Eileen

    We had already applied the 802 patch.
    I don't remember now how I solved this problem (it was back in April I posted it), but it was probably by editing the root.fpj file.
    Thank you for your replies!
    /Eileen

  • Problem updating itunes, keep getting invalid signature error message!!

    Trying to update my itunes to latest version, keep getting "itunes has invalid signature" error message, any ideas of how to remedy this?
    Many thanks in advance.
    Meerkat68

    I've had this problem for awhile in Windows XP SP3. Last night, the simplest thing occurred to me...here's what I did (and I'm telling because it worked).
    1. Clicked on Start
    2. Clicked on Control Panel
    3. Chose Add/Remove Programs
    4. Found Apple Software Updater and clicked Remove, then responded Yes
    5. Went to apple.com and clicked on Support, and then Downloads
    6. Downloaded the latest version of Safari ONLY
    7. Installed Safari (knowing it would install the latest version of Apple Software Update)
    8. AFTER the installation was complete, I clicked again on Start, then All Programs
    9. then, clicked on Apple Software Update

  • Getting invalid value error message

    Hello,
    I have 4 numeric fields.The user enters dollar amounts in the first 3 fields. I have a FormCalc script in the 4th field that takes fields 2 and 3 from field 1 and display the total. It looks fine until the user hits the submit button. They they get the following error message:
    I've checked the Pattern and it's set to this pattern:  num{($zzz,zzz,zz9.99)}
    What am I missing?  Thanks for your help.
    MDawn

    Change the field type to Decimal instead of Numeric.
    (OR) change the Data format to Float under the Binding tab for Numeric type field.
    Thanks
    Srini

  • Getting Invalid Directory error when saving mailbox edits

    I current have two accounts set up for two separate mailboxes (I'm using IMAP) that I had in my old AOL account. Anyway, when I try to edit one of my mailboxes through the Mailbox Behavior tab and try to save it, I get an Invalid Directory error saying that /Users/username/Library/Mail is being used by the other account and consequently, my edits cannot be saved. Any ideas?
    Curt

    Called Apple support. I basically had to recreate my mail accounts and that fixed the problem.

  • Getting Invalid Cursor error in a procedure

    Hi,
    I have a procedure(1) which inturn calls another procedure(2) which does some task.
    Procedure(1) accepts response from Procedure(2).
    The error code of procedure(2) is *0* which is the success response.
    Iam getting 0 from Procedure(2).
    But still Procedure(1) gives me a Invalid cursor error ( eventhough all the cursors are closed and opened ).
    Any suggestion on this????

    procedure p_create_conn -- Procedure(1) which is the calling proc
    is
    begin
    connectivity_api.p_create_connection -- Procedure(2) called proc
    in_scheme_number => in_scheme_number
    ,in_a_lp_sysid => in_a_lp_sysid
    ,in_z_lp_sysid => in_z_lp_sysid
    ,in_interconnect_name => in_interconnect_name
    ,in_mux_usage => in_mux_usage
    ,in_mux_type => in_mux_type
    ,out_a_end_sne => v_out_a_sne_id
    ,out_z_end_sne => v_out_z_sne_id
    ,out_sss_id => v_out_sss_id
    ,out_error_code => out_error_code
    ,out_error_message => out_error_message
    ,in_a_port_name => in_a_port_name
    ,in_a_port_signal => in_a_port_signal
    ,in_z_port_name => in_z_port_name
    ,in_z_port_signal => in_z_port_signal
    ,in_trs_area => in_trs_area
    ,in_alternate_id => in_alternate_id
    ,in_dcn_equipment_name => in_dcn_equipment_name
    ,in_dcn_equipment_id => in_dcn_equipment_id
    ,in_dcn_equipment_notes => in_dcn_equipment_notes
    ,in_tcode => in_tcode
    if out_error_code != 0 --- Error code from Procedure(2) is 0 in my case
    then
    raise ex_p_create_connection;
    end if;
    -- Faliing after success response here
    workflow_utils.create_link
    in_link_type => 'A'
    ,in_source_workflow_name => con_wf_scheme_type
    ,in_source_record_id => in_scheme_number
    ,in_trigger_state => 'initial'
    ,in_dest_workflow_name => con_wf_connectivity
    ,in_dest_record_id => v_out_sss_id
    ,in_dest_from_state => null
    ,in_dest_to_state => null
    ,in_terminate_source => 'N'
    ,in_terminate_dest => 'N'
    ,in_user_account_name => v_user
    -- in this proc all the cursors have been closed properly.
    exception
    when ex_p_create_connection
    then
    null;
    when others
    then
    out_error_code := sqlcode;
    out_error_message := sqlerrm;
    end p_create_connection;
    Is that fine with you????

  • Getting Invalid URL error

    Hi all I am a new developer trying to make the Phone app work. when I try to run the app I get the invalid URL error. I am putting my domain name between the quoetes. Please help
    // please insert your web service URL here for exchanging peer ID
    private const   WebServiceUrl:String =""

    you must install a peer id registration/lookup service compatible with VideoPhoneLabs' queries onto your web server.  a sample service is the "reg.cgi" python script included with VideoPhoneLabs. you must create the database it'll use according to the schema in the script comment and place the database (and the script) in your filesystem with appropriate permissions for your OS and web server. then you give the URL to that web service as the WebServiceUrl constant.

  • Getting Invalid URL error while creating the app even though it's returning valid content from browser.

    Hi ,
      i am trying add RSS section with URL http://api.foxnews.com/proxy/content/v2?sort=date desc&omitHeader=true&api_key=cc23011f-3ace-40a4-bb63-bfa654af5bc8&format=full-content-rss.xml&rows=20&q=content_type:article AND image_url:*
    AND section_path:fnc/entertainment , and it's giving invalid URL error. like @ Invalid Url, use http or https://[domain]. Please help what's going wrong with this URL content. 

    I've recently deployed an application in Websphere and HTTPServer and have Oracle on the DB back-end. Tim, apparently your login problem happens inside the Websphere. You will have a better chance to ask this question in IBM's forums.

Maybe you are looking for

  • Crystal Report XI Print report on different paper size (A4/Letter)

    Hi, I have designed report in Crystal XI using paper sieze Letter. Multipler sites are using this application. User in USA are using Letter size paper and User in Euorpe are using A4 size paper. All reports work fine for USA users. When Eurpoe users

  • Windows 7 PC can't see iMac

    Sharing, SMB, all that stuff is enabled on my iMac.  The Windows 7 PC can see my iMac in "Network Neighborhood", but when I double-click on my iMac it fails to login -- doesn't like username or password, presumably. The iMac can see the Windows 7 PC

  • Document merge problem due to embedded fonts

    I am trying to merge 6 single page pdf documents into one pdf file. I am receiving this error on two of the six docs: "These documents contain subset fonts that have the same name and cannot be merged" Can anyone help me work through this issue? I am

  • Ejects blank CD-R's after about 15 seconds

    My drive appears to be in perfect working condition, as other Cds are accepted as well as blank DVD's, and also the Verbatim CD-R's I just bought work fine as well because they are accepted by my boyfriend's computer, which is a mac bought around the

  • DVD problems

    I have had trouble reading some burned DVDs that were created on a Windows computer. Most of the time it does not even recognize there is a DVD in the drive. Other times it recognizes it but says it is blank. Is there some firmware or something I can