Error when using Date Parameters...

Hi everybody,
I have a little issue.
Ever since I upgraded my CRXI R2 to SP4 I've had a little problem using date parameters.
The little calendar icon next to the parameter field no longer works.
When I click it I get the following error message:
An error has occurred in the script on this page.
Line:       79
Char:      1
Error:      Object Expected
Code:      0
URL:       file://C:\Documents and Settings\jlong\Local Settings\Temp\prompting1.html
I'm thinking this is probable a quick registry fix, but I have no idea where to start looking.
Hopefully one of you CR guru's knows the answer.
Thanks in advance,
Jason

It seems you are having a scripting issue.
Go onto the Internet explorer settings (internet options under control panel)
click on security and then click on Internet and then Custom tab.
Scroll right down where it says Scripting and enable it.
That should resolve the issue.
Here is the full list of browsers with scripting options:
Windows Internet Explorer
(all versions except Pocket Internet Explorer)
Note To allow scripting on this Web site only, and to leave scripting disabled in the Internet zone, add this Web site to the Trusted sites zone.
1. On the Tools menu, click Internet Options, and then click the Security tab
2. Click the Internet zone.
3. If you do not have to customize your Internet security settings, click Default Level. Then do step 4
If you have to customize your Internet security settings, follow these steps:
a. Click Custom Level
b. In the Security Settings u2013 Internet Zone dialog box, click Enable for Active Scripting in the Scripting section.
4. Click the Back button to return to the previous page, and then click the Refresh button to run scripts.
===========
Mozilla Corporationu2019s Firefox version 2
1. On the Tools menu, click Options.
2. On the Content tab, click to select the Enable JavaScript check box.
3. Click the Go back one page button to return to the previous page, and then click the Reload current page button to run scripts.
===========
Opera Softwareu2019s Opera version 9
1. On the Tools menu, click Preferences.
2. On the Advanced tab, click Content.
3. Click to select the Enable JavaScript check box, and then click OK.
4. Click the Back button to return to the previous page, and then click the Reload button to run scripts.
===========
Netscape browsers
1. Select Edit, Preferences,Advanced
2. Click to select Enable JavaScript option
Hope this helps.
Regards
Jehanzeb
Edited by: Jehanzeb Navid on Jul 28, 2008 4:38 PM
Ok I think I got this totally wrong. this isn't what you are looking for.
Sorry!!! can't delete this reply arggghh!!!
Edited by: Jehanzeb Navid on Jul 28, 2008 4:40 PM
Maybe this might help?
Remove Web Customization
If multiple folders are causing the script error, remove Web customization from any folder that generates the error message.
To remove customization from a folder, use the following steps:
1. Open the appropriate folder.
2. On the View menu, click Customize This Folder, click Remove Customization, click Next, and then click Finish.
3. Close the folder.

