Warning: ociparse(): supplied argument is not a valid OCI8-Connection

We upgraded to AS10gr2 from AS10gr1. Php is version 4.8.3 .
The php application we have will let you log in but once you drill in to a page we get a number of errors that are similiar to this
Warning: ociparse(): supplied argument is not a valid OCI8-Connection resource in c:\webdocs\siast\srapp\v9.0\form0.php on line 429
We connect to the db with
/* database connection */
$username = "joeblow";
$password = "pwd";
$hostname = "db.world"; <= defined in tnsnames.ora file
//if a connection cannot be made - display error message
if (!$conn = @ocilogon($username, $password, $hostname))

Hi I have encountered the same problem with PHP4.4
Is there a solution that I can fix this problem?
oci8): SELECT CUSTOMER_NUMBER, CUSTOMER_NAME FROM RA_CUSTOMERS WHERE nvl(ATTRIBUTE16, 'N') = :key; [ (key=>'Y') ]
Warning: ociparse(): supplied argument is not a valid OCI8-Connection resource in /dcc/www/ecrm/itc/include/adodb/drivers/adodb-oci8.inc.php on line 764
:

Similar Messages

  • Mysql_num_rows(): supplied argument is not a valid MySQL result resource

    function validatelogin($username, $password)
    $query = $this->escape("SELECT * FROM 'ampmember' WHERE
    'username'='%s' AND 'password'='%s'", $username, $password);
    NetDebug::trace($query);
    $rs = mysql_query($query);
    if(mysql_num_rows($rs) == 1) (THE ERROR IS WITH THIS ROW)
    return true;
    else
    return false;
    * Escape a SQL String
    * @access remote
    function escape($sql)
    $args = func_get_args();
    foreach($args as $key => $val)
    $args[$key] = mysql_real_escape_string($val);
    $args[0] = $sql;
    return call_user_func_array('sprintf', $args);
    }

    You can try:
    "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    "Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    See http://kb.mozillazine.org/Clearing_the_cache and http://kb.mozillazine.org/Cookies

  • Not a valid oci8 statement resource

    I've been grappling this problem sometime, google doesn't help because all the results I get are pages with the same error.
    Warning: oci_fetch(): 3 is not a valid oci8 statement resource in /home/dsk10/ugrad/bejhan/web_docs/facttable.php on line 21
    Line 21 is: while(oci_fetch($SQL)) {
    My loop functions correctly and fetches the results properly though. Here is my connect and creation of the statement:
    $c = oci_connect("bejhan", "******");
    $SQL = oci_parse($c, "SELECT TIMETRANSACTIONID, TO_CHAR(TDATETIME, 'YYYY-MM-DD HH24:MI:SS') AS PHPDATE, DURATION, TIMECODEDEFID, TEAM, MATERIALTYPE FROM c391.TimeTransactionData78 WHERE ROWNUM < 10 ORDER BY TDATETIME");
    oci_execute($SQL);
    When I run this query in SQLPlus I don't receive any errors.
    What is causing this warning?

    Okay changed the code to:
    $c = oci_connect("bejhan", "******");
    $SQL = oci_parse($c, "SELECT TIMETRANSACTIONID, TO_CHAR(TDATETIME, 'YYYY-MM-DD HH24:MI:SS') AS PHPDATE, DURATION, TIMECODEDEFID, TEAM, MATERIALTYPE FROM c391.TimeTransactionData78 WHERE ROWNUM < 10 ORDER BY TDATETIME");
         $error = oci_error();
         if($error)
              echo "SQL ERROR: (" . $error['message'] . ")";
         else
              echo "NO ERROR";
    oci_execute($SQL);
         $error = oci_error();
         if($error)
              echo "SQL ERROR: (" . $error['message'] . ")";
         else
              echo "NO ERROR";
    //Fix problem with fetch statement
    while(oci_fetch($SQL)) {
         $error = oci_error();
         if($error)
              echo "SQL ERROR: (" . $error['message'] . ")";
         else
              echo "NO ERROR";
    However, I just get NO ERROR for all of these.

  • Supplied XML is not valid

    Hi All,
    While refreshing a Webi report, I am getting following error: 
    "A database error occured. The database error text is: The supplied XML is not valid. [Measures].[0701FBYSYG9KJQ47GRMMAVZ89]. (WIS 10901) ".
    Could you please let me know how to resolve it?
    Regards,

    definition of one of your measure objects selected in the webi query is not correct in the universe. Parse the objects in the universe and find the objects with incorrect definition. This may be due to deletion of a key figure from BEx query. You can refresh the universe structure for updating it.

  • Parse failed: Exception DBD, The supplied XML is not valid[Measures].[SAP_OBJECT_NAME] State:N/A error for hidden KFs when migrated to HANA

    Hi All
    Please help me with the following query. We are migrating SAP BW 7.4 on Oracle to HANA. We have few WEBI report's universes built on BEx queries. In one of those reports there are some hidden RKFs, these works perfectly fine in reports based on oracle. Now we migrated to HANA in development system and when i refresh the universe structure they started giving errors like "Parse failed: Exception DBD, The supplied XML is not valid[Measures].[SAP_OBJECT_NAME] State:N/A". The object giving this error is in hidden state. I tried to unhide it and run the report then it runs fine but that not the client want as there might be so many hidden KFs in other reports also. BO version is 4.1 SP 2. We are on SAPKW74006 support package on BW side. Is there any notes to correct this error. Please pass me the relevant links. Highly appreciate your help.
    Thanks
    Dwaraka

    DCA-40012: The Web Service call failed. A connection to the target Web Service could not be created.
    First of all test the web service you have created in model project. Right click the web service name and select "Test WebService". If you see any issue(s) while testing fix it first before you run the jspx page.
    Check the port number in the URL and connections.xml, it have to be same.

  • SAP BW query to BOBJ Universe: The supplied XML is not valid.

    Help!
    The Business Objects Sever XI is giving us messages like the below, on some  but not all BOBJ Universes based on SAP BW queries.
    A database error occurred. The database error text is: The supplied XML is not valid. [various InfoObjects] [LEVEL01] (WIS 10901)
    These queries were executing 1 working day, 3 calendar days ago. No transports to SAP BW or promotions to BOBJ were made.
    Any ideas?
    Thanks,
    John Hawk
    When we refresh the Universe, we get this mesdage
    Error getting hierarchies for dimension 0INFOPROV (Cube FIGL_M10/FIGL_M10_Q001): Exception condition "HIERARCHY_NOT_FOUND" raised
    Edited by: John Hawk on Jun 1, 2010 9:15 PM

    Hi John,
    I'm also getting same error 'Error getting hierarchies for dimension 0INFOPROV (Cube ZLE_M10/YBO_FREIGHT_ZLE_M10_UNIV_MPT1): Unknown error' when tried to create universe on top of query which is based on multi provider. Could you please send me copy of program ZZ_REPAIR_HIEDIR?
    Thanks,
    Milind

  • Command Line argument is not valid please verify the switch.......???

    hello frends
    We are currently getting this error.
    Command Line argument is not valid please verify the switch.
    The code used to send the mail is
    mail ="mailto:?subject="+escape(subject)+"&body="+escape(email);
    document.location = mail;
    return ;
    this is a javascript code to open outlook mail to send emails.
    the main problem is,when we write
    mailto:?subject=abc&body=uvwxyz......
    then we should be getting abc as subj and uvwxyz as the body..,and we r getting it....
    but when we include ""(double quotes ) in either the subject or the body..,it is showing the error line mentioned above.
    and if em using the html tags in the body part..,it's giving everything including the tags,which z not desired.
    kindly help me .....

    shikha6g wrote:
    i've thought..,you people are brainy enough to help me out in the javascript too...!!so..,i relied on this forum and have posted my problem,coz solving this thing was really imp for me.
    i din't knew,dat i'll get such circastic replys here.sorryTo me, being brainy implies that you are a smart thinker and good at problem solving. It doesn't mean that you know a language that you never learned.

  • TF244074: The specified argument is not valid: enterpriseProject

    Run a command to map Project Server project with TFS Team project:
    TfsAdmin ProjectServer /MapPlanToTeamProject /collection:"http://srv-shrp05-lv:8080/tfs/DefaultCollection/" enterpriseProject:"Team Project 1" /teamProject:"Team Project 1"  /workItemTypes:"Bug,Issue,User
    Story,Task"
    and got error:
    TF244074: The specified argument is not valid: enterpriseProject.
    I gave necessary permissions to TFS and Project App Pool accounts and don't know what else should I do?

    Did you ever get this figured out I am having the same issue?

  • Outlook 2013 Clients certificate has expired warning or not yet valid

    Hello,
    We had been through a migration from exchange 2010 to 2013 in the last year but have had an ongoing issue with
    some Outlook clients getting a certificate warning after they launch the client.  Not all Outlook clients experience this.  We've just recently uninstalled exchange from our 2010 servers and shut them
    down.  What we have left are two 2013 servers in a DAG.  The certificate these Outlook clients are complaining about had expired in 2012.  Here is the warning they are getting:
    "Certificate has expired warning or not yet valid"
    I've been through numerous threads/sites regarding this error but it always ends up that there was an expired cert hanging out somewhere.  I cannot seem to find an expired cert anywhere...
    I've ran the 'Get-ExchangeCertificate | fl' cmdlet and I see 7 certs listed, none of which match the thumbprint on the Cert Warning on Outlook.
    When I check the registry of the Exchange servers here: HKLM>Software>Microsoft>SystemCertificates>My>Certificates
    I can see 7 certificate entries listed there and the thumbprint matches those of the cmdlet ran from
    EMS.
    OWA shows the correct cert expiring in 2015 and Outlook clients are pointed to the 2013 servers.  We do have a load balancer that AutoDiscover, OWA, SMTP are going through.  
    It seems like some of these Outlook clients are still looking at the decommissioned 2010 Exchange servers' old certificate.  Any ideas on how I can get outlook to point to the new certificate/server?
    Thanks.
    Rory
    Rory Schmitz

    Hi Rory,
    If possible, could you please post the Get-ExchangeCertificate | FL results about the certificate which is assigned with IIS service here?
    If the issue only happens for some users instead of all users, please create a new Outlook profile for the problematic user to check whether the issue persists. Please make sure the certificate name which is reported as expired or not valid is included
    in the IIS service certificate in your Exchange 2013.
    In Exchange server side, please restart IIS service by running IISReset /noforce from a command prompt window to have a try.
    Regards, 
    Winnie Liang
    TechNet Community Support

  • ' is not a valid XML character.

    Hi All,
    May be an XML Expert can help me in understanding this XML Exception.
    I am trying to expose a EJB as webservice using AXIS 1.2 Final. When
    deployed my ear/ejb on WAS 4.0 on HP-UX operation system and trying
    to consume the web service using AXIS 1.2 generated stubs I am getting below error on the server side.
    [9/12/05 8:17:55:260 MST] ed128 WebGroup X Servlet Error: The
    char &#39;0x0&#39; in &#39;java.rmi.RemoteException: CORBA
    BAD_OPERATION 0 No&#59; nested exception is:
    org.omg.CORBA.BAD_OPERATION: minor code: 0 completed: No
    at com.amla.as.cameron.ejb._EJSRemoteStatelessCS_146c46e9_Tie._invoke&#40;_EJSRemoteStatelessCS_146c46e9_Tie.java:340&#41;
    at com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch&#40;ExtendedServerDelegate.java:532&#41;
    at com.ibm.CORBA.iiop.ORB.process&#40;ORB.java:2450&#41;
    at com.ibm.CORBA.iiop.OrbWorker.run&#40;OrbWorker.java:186&#41;
    at com.ibm.ejs.oa.pool.ThreadPool$PooledWorker.run&#40;ThreadPool.java:104&#41;
    at com.ibm.ws.util.CachedThread.run&#40;ThreadPool.java:144&#41;
    minor code: 0 completed: No&#39; is not a valid XML character.:
    java.lang.IllegalArgumentException: The char '0x0' in
    'java.rmi.RemoteException: CORBA BAD_OPERATION 0 No; nested exception
    is:
    org.omg.CORBA.BAD_OPERATION: minor code: 0 completed: No
    at com.amla.as.cameron.ejb._EJSRemoteStatelessCS_146c46e9_Tie._invoke(_EJSRemoteStatelessCS_146c46e9_Tie.java:340)
    at com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(ExtendedServerDelegate.java:532)
    at com.ibm.CORBA.iiop.ORB.process(ORB.java:2450)
    at com.ibm.CORBA.iiop.OrbWorker.run(OrbWorker.java:186)
    at com.ibm.ejs.oa.pool.ThreadPool$PooledWorker.run(ThreadPool.java:104)
    at com.ibm.ws.util.CachedThread.run(ThreadPool.java:144)
    minor code: 0 completed: No' is not a valid XML character.
    at org.apache.axis.components.encoding.AbstractXMLEncoder.encode(AbstractXMLEncoder.java:110)
    at org.apache.axis.utils.XMLUtils.xmlEncodeString(XMLUtils.java:117)
    at org.apache.axis.AxisFault.dumpToString(AxisFault.java:366)
    at org.apache.axis.AxisFault.printStackTrace(AxisFault.java:796)
    at org.apache.commons.logging.impl.SimpleLog.log(SimpleLog.java:338)
    at org.apache.commons.logging.impl.SimpleLog.warn(SimpleLog.java:446)
    at org.apache.axis.attachments.AttachmentsImpl.getAttachmentCount(AttachmentsImpl.java:523)
    at org.apache.axis.Message.getContentType(Message.java:475)
    at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:713)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:301)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
    at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:167)
    at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:297)
    at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:110)
    at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
    at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
    at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:721)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:374)
    at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:118)
    at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:134)
    at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:239)
    at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
    at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:151)
    at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:317)
    at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)
    at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:477)
    at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:341)
    at com.ibm.ws.util.CachedThread.run(ThreadPool.java:144)
    Can anyone please suggest under what cases we get this error.
    When I monitor the request soap message using AXIS handlers, the soap
    message seems to be valid and well-formed. The EJB deployment on WAS
    4.0 is successfully and it can be successfully accessed by a ejb
    client :
    Thanks & Regards,
    bab.

    I am having similar problem. Did you find the solution for this
    thanks

  • Not a Valid Month Issue

    Hi,
    When i execute an insert statement i get ORA-01843 not a valid month error.
    below is the SQL i try to execute in SQLPlus;
    Insert into IKD$TA_L_FACHL_SCHRITT (FACHL_SCHRITT_ID, FACHL_SCHRITT_TEXT, VALID_FROM, VALID_TO) values (1,'LOAD_STG_TMD_ZUSATZDATEN' ,'19.08.2008','31.12.9999');
    However if i execute the same in Oracle SQL developer it is working fine. Can someone please suggest what could be the reason for error in SQL PLUS ?
    I suspect this to be the NLS_DATE_FORMAT setting issue, please correct if im wrong.
    Thanks

    Hi,
    Never use a VARCHAR2 where a DATE is needed.
    Use TO_DATE (with 2 arguments) to convert a VARCHAR2 to a DATE when necessary.
    For example:
    Insert into IKD$TA_L_FACHL_SCHRITT
           ( FACHL_SCHRITT_ID, FACHL_SCHRITT_TEXT,             VALID_FROM,              VALID_TO)
    values ( 1,             'LOAD_STG_TMD_ZUSATZDATEN' , TO_DATE ( '19.08.2008'
                                                             , 'DD.MM.YYYY'), TO_DATE ( '31.12.9999'
                                                               , 'DD.MM.YYYY)
           );The problem with implicit conversions is that they don't necessarily use the format you want them to.
    Always use an explicit conversion function, and specify the format.

  • Error - ORA-01843: NOT A VALID MONTH

    I get this Error when I execute a procedure which accepts input paramters to insert into a table. I tried using TO_DATE(Input_param,'MM/DD/YY') too but it still gives me the error. Plz. Help.

    > However if I make this modification in the values clause of the insert statement
    and if I dont used "TO_DATE" function in the procedure call its giving me the above error.
    SQL> values(
    ,TO_DATE(p_date,'DD/MM/YYYY'));
    I'm not clear what modification you are making to what. If p_date is a DATE, there should not be a TO_DATE conversion applied to it inside the procedure - it's already a DATE.
    How is your case different from the following example?
    SQL> CREATE TABLE testit
      2  ( id INTEGER, dateval DATE );
    Table created.
    SQL> CREATE OR REPLACE PROCEDURE testproc
      2     ( p_id INTEGER
      3     , p_dateval DATE )
      4  AS
      5  BEGIN
      6     INSERT INTO testit (id, dateval)
      7     VALUES (p_id, p_dateval);
      8  END testproc;
      9 /
    Procedure created.
    SQL> desc testproc
    PROCEDURE testproc
    Argument Name                  Type                    In/Out Default?
    P_ID                           NUMBER(38)              IN
    P_DATEVAL                      DATE                    IN
    SQL> exec testproc(1, sysdate);
    PL/SQL procedure successfully completed.
    SQL> exec testproc(2, DATE '2006-03-24');
    PL/SQL procedure successfully completed.
    SQL> exec testproc (3, TO_DATE('23/03/2006','DD/MM/YYYY'))
    PL/SQL procedure successfully completed.
    SQL> SELECT * FROM testit;
            ID DATEVAL
             1 24-MAR-2006
             2 24-MAR-2006
             3 23-MAR-2006
    3 rows selected.If the procedure parameter is a DATE and the column is also a DATE, there should be no conversion involved. The "Not a valid month" error occurs when you try to convert a string to a DATE using either the wrong format or a nonsense string such as '2005-94-01'. You need to be clear what is a DATE and what is a string at each stage of processing.
    Notice that the default date format can be changed:
    SQL> ALTER SESSION SET nls_date_format = 'YYYY-MM-DD';
    Session altered.
    SQL> SELECT * FROM testit;
            ID DATEVAL
             1 2006-03-24
             2 2006-03-24
             3 2006-03-23
    3 rows selected.
    SQL> ALTER SESSION SET nls_date_format = 'RRRR-MM-DD HH24:MI:SS';
    Session altered.
    SQL> SELECT * FROM testit;
            ID DATEVAL
             1 2006-03-24 11:55:45
             2 2006-03-24 00:00:00
             3 2006-03-23 00:00:00
    3 rows selected.

  • Item Interface error - "The Cost of Sales Account specified is not a valid"

    A week back we migrated from 11.5.10 to 12.1.3
    Since then, many items are failing in Item Interface with the error "The Cost of Sales Account specified is not a valid account or has expired in organization ITEM MASTER INV."
    Item Master being the 'Inventory master organization'. I checked the cost of sales account & sales account. and they are Valid also their corresponding segments are valid in their respective value sets.
    Log message for 'Item Import'
    Import Items
    Argument 1 (ORG_ID) = 167
    Argument 2 (ALL_ORG) = 1
    Argument 3 (VAL_ITEM_FLAG) = 1
    Argument 4 (PRO_ITEM_FLAG) = 1
    Argument 5 (DEL_REC_FLAG) = 1
    Argument 6 (PROCESS_SET) = 77
    Argument 7 (MODE) = 2
    Argument 8 (Gather Stats) = 1
    TRANSACTION ID : 42878726
    ORGANIZATION ID : 174
    TABLE NAME : MTL_SYSTEM_ITEMS_INTERFACE
    COLUMN NAME : COST_OF_SALES_ACCOUNT
    MESSAGE NAME : INV_IOI_ERR
    ERROR MESSAGE : The Cost of Sales Account specified is not a valid account or has expired in organization ITEM MASTER INV.
    TRANSACTION ID : 42878726
    ORGANIZATION ID : 174
    TABLE NAME : MTL_SYSTEM_ITEMS_INTERFACE
    COLUMN NAME : SALES_ACCOUNT
    MESSAGE NAME : INV_IOI_ERR
    ERROR MESSAGE : The Sales Account specified is not valid or has expired for the organization ITEM MASTER INV.
    Please help.

    The Cost_of_sales_account & Sales_account as defined in the MTL_PARAMETERS are different from those in MTL_SYSTEM_ITEMS_B for the corresponding item. The values for these accounts in the interface tables are same as that in the MTL_SYSTEM_ITEMS_B table and hence not same as those defined in MTL_PARAMETERS.
    Actually we have a Custom trigger on the MTL_SYSTEM_ITEMS_B table which updates these accounts, once the item is created in the Master Organization.
    To verify this issue, I updated the accounts on the MTL_SYSTEM_ITEMS_INTERFACE table to match with that of MTL_PARAMETERS. Ran the 'Item Import', now those records are processed.
    Does this means that, the Interface is validating the cost_of_sales_account & sales_account to match with that of the 'Organization' ??.
    But we never had this issue in 11i. Is this a part of R12??

  • Source of Supply in PR not filled correctly

    Hello,
    Could somebody explain me why Source of Supply is sometimes not filled with appropriate data ?
    Here is my detailed case :
    I have maintained a quota between 2 suppliers.
    For supplier 1, I have a contract and no PIR.
    For the supplier 2, I have only a PIR.
    In the source list, I put the contract for supplier 1 and an entry for supplier 2. Both are relevant for MRP.
    I am putting some independant requirements on the material (MD61) and running the MRP.
    The PR are well splitted between the 2 sources, but in the PR associated to supplier 2, PIR is not indicated in Source of Supply and sometimes even Purchasing Organization is not found.
    In the cases Purchasing Organization is found, but not the PIR, when I am converting the PR in PO, the PIR is found at PO creation.
    I do not understand what is missing for the system to put all information directly in PR.
    Thank you for your help !
    Laetitia

    first of all. just one source in the source list can be MRP relevant.
    if you flag more than one, then the you cannot be sure which source SAP is determining, either the first or the last.
    anyhow in case or quota arrangement, SAP first checks the Quota arrangement, and later checks the source list, e.g. to determine if delivery schedules have to be created or if the source is valid at all.
    The quota arrangement has no information about purchasing org. hence  this info cannot be filled

  • [[DataDirect][ODBC SQL Server Wire Protocol driver][Microsoft SQL Server]Column name or number of supplied values does not match table definition.]

    Hii ..
    need help on this ..
    This what I am doing ..
    I am using a DATAEXPORT function to export level0 data from my essbase 11.1.2.2 to Microsoft SQL 2008 tables.
    So what I did first I exported the level0 data to a flat file using DATAEXPORT and the created the SQL columns by the same  in that order only in my SQL table.
    When I run it fails with this error:
    ODBC Layer Error: [21S01] ==> [[DataDirect][ODBC SQL Server Wire Protocol driver][Microsoft SQL Server]Column name or number of supplied values does not match table definition.]
    [Tue Jul 23 18:26:07 2013]Local/dataexp/dataexp/admin@Native Directory/1209813312/Info(1021014)
    ODBC Layer Error: Native Error code [213]
    [Tue Jul 23 18:26:07 2013]Local/dataexp/dataexp/admin@Native Directory/1209813312/Error(1012085)
    Unable to export data to SQL table [dataexp]. Check the Essbase server log and the system console to determine the cause of the problem.
    [Tue Jul 23 18:26:07 2013]Local/dataexp/dataexp/admin@Native Directory/1209813312/Info(1021002)
    SQL Connection is Freed
    [Tue Jul 23 18:26:07 2013]Local/dataexp/dataexp/admin@Native Directory/1209813312/Warning(1080014)
    Transaction [ 0x1c50001( 0x51ee7d66.0x80342 ) ] aborted due to status [1012085].
    [Tue Jul 23 18:26:07 2013]Local/dataexp/dataexp/admin@Native Directory/1209813312/Info(1012579)
    Total Calc Elapsed Time for [test.csc] : [1.44] seconds
    =============================================================
    I did a simple test on my Sample.basic application then ..
    loaded the calc data to it and then used the below script to export to a flat file
    //ESS_LOCALE English_UnitedStates.Latin1@Binary
    SET DATAEXPORTOPTIONS
                    DataExportLevel "Level0";
                    DataExportOverwriteFile ON;
                    DataExportColFormat OFF;
                    DataExportDimHeader OFF;
    FIX(
                "Jan",
                "Sales",
                "Actual"
    /*DATAEXPORT "File" "," "/home/hypadmin/samtest.txt";*/
    DATAEXPORT "DSN" "Abhitest" "sample" "sa" "welcome1";
    ENDFIX
    out put as below:
    "Sales"
    "100-30","California"
    "Jan","Actual",145
    Now In sql I created only 3 columns with name Jan/Sales/Actual and when I run this script again with comments removed .. I get the same error as what I have got in my first test case with other application ..
    but when I create the columns with same name as what its in export
    Sales/100-30/Califirnia/Jan/Actual
    It created the new rows successfully ..
    So with this I think the error which I am getting with my other application might be because of the same column issue  .. but then I have created all the columns by looking at the export file only as I did in sample ..
    Any idea would be helpful ..
    Thanks
    Abhishek
    I

    First make sure you add
    DataExportRelationalFile ON;
    to your set commands it is missing
    I alwats like to also add
    DataExportColHeader dimensionName;
    so I am sure what dimension is getting put into the columns.
    Then count the number of dimensions in your outline (exclude attribute dimensions). You need at least that many columns in your table  -1 + the number of  members you will be returning as columns in the export
    Taking your example Sample basic has 5 dimensions
    Measures
    Years
    Scenario
    Product
    Market
    Since you did not specify a dataexportcolheader it took the dense dimension Scenario as the columns. Your fix statement is limiting that to one member. Doing the math
    5 -1 + 1 = 5 columns in your table which is what you found works.  Suppose you fixed on bothe Actual and budget in scenario then you would need 6 columns 5 -1 +2

Maybe you are looking for

  • How to make the fade out effect.

    Hi Everyone! Can someone go through the steps for me in regards to making this effect below. Where the stripes are faded out down the page. Would indesign be the best place to make this in?

  • Scripting bridge challenge (problem)

    I need help! hi, i have a cocoa app that has been upgraded to support applescript. I can work with it just fine from the script editor. I intend it to be able to send commands so i am adding scripting bridge support, and I have hit a wall. the docume

  • Wireless setup for Mac Pro OSX 10.9.4 for HP Deskjet 3054 J610

    HP Deskjet 3054 J610, need to know how to set it up on a wireless network.  The HP installer disk I have says this verison not supported.  I cannot find a newer version. The printer worked on old Imac and a different network.  The network now is a Ve

  • What's the easiest way to resize/optimize an image size with the iPhone SDK?

    hi.......every one. I developed one APP in XCode4.6.3 ,it's working perfectly in ipad. After update my xocde 4.6.3 to 5.0 it is not working, it is crashes. How to Set an iamge for both ,ipad & ipad retina

  • How to combine revenue data on a same chart using the same axis

    Hi folks:    I'd like to create a chart like below... It's weekly revenue data from 2012, 2013 and 2014. I'd like to show all data using the same  X-Axis so that people would easily tell if it's going up or down... Do I have to create a MDX query for