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
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: -219401Timothy,
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. -
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,
JasonIt 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. -
"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? DavidPost 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 -
"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 -
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:
helloWorldPutting 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 -
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. -
Dbms_crypto - avoid error when using different key in lower environment
Hello Experts,
We are using Oracle 11.2.0.2. We are planning to implement dbms_crypto to encrypt few columns. We clone the data from production to lower environment ( DEV, QC).
For the lower environments, we do not want to get the sensitive data from production and do not plan to use same key. Rather than getting an error when using differnt key, is it possible to get a different resultset back.
In other words, we want the implementation to be same across environments but want to use a diffent key in lower environment and get different result (or garbage).
Any suggestions would be greatly appreciated.
While testing this logic, I am getting following error when using differnt key to decrypt. It works fine if I use same key.
Error at line 1
ORA-28817: PL/SQL function returned an error.
ORA-06512: at "SYS.DBMS_CRYPTO_FFI", line 67
ORA-06512: at "SYS.DBMS_CRYPTO", line 44
ORA-06512: at line 19
DECLARE
l_credit_card_no VARCHAR2(19) := '1234 5678 9012 3456';
l_ccn_raw RAW(128) := UTL_RAW.cast_to_raw(l_credit_card_no);
l_key RAW(128) := UTL_RAW.cast_to_raw('abcdefgh');
l2_key RAW(128) := UTL_RAW.cast_to_raw('12345678');
l_encrypted_raw RAW(2048);
l_decrypted_raw RAW(2048);
BEGIN
DBMS_OUTPUT.put_line('Original : ' || l_credit_card_no);
l_encrypted_raw := DBMS_CRYPTO.encrypt(src => l_ccn_raw,
typ => DBMS_CRYPTO.des_cbc_pkcs5,
key => l_key);
DBMS_OUTPUT.put_line('Encrypted : ' || RAWTOHEX(UTL_RAW.cast_to_raw(l_encrypted_raw)));
l_decrypted_raw := DBMS_CRYPTO.decrypt(src => l_encrypted_raw,
typ => DBMS_CRYPTO.des_cbc_pkcs5,
key => l2_key); --**Using different key to decrypt
DBMS_OUTPUT.put_line('Decrypted : ' || UTL_RAW.cast_to_varchar2(l_decrypted_raw));
END;Thank you.If I understand what you are trying to do ... and I may not ... it is not going to work.
SQL> DECLARE
2 l_credit_card_no VARCHAR2(19) := '1612-1791-1809-2605';
3 l_ccn_raw RAW(128) := utl_raw.cast_to_raw(l_credit_card_no);
4 l_key1 RAW(128) := utl_raw.cast_to_raw('abcdefgh');
5 l_key2 RAW(128) := utl_raw.cast_to_raw('zyxwvuts'); -- alternate key used to attempt a different decryption
6
7 l_encrypted_raw RAW(2048);
8 l_decrypted_raw RAW(2048);
9 BEGIN
10 dbms_output.put_line('Original : ' || l_credit_card_no);
11
12 l_encrypted_raw := dbms_crypto.encrypt(l_ccn_raw, dbms_crypto.des_cbc_pkcs5, l_key1);
13
14 dbms_output.put_line('Encrypted : ' || RAWTOHEX(utl_raw.cast_to_raw(l_encrypted_raw)));
15
16 l_decrypted_raw := dbms_crypto.decrypt(src => l_encrypted_raw, typ => dbms_crypto.des_cbc_pkc
s5, key => l_key1);
17
18 dbms_output.put_line('Key1 : ' || utl_raw.cast_to_varchar2(l_decrypted_raw));
19
20 l_decrypted_raw := dbms_crypto.decrypt(src => l_encrypted_raw, typ => dbms_crypto.des_cbc_pkc
s5, key => l_key2);
21
22 dbms_output.put_line('Key2 : ' || utl_raw.cast_to_varchar2(l_decrypted_raw));
23 END;
24 /
Original : 1612-1791-1809-2605
Encrypted : 3534443342333642353141363846384237463732384636373943374630364234323243334539383042323135
Key1 : 1612-1791-1809-2605
DECLARE
ERROR at line 1:
ORA-28817: PL/SQL function returned an error.
ORA-06512: at "SYS.DBMS_CRYPTO_FFI", line 67
ORA-06512: at "SYS.DBMS_CRYPTO", line 44
ORA-06512: at line 20 -
Weblogic 9.2 error when using spring framework and taglibs.
I am getting the following error when using spring binding for a command form class.
Class ExCommandForm
private String firmCode;
public String getFirmCode ()
public void setFirmCode ()
In my jsp I have the following
<spring:bind path="exCommandForm.firmCode">
<input name="<c:out value="${status.expression}"/>" type="text" value="<c:out value="${status.value}"/>" >
</spring:bind>
Ps. exCommandForm is the commandForm declaration in my SiimpleFormController.
When I deploy the application to weblogic 9.2 I get the following error :
<Apr 26, 2007 4:34:44 PM BST> <Error> <HTTP> <BEA-101017> <[weblogic.servlet.int
ernal.WebAppServletContext@1f601c6 - appName: 'BDRui', name: 'BDRui', context-pa
th: '/BDRui'] Root cause of ServletException.
java.lang.ClassCastException: javax.servlet.jsp.jstl.core.LoopTagSupport$1Status
at jsp_servlet._web_45_inf._jsp.__tradesearch._jspService(__tradesearch.
java:1075)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run
(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecuri
tyHelper.java:127)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.jav
a:283)
Ps. Deploying application on Tomcat 5.23 works.
Can anyone help on this ?
cheers in advance.
More Info - Using Weblogic 9.2 on UNIX, servlet 2.4, jstl 1.1
regards
Edited by kings_citi at 04/26/2007 9:03 AM
Edited by kings_citi at 04/26/2007 10:35 AM
Edited by kings_citi at 04/26/2007 10:36 AMThe problem doesn't look like it has anything to do with wappers per se. The stack indicates that the JVM died when the persistent store tried to invoke a standard Java synchronize operation. JVM crashes need to be analyzed by a JVM expert, so I second the suggestion to solicit help from JVM experts and/or filing a case with customer support. In the mean-time, you can probably work-around the issue by either (A) ensuring you have a recent version of the JVM installed, or (B) temporarily switching to the Sun JVM.
Regards,
tom
Edited by: TomB on Sep 17, 2010 2:33 PM -
FSG Error when using segment override
Hi,
I have the following error when using segment override :
General Ledger: Version : 12.0.0
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
RGRARG module: Financial Statement Generator
+---------------------------------------------------------------------------+
Current system time is 26-APR-2012 11:17:22
+---------------------------------------------------------------------------+
Starting Program RGRARG.
Arguments are:
0 RGRARG - RGRARG
1 username/password - username/password
2 0 - 0
3 Y - Y
4 Data Access Set ID - 1030
5 Chart of Accounts Id - 101
6 ADHOC Prefix - FSG-ADHOC-
7 Industry - C
8 Flex Code Id - GLLE
9 Default Ledger ID -
10 Report ID - 1011
11 Row Set ID - 3461
12 Column Set ID - 1018
13 Period of Interest - SEP-11
14 Unit of Measure ID - IDR
15 Rounding Option - C
16 Override Values - ----DIV3---000000
17 Content Set ID -
18 Row Order ID -
19 Report Display Set ID -
20 Output Option - R
21 Exceptions Flag - N
22 Miniumum Display Level -
23 Effective Date -
24 Parameter Set ID - 1011
25 Maximum Page Length - 58
26 Sub-Request Run ID - -998
27 Application Shortname - SQLGL
Message level is: Normal
rgrini() 26-APR-2012 11:17:22 rgrini.build_per_arr:
Query for period set name from GL_ACCESS_SETS
SELECT period_set_name
FROM GL_ACCESS_SETS
WHERE access_set_id = 1030
rgrini.build_per_arr:
period set name from GL_ACCESS_SETS:
ACCOUNTING
rgrini.build_per_arr:
Query for period names from GL_PERIODS
SELECT period_name,
to_number(to_char(end_date,'YYYYMMDD'))
FROM GL_PERIODS
WHERE period_set_name = :p_value
ORDER BY NLSSORT(period_name,'NLS_SORT=BINARY') ASC
control->report_id = 1011
control->row_set_id = 3461
control->column_set_id = 1018
control->row_order_id = 0
control->content_set_id = 0
control->display_set_id = 0
control->parameter_set_id = 1011
control->resp_lvl = 0
control->round_option = C
control->output_option = R
control->excp = FALSE
control->sub_req_run_id = -998
control->appl_id = 101
control->id_flex_code = GLLE
control->ldg_val_set_id = 1010673
control->ledger_id = 0
control->ledger_name =
control->ledger_currency =
control->access_set_id = 1030
control->security_segnum = 0
control->per_cnt = 162
control->runtime_currency = IDR
control->resp_id = 50386
control->resp_appl_id = 101
control->enforce_security = TRUE
control->sec_rules = NULL
control->reduced_ranges = NULL
control->num_reduced_ranges = 0
control->max_char_width = 1
control->total_num_cols = 0
control->page = NULL
<< rgrini() 26-APR-2012 11:17:22
rgranl() 26-APR-2012 11:17:22Current date and time: Thu Apr 26 11:17:22 2012
rgrgsa() 26-APR-2012 11:17:22
<< rgrgsa() 26-APR-2012 11:17:22
rgrdrs() 26-APR-2012 11:17:22req_id_str =
809694
rgrdpg.rgrdpg: Unable to read value for profile option RG_DEBUG_ON..
rgrprt.rgrprt: Defaulting value for profile option RG_DEBUG_ON to FALSE..
rgrgas() 26-APR-2012 11:17:22 Entering code to get axis set 1018
<< rgrgas() 26-APR-2012 11:17:22
rgrgas() 26-APR-2012 11:17:22 Entering code to get axis set 3461
<< rgrgas() 26-APR-2012 11:17:23
rgrgrp() 26-APR-2012 11:17:23
<< rgrgrp() 26-APR-2012 11:17:23
COA Structure :
Segment: LEDGER_SEGMENT : Ledger
Segment: SEGMENT1 : COMPANY
Segment: SEGMENT2 : ACCOUNT
Segment: SEGMENT3 : PRODUCT
Segment: SEGMENT4 : DIVISION
Segment: SEGMENT5 : DEPOT
Segment: SEGMENT6 : COST CENTER
Segment: SEGMENT7 : FUTURE
Segment value security is enforced for Financial Statement Generator reporting.
rgrrsr() 26-APR-2012 11:17:23
rgrrsf() 26-APR-2012 11:17:23
<< rgrrsf() 26-APR-2012 11:17:23
<< rgrcrl() 26-APR-2012 11:17:23
<< rgrrsr() 26-APR-2012 11:17:23
rgrpsr() 26-APR-2012 11:17:23The COMPANY segment has security enabled. However, there are no security rules assigned to this responsibility for this segment, or this segment uses a dependent value set. All COMPANY values will be processed.
The ACCOUNT segment has security enabled. However, there are no security rules assigned to this responsibility for this segment, or this segment uses a dependent value set. All ACCOUNT values will be processed.
The PRODUCT segment has security enabled. However, there are no security rules assigned to this responsibility for this segment, or this segment uses a dependent value set. All PRODUCT values will be processed.
The DIVISION segment has security enabled. However, there are no security rules assigned to this responsibility for this segment, or this segment uses a dependent value set. All DIVISION values will be processed.
The DEPOT segment has security enabled. However, there are no security rules assigned to this responsibility for this segment, or this segment uses a dependent value set. All DEPOT values will be processed.
The COST CENTER segment has security enabled. However, there are no security rules assigned to this responsibility for this segment, or this segment uses a dependent value set. All COST CENTER values will be processed.
The FUTURE segment has security enabled. However, there are no security rules assigned to this responsibility for this segment, or this segment uses a dependent value set. All FUTURE values will be processed.
<< rgrpsr() 26-APR-2012 11:17:23
rgrdrs.rgrdrs: Getting value for profile option EXPAND_PARENT_VALUE equal No.
PERF0005: Oracle error detected in get_def_ldgs - ORA-01403: no data found
<x get_def_ldgs() 26-APR-2012 11:17:24
<x get_def_ldgs() 26-APR-2012 11:17:24
rgrgax() 26-APR-2012 11:17:24 rgrgax:get_axes
Starting axis query.
rgumsg:
fdnwsc() is used by default
rgrgax.get_conts - Prepare:
ORA-00936: missing expression
Current date and time: Thu Apr 26 11:17:24 2012
Entered sauulc with code 1 from line 3333 of file rg/lib/rgrgax.c.
+---------------------------------------------------------------------------+
Start of log messages from FND_FILE
+---------------------------------------------------------------------------+
+---------------------------------------------------------------------------+
End of log messages from FND_FILE
+---------------------------------------------------------------------------+
+---------------------------------------------------------------------------+
Executing request completion options...
Output file size:
0I have followed the following notes but it didn't help me
R12: FSG: PERF0005 Error Detected In GET_DEF_LDGS - ORA-01403: No Data Found Common Issues [ID 1368691.1]
Generating a FSG Report Application Does Not Find Profile Values for RG_LOGFILE_DETAIL_LEVEL and EXPAND_PARENT_VALUE [ID 165339.1]
does anyone know how to solved the problem ??
please advise
thxI have followed the following notes but it didn't help me
R12: FSG: PERF0005 Error Detected In GET_DEF_LDGS - ORA-01403: No Data Found Common Issues [ID 1368691.1]
Generating a FSG Report Application Does Not Find Profile Values for RG_LOGFILE_DETAIL_LEVEL and EXPAND_PARENT_VALUE [ID 165339.1]
does anyone know how to solved the problem ??If none of the docs help, please log a SR.
Thanks,
Hussein -
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. -
"Could not complete scan" error when using Windows Fax and Scan
"Could not complete scan" error when using Windows Fax and Scan with a HP OfficeJet Pro 8600 Plus All-In-One network printer.
Printing is fine.
When using the HP Scan application, get the error "Scanner communication cannot be established".
When scanning from the printer itself it fails with the same message. In addition the printer panel displays the error:
"The scan could not be completed due to one or more of the following issues:
Connection to the computer is lost
The scanner is in use
OCR application is not installed"
My PC is a HP Compaq Pro 6300 SFF 64bit, with ethernet cable to the router and ethernet cable to the printer
Originally ran Windows 8.0; recently upgraded to Windows 8.1.
Older separate Netgear router and modem was replaced with a newer Netgear Router/Modem, but both experienced the same problem.
There was no problem with the original Windows 8.0 configuration and only after upgrading to 8.1 did the problem emerge.
On my home netowrk I have an HP ProBook 6550b running Windows 7 sp1 that uses wireless to get to the Router, and it has no problem with scanning.
I have followed the recommendations of a number of articles relating to this issue (including: http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&lc=en&docname=c02915410&product=4323659#N94), but there has been no change in behaviour.
The printer has a static IP address;
Power settings have been adjusted to Never for Turn off Hard Disk; Sleep and Hybrid Sleep.
Scanning has been tested with all firewalls and antivirus turned off and in Selective Startup.
The printer has been plugged directly into the power socket.
With all these settings the Windows 8.1 cannot scan while the Windows 7 laptop with wireless to the router has no problems.
Appreciate any insights into this problem.
I can only surmise that the problem is a compatibility problem between the 8600 Printer and Windows 8.1.
Any ideas?
regards,
MotorbikeYou can determine if there is compatiblity between the printer and PC by checking the Windows 8.1 hardware compatibility list. I have done that and it is shown to be fully compatible. If the driver you installed before was only the basic driver,it would explain the lack of scan and copy functionality.
Download and install the Windows 8.1 full feature driver and software on the HP Compaq Pro 6300 SFF 64bit PC .
http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=bi-108858-4&cc=us&dlc=en&lc=en...
****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
2015 Microsoft MVP - Windows Experience Consumer -
LabVIEW PDA reports COREDLL.DLL error when using Call Library Function Node
I'm trying to build a LV PDA app that calls an external DLL file built using embedded visual C. When configuring the Call Library Function node I select the stub DLL, configure the I/O parameters and select OK. When the configuration dialog closes I get the following error:
LabVIEW: LabVIEW.exe - Unable to Locate Component
This application has failed to start because COREDLL.DLL was not found. Re-installing the application may fix this problem.
I do not get this error when using the configuration dialog in the example VIs.
Any suggestions as to the cause and/or the solution?
Thanks,
RyanHello -
When you create a PDA VI that calls a DLL, you must include the .c or .lib file that corresponds to the DLL. Take a look at these documents:
LabVIEW PDA Module Build Errors with VIs that Call DLLs
Why Do I Receive Errors When Calling a C++ DLL from a Call Library Node Using the LabVIEW PDA Module...
How To Call External Code in LabVIEW PDA for Palm OS
H
ow To Call External Code in LabVIEW PDA for Pocket PC
Hope this helps!
S Vences
Applications Engineer
National Instruments -
Error when used hana studio to import Delivery Unit
HANA version:1.00.80.00.391861
HANA studio version:1.80.3
Plantform :SUSE Linux Enterprise Server 11.2
I meet a error when used hana studio followed that steps to import Delivery Unit:
Launch HANA Studio
Select your HANA instance
On the Quick launch page, choose Content -> Import
Now Select HANA Content -> Delivery unit.
Choose Next
Select the server, browse the Service DU (Service DU on server: SYS/global/hdb/content): HCO_INA_SERVICE.tgz
Who can help me what shoud i do.
thanks.I has Resolved.
You must set the OS directory privileges which has listed on the picutre to 777 by 'chmod' command ,
if it's 775 or others.
Maybe you are looking for
-
Hello, I just got myself a new 13-inch Macbook Pro retina display. I've been reading about the first battery charge and how to use it later on, but I have another question on the first charge: For the first charge, do I need to turn the Macbook off o
-
Send Correspondence Customer Statement Via Email
Hi SAP Gurus, Currently, I already succeed with user exit EXIT_RFKORIEX_001 to send customer statement (F.27) via email. The program can attached PDF Files in the email that sent by SAP. However, the email that sent is blank without body text. Does a
-
First thing I noticed was that after every attempt to send a text, immediatly after tapping send I was flashed back to my home screen - no text saved or sent. So I tried reset. I tried from icloud , but wouldnt work, just kept prompting me for apple
-
No valuation type at Goods Receipt Purchase Order
Hi, No valuation type at Goods Receipt Purchase Order and have to manually input the valuation type. How to default it so that the valuation type is populated automatically and gray out without any changes to the valuation type ? Thanks.
-
I have a computer workstation that consists of a GC760AV/GC459AV w/ an HP L1710 monitor. I teach language and I need to be able to record my students. My other, older computers have a mic built into the monitors. I can't record, so I started to look