Similar Messages

  • Error when using data postion delay

    I obtained this error when using data position delay. Can anyone please
    tell me the reason why I can not configure the delay to be between 0.7
    and 0.8.
    Possible reason(s):
    Driver Status:  (Hex 0xBFFA403F) Unable to configure requested delay property given the current clock rate.
    Ensure that the delay value specified is within the valid range for the
    frequency specified or do not configure property for delay operation.
    Device: PXI1Slot2
    Property: Data Position
    Sample Rate: 40000000.0
    Requested Value: 0.71875
    Supported Values: 0.000 through 0.200, 0.300 through 0.700, 0.800 through 1.000,
    Status Code: -219401

    Timothy,
    The 656x devices have a limit on the available data delay values based
    on frequency.  Between 25MHz and 50MHz there are "holes" in the
    available delay range.  Above 50MHz, the full 0 to 1 data delay is
    valid.  If you look in the specifications installed with NI HSDIO
    for the NI 656x, on page 7, Figure 1, there is an illustration showing
    how to compute what the valid range is for the frequency of interest.
    For example, at 40MHz, valid values are:
    0 to 0.2
    0.3 to 0.7
    0.8 to 1
    In the error message posted below, you tried to input a value of 0.71875 which is not within these ranges.

  • "access denied" error when using data bindings in region

    Whenever I use data boundings in a region jspx or even in a subview page, I got "access denied" error in other page that uses this region or subview.
    Anybody know if there is any workaround?
    Thanks a lot!

    Thanks Frank.
    I tried to copy all the bindings in subpage pageDef to mainpage pageDef - no luck.
    I was trying to use region to implement tile like templating following this nice article
    http://technology.amis.nl/blog/?p=1709
    Because of this access denied issue, seems this nice article is not that useful.

  • Script error when using Data parameter.

    Post Author: despec
    CA Forum: General
    Hello,I'm not sure what's going on here, but when I try to use a data parameter and run the report, upon clicking on the calander icon, I get a JS error saying that an object was expected in line 80.  A referring URL to a prompting htrml is listed, but I'm just not sure what I need to do to straighten this out.  Service pack perhaps? David

    Post Author: V361
    CA Forum: General
    I have had a similar problem with CR XI,  if I put the date in manually no worries, if I use the calendar, I get some sort of error as well,  "a runtime error has occured, error line 742", this happens on my CR XI on one machine, it is running on product version 11.5.8.963,  I also have CR XI, on a test server, running 11.5.8.826 and I do not have an issue with this one.  So... Long story made short, it may well be the service patch.  When I debug the error it tells me there is a "Microsoft Jscript runtime error"  It is pointing to c:/program files/business objects/common/3.5/crystalreportveiwers115/prompting/js/promptengine_calendar.js

  • CRViewer XI R2 Select Expert error when using dates

    I am using RDC.  CR XI R2 w/ SP2/3.  When I open any report with dates in the output and then use Select Expert and choose a date from the browse or dropdown list I get an error.
    "Error - the ) is missing"
    -Thanking you in advance.... Brent
    Edited by: Brent Lawrence on Jun 11, 2008 2:15 PM
    Edited by: Brent Lawrence on Jun 11, 2008 2:18 PM

    Hello Brent,
    I'm sorry the RDC viewer and the Select Expert do not meet your expectations.  The RDC was deprecated with the release of Crystal Reports 10.  Once the RDC was deprecated it stopped receiving development focus for issues like this.  The RDC remained available for two more versions (XI / XI R2) but it has now been retired with the release of CR 2008 a few months ago.
    I'm surprised to hear that the Select Expert wasn't showing this issue in CR XI (v11.0), unfortunately I won't be able confirm this.
    If you want to roll back to the viewer for CR XI (v11.0) you have to roll back entirely to work with CR XI (v11.0).  You should not mix versions of DLLs (e.g crviewer.dll v11.0 and craxdrt.dll v11.5).  This may work, but it would not be supported for any issues you might encounter.  You indicated in your post that you moved to CR XI R2 (v11.5) to get past another issue that was resolved in CR XI R2, so rolling back entirely won't be a solution.
    With the retirement of the RDC the recommended upgrade path for Windows application development is to move to the Crystal Reports .NET SDK.  The Crystal Reports .NET SDK is available in CR XI R2 so if you want to explore this SDK as well you can visit the online developer library for additional information.  Here's the link:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm
    Sincerely,
    Dan

  • No value for given parameters error when using command parameters in RDC.

    I am trying to create a report using RDC with a parameter in the query, but I keep getting "No value for given parameters" error.  Here is the code I use:
    Dim creport As CRAXDDRT.Report
    Dim appn As CRAXDDRT.Application
    Dim datcmd1 As New ADODB.Command
    Dim adocn As New ADODB.Connection   
    Dim sqltext As String
    Dim x As CRAXDDRT.ParameterFieldDefinition
    Set appn = New CRAXDDRT.Application
    Set creport = appn.NewReport
    Set x = creport.ParameterFields.Add("test", 2)
    x.AddCurrentValue 0
    sqltext = "SELECT Name FROM TestTable WHERE ID={?test}"
    Set adocn = New ADODB.Connection
    adocn.Open "Provider=SQLOLEDB;Data Source=myDB;UID=xxx;PWD=xxx;"
    Set datcmd1 = New ADODB.Command
    Set datcmd1.ActiveConnection = adocn
    datcmd1.CommandText = sqltext
    creport.Database.AddADOCommand adocn, datcmd1
    creport.SaveAs "test", crDefaultFileFormat
    Set datcmd1 = Nothing
    Set adocn = Nothing
    Set creport = Nothing
    Set appn = Nothing

    Hello, Paul;
    If you add your database connection to the command object and put fields on your report without the parameter, do you get the report you expect?
    These are version 8/8.5 samples but the code is the same:
    [Note 1|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    [Note 2|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    Once you have added the database connection follow that with the parameter code.
    [Note 3|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    [Note 4|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do]
    If you add the parameter and put the field on the report, can you pass the value successfully?
    Elaine

  • Tomcat error when using data source.

    Hello,
    I have a problem in that Tomcat does not seem to be recognising my DB Driver. I have tried linking a global data source to my application as well as adding a project specific one with no luck. Here is some of my files:
    //Web.xml
    <?xml version='1.0' encoding='UTF-8'?>
    <web-app
    version="2.4"
    xmlns="http://java.sun.com/xml/ns/javaee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
    http://java.sun.com/xml/ns/javaee/web-app_2_4.xsd"
    >
    <display-name>DataSourceExample</display-name>
    <servlet>
    <display-name>welcome</display-name>
    <servlet-name>welcome</servlet-name>
    <jsp-file>/welcome.jsp</jsp-file>
    </servlet>
    <servlet>
    <display-name>DataSourceExample</display-name>
    <servlet-name>DataSourceExample</servlet-name>
    <jsp-file>/DataSourceExample.jsp</jsp-file>
    </servlet>
    <welcome-file-list>
    <welcome-file>welcome.jsp</welcome-file>
    </welcome-file-list>
    <resource-ref>
    <res-ref-name>jdbc/DataSourceExample</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    </web-app>
    //server.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <Server>
      <Listener className="org.apache.catalina.core.AprLifecycleListener"/>
      <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"/>
      <Listener className="org.apache.catalina.storeconfig.StoreConfigLifecycleListener"/>
      <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"/>
      <GlobalNamingResources>
        <Environment
          name="simpleValue"
          type="java.lang.Integer"
          value="30"/>
        <Resource
          name="jdbc/DataSourceExample"
          type="javax.sql.DataSource"
          maxActive="4"
          maxIdle="2"
          username="hr"
          maxWait="5000"
          driverClassName="oracle.jdbc.driver.OracleDriver"
          password="secret"
          url="jdbc:oracle:thin:@127.0.0.1:1521:xe"/>
        <Resource
          auth="Container"
          description="User database that can be updated and saved"
          name="UserDatabase"
          type="org.apache.catalina.UserDatabase"
          factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
          pathname="conf/tomcat-users.xml"/>
      </GlobalNamingResources>
      <Service
          name="Catalina">
        <Connector
            port="8084"
            redirectPort="8443"
            minSpareThreads="25"
            connectionTimeout="20000"
            maxThreads="150"
            maxSpareThreads="75">
        </Connector>
        <Connector
            port="8009"
            redirectPort="8443"
            protocol="AJP/1.3">
        </Connector>
        <Engine
            defaultHost="localhost"
            name="Catalina">
          <Realm className="org.apache.catalina.realm.UserDatabaseRealm"/>
          <Host
              appBase="webapps"
              name="localhost">
             <Context
                path="/DataSourceExample"
              <ResourceLink
                global="jdbc/DataSourceExample"
                name="jdbc/DataSourceExample"
                type="javax.sql.DataSource"/>
            </Context>
          </Host>
        </Engine>
      </Service>
    </Server>
    //A java snippet I am using to access the DB
    InitialContext context = new InitialContext();
    DataSource dataSource =
    (DataSource) context.lookup("java:comp/env/jdbc/DataSourceExample");
    Connection conn = null;
    Statement stmt = null;
    ResultSet rset = null;
    try {
    conn = dataSource.getConnection();
    stmt = conn.createStatement();I also have my DB drivers in the commons/lib file. I know the connect string works fine because I can access the DB from Eclipse when writing standard Java code.
    This is a common problem and I have been searching Google for the last 3 hours but nothing I have tried has fixed my problem.
    I am using Tomcat 5.5 and J2EE 5. I am creating the links and resources in Tomcat manager.
    I don't get any logs or stacktrace, the only error I get is as follows in the returned JSP page:
    DataSource Example
    Cannot create JDBC driver of class '' for connect URL 'null'What am I doing wrong?
    Cheers
    EDIT:
    Actually there was some output from the shell. Here it is:
    org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of cla
    ss '' for connect URL 'null'
            at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDat
    aSource.java:780)
            at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSo
    urce.java:540)
            at org.apache.jsp.DataSourceExample_jsp._jspService(DataSourceExample_js
    p.java:61)
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
    .java:332)
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
    14)
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:252)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:173)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:213)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:178)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:126)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:105)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:107)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
    a:148)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
    :869)
            at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
    rocessConnection(Http11BaseProtocol.java:664)
            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
    int.java:527)
            at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
    lowerWorkerThread.java:80)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:684)
            at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.NullPointerException
            at sun.jdbc.odbc.JdbcOdbcDriver.getProtocol(JdbcOdbcDriver.java:507)
            at sun.jdbc.odbc.JdbcOdbcDriver.knownURL(JdbcOdbcDriver.java:476)
            at sun.jdbc.odbc.JdbcOdbcDriver.acceptsURL(JdbcOdbcDriver.java:307)
            at java.sql.DriverManager.getDriver(DriverManager.java:253)
            at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDat
    aSource.java:773)
            ... 22 more
    org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of cla
    ss '' for connect URL 'null'
            at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDat
    aSource.java:780)
            at org.apache.tomcat.dbcp.dbcp.BasicDataSource.getConnection(BasicDataSo
    urce.java:540)
            at org.apache.jsp.DataSourceExample_jsp._jspService(DataSourceExample_js
    p.java:61)
            at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
    .java:332)
            at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:3
    14)
            at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:252)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:173)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:213)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:178)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:126)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:105)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:107)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
    a:148)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
    :869)
            at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p
    rocessConnection(Http11BaseProtocol.java:664)
            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo
    int.java:527)
            at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFol
    lowerWorkerThread.java:80)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:684)
            at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.NullPointerException
            at sun.jdbc.odbc.JdbcOdbcDriver.getProtocol(JdbcOdbcDriver.java:507)
            at sun.jdbc.odbc.JdbcOdbcDriver.knownURL(JdbcOdbcDriver.java:476)
            at sun.jdbc.odbc.JdbcOdbcDriver.acceptsURL(JdbcOdbcDriver.java:307)
            at java.sql.DriverManager.getDriver(DriverManager.java:253)
            at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDat
    aSource.java:773)
            ... 22 moreI am using ojdbc14.jar driver and as I mentioned it is in commons/lib
    Message was edited by:
    helloWorld
    Message was edited by:
    helloWorld

    Putting the driver into [TOMCAT]/common/lib is sufficient.
    The error I think is not related to finding the driver, but actually not retrieving the correct connection string info.
    I never had much luck putting this definition info into server.xml
    I have had success putting it into a custom context.xml file for a web app as described [url http://tomcat.apache.org/tomcat-5.5-doc/config/context.html]here
    in individual files (with a ".xml" extension) in the $CATALINA_HOME/conf/[enginename]/[hostname]/ directory. The name of the file (less the .xml) extension will be used as the context path. Multi-level context paths may be defined using #, e.g. context#path.xml. The default web application may be defined by using a file called ROOT.xml.
    eg [TOMCAT]/conf/catalina/localhost/DataSourceExample.xml
    Hope this helps,
    evnafets

  • Compiling Error when using Default Parameters

    Hi
    I tried to compile some sources within a Development Environment of a CAD-System (CATIA V5). The compiler Version 4.2 is required. But only 5.3 (Forte C++ WS6U2) is available. So I compiled with option -compat (or -compat=4).
    The compiler stops at this line
    typedef CATBoolean (CATCommand::*ActionMethod)(void * iData = NULL) ;
    with the following Error
    "/usr/lpp/cat500/B07/./DialogEngine/ProtectedInterfaces/CATDiaAction.h", line 30:
    Error: Default parameters are not allowed for unsigned char(void*)
    When I modify the line to
    typedef CATBoolean (CATCommand::*ActionMethod)(void * iData) ;
    everything works fine. But the Problem is, that the modified Header File is part of the delivered Development Environment. Normally I should not modify such a file
    Compiler Call + Options:
    CC -c -DUNIX -DSunOS \
    -compat=4 library=rwtools7,iostream \
    -noex -xO2 -w -mt -xarch=v8 -xchip=ultra -KPIC \
    -D_LANGUAGE_CPLUSPLUS \
    -D_SUNOS_SOURCE -D_ENDIAN_BIG -DOS_SunOS \
    -D_MK_CONTNAME_=PSOLUserIntegrationPartApi \
    -D_MK_MODNAME_=PSOLUserIntegrationPartApi -D_MK_FWNAME_=External \
    -I/home/src/LocalInterfaces \
    -I/home/src/LocalGenerated/solaris_a \
    -I/home/src/ProtectedInterfaces \
    -I/home/src/ImportedInterfaces/solaris_a \
    -I/usr/dt/include \
    -I/usr/openwin/include \
    /home/src/PSOLUserIntegrationGeometryCmd.cpp ) \
    Any idea which compiler option I could use to avoid the Error I explained before ?
    Here some more Infos:
    Solaris7
    CC: Sun WorkShop 6 update 2 C++ 5.3 2001/05/15
    Thanks in Advance

    Hi
    I tried to compile some sources within a Development Environment of a CAD-System (CATIA V5). The compiler Version 4.2 is required. But only 5.3 (Forte C++ WS6U2) is available. So I compiled with option -compat (or -compat=4).
    The compiler stops at this line
    typedef CATBoolean (CATCommand::*ActionMethod)(void * iData = NULL) ;
    with the following Error
    "/usr/lpp/cat500/B07/./DialogEngine/ProtectedInterfaces/CATDiaAction.h", line 30:
    Error: Default parameters are not allowed for unsigned char(void*)
    When I modify the line to
    typedef CATBoolean (CATCommand::*ActionMethod)(void * iData) ;
    everything works fine. But the Problem is, that the modified Header File is part of the delivered Development Environment. Normally I should not modify such a file
    Compiler Call + Options:
    CC -c -DUNIX -DSunOS \
    -compat=4 library=rwtools7,iostream \
    -noex -xO2 -w -mt -xarch=v8 -xchip=ultra -KPIC \
    -D_LANGUAGE_CPLUSPLUS \
    -D_SUNOS_SOURCE -D_ENDIAN_BIG -DOS_SunOS \
    -D_MK_CONTNAME_=PSOLUserIntegrationPartApi \
    -D_MK_MODNAME_=PSOLUserIntegrationPartApi -D_MK_FWNAME_=External \
    -I/home/src/LocalInterfaces \
    -I/home/src/LocalGenerated/solaris_a \
    -I/home/src/ProtectedInterfaces \
    -I/home/src/ImportedInterfaces/solaris_a \
    -I/usr/dt/include \
    -I/usr/openwin/include \
    /home/src/PSOLUserIntegrationGeometryCmd.cpp ) \
    Any idea which compiler option I could use to avoid the Error I explained before ?
    Here some more Infos:
    Solaris7
    CC: Sun WorkShop 6 update 2 C++ 5.3 2001/05/15
    Thanks in Advance

  • "Too Few Arguments" error when using Date Format

    I'm attempting to format some date information. I'm taking the following query:
    mysql_select_db($database_adventcms, $adventcms);
    $query_rsDatedetails = sprintf("SELECT * FROM tbEvents WHERE id = %s", GetSQLValueString($colname_rsDatedetails, "int"));
    $rsDatedetails = mysql_query($query_rsDatedetails, $adventcms) or die(mysql_error());
    $row_rsDatedetails = mysql_fetch_assoc($rsDatedetails);
    $totalRows_rsDatedetails = mysql_num_rows($rsDatedetails);
    and changing it to this:
    mysql_select_db($database_adventcms, $adventcms);
    $query_rsDatedetails = sprintf("SELECT *, DATE_FORMAT(datestart, '%b') AS whichMonth, DATE_FORMAT(datestart, '%Y') AS whichYear, DATE_FORMAT(datestart, '%D') AS whichDate FROM tbEvents WHERE id = %s", GetSQLValueString($colname_rsDatedetails, "int"));
    $rsDatedetails = mysql_query($query_rsDatedetails, $adventcms) or die(mysql_error());
    $row_rsDatedetails = mysql_fetch_assoc($rsDatedetails);
    $totalRows_rsDatedetails = mysql_num_rows($rsDatedetails);
    When I run it I get this error:
    Warning: sprintf() [function.sprintf]: Too few arguments in /home/iasindia/public_html/beta/newsandevents/eventdetails.php on line 60
    Query was empty
    which refers to the query line above. The odd thing is that same query works on a different query like this:
    $query_rsDates = "SELECT *, DATE_FORMAT(datestart, '%b') AS whichMonth, DATE_FORMAT(datestart, '%Y') AS whichYear, DATE_FORMAT(datestart, '%D') AS whichDate FROM tbEvents WHERE status = 'Live' AND datestart >= CURDATE() ORDER BY datestart DESC";
    $query_limit_rsDates = sprintf("%s LIMIT %d, %d", $query_rsDates, $startRow_rsDates, $maxRows_rsDates);
    $rsDates = mysql_query($query_limit_rsDates, $adventcms) or die(mysql_error());
    $row_rsDates = mysql_fetch_assoc($rsDates);
    But I can't get it to work on the $query_rsDatedetails above.
    Any help would be appreciated!

    The sprintf function is interpreting the date format type as an input. There are several solutions:
    http://stackoverflow.com/questions/5835534/mysql-query-date-format-and-sprintf

  • Getting an error when using adobe photoshop CC, "Could not move the data because of a program error". Any idea on what this means?

    Getting an error when using adobe photoshop CC, "Could not move the data because of a program error". Any idea on what this means?

    Have no idea of what you were even doing in Photoshop my crystal ball is out for repairs so I can not see.  

  • Can anyone list problems/errors when uploading data using BDC's and BAPI's?

    Can anyone list the problems/errors when uploading data using BDC's and BAPI's?

    Hi,
    If you are actually creating a BDC to load data pls be more specific.
    Data format incorrect. Tab delimited/ etc
    Dates in wrong formats
    Currency incorrect formats
    Missing screens
    Wrong transaction code
    File not found,
    Missing Mandatory fields,
    Screen resoultion.
    You should always use refresh for your Bdcdata table.
    Loop at internal table.
    refresh Bdcdata.
    regards,
    sowjanya.

  • Oracle giving Block corruption errors when using CDC for sending the data to SQL Server 2012

    Hello Friends,
    We are facing an error while using CDC with Oracle. It is a "Block corruption" error, which indicates at some level of data corruption. We ran RMAN validate command to scan the database for corruption but it returned with no errors, however he
    Alert Log in Oracle is still coming up with the following error. Has anyone experienced this error when using Oracle Standard Edition and SQL 2012 ?
    Trace file e:\app\pulse-ad\diag\rdbms\orcl\orcl\trace\orcl_ora_5992.trc
    Oracle Database 11g Release 11.1.0.7.0 - 64bit Production
    Windows Server 2003 Version V5.2 Service Pack 2
    CPU                 : 4 - type 8664, 4 Physical Cores
    Process Affinity    : 0x0000000000000000
    Memory (Avail/Total): Ph:6782M/24575M, Ph+PgF:12203M/30844M
    Instance name: orcl
    Redo thread mounted by this instance: 1
    Oracle process number: 151
    Windows thread id: 5992, image: ORACLE.EXE (SHAD)
    *** 2013-12-12 03:04:33.655
    *** SESSION ID:(1281.3832) 2013-12-12 03:04:33.655
    *** CLIENT ID:() 2013-12-12 03:04:33.655
    *** SERVICE NAME:(orcl) 2013-12-12 03:04:33.655
    *** MODULE NAME:(xdbcdcsvc.exe) 2013-12-12 03:04:33.655
    *** ACTION NAME:() 2013-12-12 03:04:33.655
    Lost-write detected for sequence 70856. The lost-write starts occurring in block 11193. The current block being validating is 12930.
    Block dump of the first lost-write block:
    Flag: 0x1 Format: 0x22 Block: 0x00002bb9 Seq: 0x000114bf Beg: 0x94 Cks:0x68ee
    Dump of memory from 0x0000000598D06C00 to 0x0000000598D06E00
    598D06C00 00002201 00002BB9 000114BF 68EE8094  [."...+.........h]
    598D06C10 00085BF1 0023BDA1 000DE19C 000DE19C  [.[....#.........]
    598D06C20 0000000C 00000000 2209160A 5BF10000  [..........."...[]
    598D06C30 3EB10502 00C0F5CA 0031BDA1 00010205  [...>......1.....]
    598D06C40 02B22C6A 038A6D69 00000001 00000000  [j,..im..........]
    598D06C50 4D554407 30373230 35BB0206 001100AE  [.DUM0270...5....]
    598D06C60 0001040A 000D000E 038A6D69 56B25735  [........im..5W.V]
    598D06C70 729C0003 E19C0001 000C0006 000D0006  [...r............]
    598D06C80 02BB0502 00C0F5CD 0023BDA1 000A0002  [..........#.....]
    598D06C90 00C00013 000000D0 00030201 56B25736  [............6W.V]
    598D06CA0 03890001 00000000 00000000 002E0105  [................]
    598D06CB0 FFFF0003 00C0F5CD 56B25736 3EB10003  [........6W.V...>]
    598D06CC0 FFFF0024 0014000C 000C0018 00120014  [$...............]
    598D06CD0 09CC0058 E75B0022 0009000F 00085BF1  [X...".[......[..]
    598D06CE0 0024BDA1 000DE19D 000DE19D 0000000C  [..$.............]
    598D06CF0 00000000 2309160A 5BF10000 3EB10502  [.......#...[...>]
    598D06D00 00C0F5CD 0020BDA1 00010205 02B22C72  [...... .....r,..]
    598D06D10 03900974 00000019 00000000 3030300A  [t............000]
    598D06D20 33303030 06323132 AE35BB02 0B441100  [0003212...5...D.]
    598D06D30 0001040A 000D000E 03900974 56B25736  [........t...6W.V]
    598D06D40 729C0003 E19D0011 000C0006 000D0006  [...r............]
    598D06D50 02BB0502 00C0F5CD 0024BDA1 00EA0002  [..........$.....]
    598D06D60 00270016 000001FC 00032C01 56B25736  [..'......,..6W.V]
    598D06D70 00000001 00000000 30393007 002E0105  [.........090....]
    598D06D80 FFFF0003 00C0F5CD 56B25736 00000003  [........6W.V....]
    598D06D90 FFFF0025 00140052 000C0018 00070035  [%...R.......5...]
    598D06DA0 0003000A 00070003 0001001D 00030001  [................]
    598D06DB0 00010001 00010001 00010001 00010001  [................]
    598D06DC0 00010001 00010001 00010001 00010001  [................]
    598D06DD0 00010001 00000001 00010001 00010001  [................]
    598D06DE0 00010001 00000014 09720174 00000022  [........t.r."...]
    598D06DF0 0009000F 00085BF1 0025BDA1 000DE19A  [.....[....%.....]
    Block dump of the current block being validating:
    Flag: 0x1 Format: 0x22 Block: 0x00003282 Seq: 0x000114c8 Beg: 0x0 Cks:0x312a
    Dump of memory from 0x0000000598DDFE00 to 0x0000000598DE0000
    598DDFE00 00002201 00003282 000114C8 312A8000  [."...2........*1]
    598DDFE10 50424703 31303607 34353335 69745319  [.GBP.6015354.Sti]
    598DDFE20 6E696C72 72502067 6375646F 4C207374  [rling Products L]
    598DDFE30 4E206474 C3025650 0380013D 0457454E  [td NPV..=...NEW.]
    598DDFE40 4E1E09C2 1E09C204 10C2024E 1E09C204  [...N....N.......]
    598DDFE50 09C2044E C2024E1E 03C30510 021B0929  [N....N......)...]
    598DDFE60 C3053DC3 0F192602 2602C305 C3050F19  [.=...&.....&....]
    598DDFE70 0C1A6203 5102C105 C2041F4E 044E1E09  [.b.....QN.....N.]
    598DDFE80 4E1E09C2 0410C202 4E1E09C2 1E09C204  [...N.......N....]
    598DDFE90 10C2024E 2903C305 78071B09 011D0B71  [N......)...xq...]
    598DDFEA0 BF020101 1FBF0215 4E018001 53014E01  [...........N.N.S]
    598DDFEB0 0723002C 0B0C7178 0A3C3C18 30303030  [,.#.xq...<<.0000]
    598DDFEC0 33373030 4D033337 47034255 36075042  [007373.MUB.GBP.6]
    598DDFED0 38333936 4E113331 2065776B 74616C50  [693813.Nkwe Plat]
    598DDFEE0 6D756E69 56504E20 0B0AC303 4E038001  [inum NPV.......N]
    598DDFEF0 C2045745 0459512E 59512EC2 5253C203  [EW...QY...QY..SR]
    598DDFF00 512EC204 2EC20459 C2035951 C3055253  [...QY...QY..SR..]
    598DDFF10 1B092903 0B0AC303 3C04C305 C3053239  [.).........<92..]
    598DDFF20 32393C04 4F08C305 C105114F 1F4E5102  [.<92...OO....QN.]
    598DDFF30 512EC204 2EC20459 C2035951 C2045253  [...QY...QY..SR..]
    598DDFF40 0459512E 59512EC2 5253C203 2903C305  [.QY...QY..SR...)]
    598DDFF50 78071B09 01190A71 C0030101 C0034709  [...xq........G..]
    598DDFF60 8001330A 4E014E01 002C5301 71780723  [.3...N.N.S,.#.xq]
    598DDFF70 3C180B0C 30300A3C 30303030 33373337  [...<<.0000007373]
    598DDFF80 42554D03 50424703 31304207 344C5131  [.MUB.GBP.B011QL4]
    598DDFF90 6F725020 63657073 614A2074 206E6170  [ Prospect Japan ]
    598DDFFA0 646E7546 64724F20 44535520 30302E30  [Fund Ord USD0.00]
    598DDFFB0 04C30331 03800133 0557454E 5B1603C3  [1...3...NEW....[]
    598DDFFC0 03C30521 04215B16 1F4004C3 1603C305  [!....[!...@.....]
    598DDFFD0 C305215B 215B1603 4004C304 03C3051F  [[!....[!...@....]
    598DDFFE0 031B0929 043304C3 4D245AC2 245AC204  [).....3..Z$M..Z$]
    598DDFFF0 02C3054D 040A1A18 494002C1 1603C305  [M.........@I....]
    *** 2013-12-12 03:05:07.984
    ** LOGMINER WARNING - Invalidated 6 LCRs **
    Complete dump of first invalid START LCR follows:
    ++  LCR Dump Begin: 0x0000000532C004E0 - CANNOT_SUPPORT
         op: 255, Original op: 3, baseobjn: 0, objn: 233316, objv: 1
         DF: 0x00000002, DF2: 0x00000000, MF: 0x00000000, MF2: 0x00000000
         PF: 0x40000001, PF2: 0x00002000
         MergeFlag: 0x00, FilterFlag: 0x00
         Id: 0, iotPrimaryKeyCount: 3, numChgRec: 4
         NumCrSpilled: 0
         RedoThread#: 1, rba: 0x0114c8.0001c6ce.00d4
         scn: 0x0003.56b593be, xid: 0x0008.00c.00100d85, pxid: 0x0008.00c.00100d85
         ncol: 0newcount: 0, oldcount: 0
         LUBA: 0x3.c109c0.c.15.38f64
    Thanks
    Dee

    Hi Dee,
    Thank you for your question.
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
    Thank you for your understanding and support.
    Regards,
    Mike Yin
    TechNet Community Support

  • Error when using filter on date column in interactive report

    Hi,
    I'm getting the following error when using the filter on a date column. None of the criteria in the filter list work. All give me the same error but when I use the filter on a column feature (in the search bar) and use ">" and "<" those work.
    Can someone please help me????
    " Settledate is in the last 2 years
    ORA-30175: invalid type given for an argument ORA-02063: preceding line from MAINDATA "

    I have a similar problem . I have an interactive report based on resultset stored in a collection; since all the columns of a collection are of string datatype, I convert the columns to appropriate datatypes before its returned to the user; everything works as desired except when I try to filter on a data column , I get a ORA-01858: a non-numeric character was found where a numeric was expected .
    I turned on debug mode and am copying the output here , column c009 which is aliased to 'C' is the one that I am trying to apply the filter on
    select
    ROWID as apxws_row_pk,
    "C001",
    "C002",
    "C003",
    "C004",
    "C005",
    "C006",
    "C007",
    "C008",
    "CHECKOUTTIMESTAMP",
    "C010",
    "C011",
    "TO_NUMBER(C012)",
    "TO_NUMBER(C013)",
    "TO_NUMBER(C014)",
    "C015",
    "C016",
    "C017",
    "TO_NUMBER(C018)",
    "C",
    count(*) over () as apxws_row_cnt
    from (
    select * from (
    Select c001,c002,c003,c004,c005,c006,c007,c008,to_date(c009,'dd-MON-yy HH24.MI') checkouttimestamp,
    cast(to_date(c009,'dd-MON-yy HH24.MI') as timestamp) c,
    --TO_TIMESTAMP(c009,'dd-MON-yy HH24.MI') c1 ,
    trunc(to_date(c009,'dd-MON-yy HH24.MI')) checkoutdate,
    c010,c011,to_number(c012),to_number(c013), to_number(c014),c015,c016,c017,to_number(c018) from apex_collections where collection_name = 'IR_BOOKSALES'
    ) r
    where ("C" between systimestamp - ((1/24) :APXWS_EXPR_1) and systimestamp)*
    ) r where rownum <= to_number(:APXWS_MAX_ROW_CNT)
    order by ROWID
    0.04: IR binding: ":APXWS_EXPR_1"="APXWS_EXPR_1" value="1"
    0.04: IR binding: ":APXWS_MAX_ROW_CNT"="APXWS_MAX_ROW_CNT" value="2000"
    ORA-01858: a non-numeric character was found where a numeric was expected
    I have tried to convert c009 to date, timestamp and timestamp with time zone datatypes ; they all return the same error ,but all 3 datatypes work fine with systimestamp when I run them in sqlplus. Any help would be appreciated.

  • Error when sending data request

    Hi All,
       i have scheduled info package for different type data sources in bi 7.0, for this i am getting the data from  ecc 6.0 . all of this schedule's showing  the status "error when sending data request" with the following details.
    status
    diagnosis
    the request idoc could not be sent to the source system using rfc
    system response
    there is an idoc in the warehouse outbox that did not arrive in the ale inbox of the source system
      in step by step analysis it is showing
       rfc to source system successful showing with ash status
       data selection successfully stated  and finished ? show with red status
    in that details tab
    request : showing with green status
    everything ok
    extraction :showing with red status
    missing messages
    transfer(idocs and trfc) : missing messeges
    processing(data packet) : no data
        it is showing technical status with red as processing overdue
                           processing step call to source system
       so it is showing error with 0 from 0 records.
    please any body could help me for solving this error.
    regards,
    naveen.

    Hi
    Seems you have connectivity issues between the Source system and Bi system.
    You need to check whether you have data on R/3 side via RSA3 with Full / Delta Update Modes with Target System as your BI system.
    RSA13--Source System -- Right click Connection parameters/check/Restore/Activate again Say Replicate All Data Sources (If Possible , provided if you have time because it consumes lot of time )
    You need to check the tRFC Queue SM58/59 for any Stucks and WE19/20 for IDocs.
    Much of BASIS Issue .
    Hope it helps and clear

  • Error when using PPR in the OA page developed.

    HI,
    We are encountering an error when using PPR for the custom OA page being developed. I am using JDeveloper version 9.0.3.5(Build 1437) and Oracle Applications version 11.5.10.CU2. The scenario we are using PPR and the steps to reproduce the issue is mentioned below,
    Scenario:
    1) PPR is enabled for a custom OA page that is developed.
    2) The PPR is being used to enable or disable a particular field based on the
    selection of a value in a poplist in the same OA Page.
    Error replication steps:
    1) The user enters a value in the primary mandatory field which has to have
    unique value.
    2) The user selects a value from the poplist of a field which has PPR associated.
    3) The user enters data in all other mandatory fields in the OA page except one
    and tries to save the form and is shown a error message saying that all
    mandatory fields are not entered(This is correct). Now the page gets
    automatically refreshed and so the entered values are wiped off.
    4) Now if the user again enters a value in the primary mandatory field (as in
    step1) and if that value happens to be already existing value and then select
    a value from the poplist which has PPR enabled then immediately the error
    "Please enter a unique value" is entered, though we did not save the record.
    The unique record validation would happen only at the time of saving the
    record as per out business logic.
    5) But if in Step 4 if i had entered a unique value again then the above said error
    does not happen. There are few more similar kind of issues happening in the
    same page because PPR is enabled.
    Please note that this issue happens only when the page is deployed in a oracle
    applications instance and not in JDeveloper.
    Would this issue because of some cacheing problem? If Yes then how do we resolve it? Or would it be some other problem caused by our internal coding.
    Any inputs for resolving this issue would be highly appreciated.
    Thanks, Raja.

    What works in Jdeveloper should work when deployed in iAS as well.
    And PPR is an old feature given quite enough time to mature, so before we suspect OA we should investigate the code. What I do not understand is how the page refreshes in Step 3 and why does the user have to re-enter the fields just because he missed entering one mandatory field the last time.
    Mandatory field validations are client validations set by making the fields 'Required'. You obviously have client validations turned off on your PPR, otherwise you would be stuck with a javascript popup on PPR. The only way you can get the "Please enter unique..." error on PPR is Server Validation. So where have you placed this validation? If it is not in the EO, is it in the AM? And are you unconditionally calling the AM validation method in your processFormRequest? The PPR will also go through processFormRequest so I hope the PPR event is in a different if-else block.

Maybe you are looking for

  • How do I link my web site to a new computer/iweb versin ?

    I have owned multiple computers since putting up my website via iWeb. The original computer is now gone. Non of my current computers host the website any longer. The files are completely on the idisk server thus, I can't edit the site. How do I get m

  • How can I disable input on the ALV gridview?

    Hi everybody, I'm developing an application and would like for my users to be able to view the data in the ALV grid. Actually the only thing they may be able to do are delete rows from the ALV. I set the ALV grid to editmode so you can insert and del

  • HOWTO: Repairing a headless Arch Linux system that fails to boot

    The scenario... I have a "headless" (no monitor or input peripherals) Arch Linux computer that is connected to a local network via a wireless adapter, and accessed from other computers via SSH. Earlier today I accidentally broke its kernel so it did

  • Materialized Views created using ROLLUP

    Not sure if this one is best posted to a general Oracle forum, or even to the Discoverer Forum, but it's more to do with Data Warehousing so here goes... 1. If I create a materialized view, either with or without OWB, do I also need to separately cre

  • Is a controller required for roaming?

    We've been using single stand-alone Aironet AP's at our small branch offices with great reliability and success over the last 3 years.  However, we recently acquired an office with only a few clients (10), but it is an old warehouse so it has a lot o