Vendor Code 1317 Query execution was interrupted MySQL
An Error was encountered performing the requested operation:
Query execution was interrupted
Vendor Code 1317
Is this a network issue?
A database issue?
This is intermittent, for a period I can query tables then I try a new query or click on a different table, and the error appears.
Anyone else experience this?
Version 2.1.1.64.45
Java Platform 1.6.0_11
Hi Guys,
I couldn't initially replicate.
But when I downloaded the driver version you are using (mysql-connector-java-5.1.13-bin.jar) it happened straight away.
Example: select * from information_schema.tables
second execution > Query execution was interruptedI have no issues (with my limited testing) using the documented JDBC driver (mysql-connector-java-5.0.4-bin.jar)
http://downloads.mysql.com/archives/mysql-connector-java-5.0/mysql-connector-java-5.0.4.zip
We don't upgrade/test/support the latest version of each JDBC driver, only when we see a benefit.
This goes for JTDS for SQL Server and Sybase and the other third party JDBC drivers.
Appreciate that this is not easy to find or obvious.
Heres the list of JDBC versions.
http://download.oracle.com/docs/cd/E15846_01/doc.21/e15222/intro.htm#CHDIEGDD
Hope this helps.
Dermot
SQL Developer Team.
Similar Messages
-
30EA4 Problem using MySql: "Query execution was interrupted"
Any query executes the first time but a second execution always causes the error "Query execution was interrupted"
(Update: I just installed the prodcution release of sql delveloper 2.1.1.64.45 and have the same issue)
I am using MySql driver 5.1.15
Others seem to have a similar issue and I tries the older JDBC drivers but the 5.0.4 cause the connection to hang and the 5.0.8 caused the same problem "Query execution was interrupted"
Vendor Code 1317 Query execution was interrupted MySQL
I am using Windows7 64 bit (sql developer and jdk are 32 bit), see below
MySql version
-------------------------------------------------------+
| Variable_name | Value |
-------------------------------------------------------+
| innodb_version | 1.1.4 |
| protocol_version | 10 |
| slave_type_conversions | |
| version | 5.5.8 |
| version_comment | MySQL Community Server (GPL) |
| version_compile_machine | x86 |
| version_compile_os | Win64 |
-------------------------------------------------------+
SQL Develper Info:
About
Oracle SQL Developer 3.0.03
Version 3.0.03
Build MAIN-03.97
Copyright © 2005, 2011 Oracle. All Rights Reserved.
IDE Version: 11.1.1.4.37.59.36
Product ID: oracle.sqldeveloper
Product Version: 11.1.2.03.97
Version
Component Version
========= =======
Java(TM) Platform 1.6.0_24
Oracle IDE 3.0.03.97
Versioning Support 3.0.03.97
Properties
Name Value
==== =====
awt.toolkit sun.awt.windows.WToolkit
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.load.log.level CONFIG
class.transfer delegate
file.encoding Cp1252
file.encoding.pkg sun.io
file.separator \
http.agent Mozilla/5.0 (Java 1.6.0_24; Windows 7 6.1 x86; en_IE) ICEbrowser/v6_1_3
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.AssertTracingDisabled true
ide.bootstrap.start 7381246437329
ide.build MAIN-03.97
ide.conf C:\Program Files (x86)\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.config_pathname C:\Program Files (x86)\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf
ide.debugbuild false
ide.devbuild false
ide.extension.search.path sqldeveloper/extensions:jdev/extensions:ide/extensions
ide.firstrun true
ide.java.minversion 1.6.0_04
ide.launcherProcessId 2204
ide.main.class oracle.ide.boot.IdeLauncher
ide.patches.dir ide/lib/patches
ide.pref.dir C:\Users\mark\AppData\Roaming\SQL Developer
ide.pref.dir.base C:\Users\mark\AppData\Roaming
ide.product oracle.sqldeveloper
ide.shell.enableFileTypeAssociation C:\Program Files (x86)\sqldeveloper\sqldeveloper.exe
ide.splash.screen splash.gif
ide.startingArg0 C:\Program Files (x86)\sqldeveloper\sqldeveloper.exe
ide.startingcwd C:\Program Files (x86)\sqldeveloper
ide.user.dir C:\Users\mark\AppData\Roaming\SQL Developer
ide.user.dir.var IDE_USER_DIR
ide.vcs.noapplications true
ide.work.dir C:\Users\mark\Documents\SQL Developer
ide.work.dir.base C:\Users\mark\Documents
ilog.propagatesPropertyEditors false
java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment
java.awt.printerjob sun.awt.windows.WPrinterJob
java.class.path ..\..\ide\lib\ide-boot.jar
java.class.version 50.0
java.endorsed.dirs C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\endorsed
java.ext.dirs C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
java.home C:\Program Files (x86)\Java\jdk1.6.0_24\jre
java.io.tmpdir C:\Users\mark\AppData\Local\Temp\
java.library.path C:\Program Files (x86)\sqldeveloper;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\WIDCOMM\Bluetooth Software\;C:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files\TortoiseSVN\bin;C:\Program Files\SlikSvn\bin\;C:\Program Files (x86)\Java\jdk1.6.0_24\bin;C:\Program Files (x86)\OpenVPN\bin;C:\tools\apache-maven-3.0.2\bin;C:\tools\mysql-5.5.8-winx64\bin
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.protocol.handler.pkgs oracle.jdevimpl.handler
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_24-b07
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.6
java.util.logging.config.file logging.conf
java.vendor Sun Microsystems Inc.
java.vendor.url http://java.sun.com/
java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
java.version 1.6.0_24
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) Client VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Sun Microsystems Inc.
java.vm.version 19.1-b02
jdbc.library /C:/Program Files (x86)/sqldeveloper/jdbc/lib/ojdbc6.jar
line.separator \r\n
log.file.name ..//log/datamodeler.log
oracle.home C:\Program Files (x86)\sqldeveloper
oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG true
oracle.jdbc.mapDateToTimestamp false
oracle.translated.locales de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
oracle.xdkjava.compatibility.version 9.0.4
orai18n.library /C:/Program Files (x86)/sqldeveloper/jlib/orai18n.jar
os.arch x86
os.name Windows 7
os.version 6.1
path.separator ;
reserved_filenames con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
sqldev.debug false
sun.arch.data.model 32
sun.boot.class.path C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\resources.jar;C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\rt.jar;C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\sunrsasign.jar;C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\jsse.jar;C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\jce.jar;C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\charsets.jar;C:\Program Files (x86)\Java\jdk1.6.0_24\jre\lib\modules\jdk.boot.jar;C:\Program Files (x86)\Java\jdk1.6.0_24\jre\classes
sun.boot.library.path C:\Program Files (x86)\Java\jdk1.6.0_24\jre\bin
sun.cpu.endian little
sun.cpu.isalist pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
sun.desktop windows
sun.io.unicode.encoding UnicodeLittle
sun.java2d.ddoffscreen false
sun.jnu.encoding Cp1252
sun.management.compiler HotSpot Client Compiler
sun.os.patch.level
svnkit.sax.useDefault true
user.country IE
user.dir C:\Program Files (x86)\sqldeveloper\sqldeveloper\bin
user.home C:\Users\mark
user.language en
user.name mark
user.timezone Europe/Paris
user.variant
windows.shell.font.languages
Extensions
Name Identifier Version Status
==== ========== ======= ======
Check For Updates oracle.ide.webupdate 11.1.1.4.37.59.36 Loaded
Code Editor oracle.ide.ceditor 11.1.1.4.37.59.36 Loaded
Component Palette oracle.ide.palette1 11.1.1.4.37.59.36 Loaded
Data Miner oracle.dmt.dataminer 11.2.0.1.9.96 Loaded
Database Connection Support oracle.jdeveloper.db.connection 11.1.1.4.37.59.36 Loaded
Database Object Explorers oracle.ide.db.explorer 11.1.1.4.37.59.36 Loaded
Database UI oracle.ide.db 11.1.1.4.37.59.36 Loaded
Diagram Framework oracle.diagram 11.1.1.4.37.59.36 Loaded
Diagram Javadoc Extension oracle.diagram.javadoc 11.1.1.4.37.59.36 Loaded
Diagram Thumbnail oracle.diagram.thumbnail 11.1.1.4.37.59.36 Loaded
Diff/Merge oracle.ide.diffmerge 11.1.1.4.37.59.36 Loaded
Extended IDE Platform oracle.javacore 11.1.1.4.37.59.36 Loaded
External Tools oracle.ide.externaltools 11.1.1.4.37.59.36 Loaded
File Support oracle.ide.files 11.1.1.4.37.59.36 Loaded
Help System oracle.ide.help 11.1.1.4.37.59.36 Loaded
History Support oracle.jdeveloper.history 11.1.1.4.37.59.36 Loaded
Import/Export Support oracle.ide.importexport 11.1.1.4.37.59.36 Loaded
Index Migrator support oracle.ideimpl.indexing-migrator 11.1.1.4.37.59.36 Loaded
JDeveloper Runner oracle.jdeveloper.runner 11.1.1.4.37.59.36 Loaded
JViews Registration Addin oracle.diagram.registration 11.1.1.4.37.59.36 Loaded
Log Window oracle.ide.log 11.1.1.4.37.59.36 Loaded
Mac OS X Adapter oracle.ideimpl.apple 11.1.1.4.37.59.36 Loaded
Navigator oracle.ide.navigator 11.1.1.4.37.59.36 Loaded
Object Gallery oracle.ide.gallery 11.1.1.4.37.59.36 Loaded
Oracle IDE oracle.ide 11.1.1.4.37.59.36 Loaded
Oracle SQL Developer oracle.sqldeveloper 11.1.2.03.97 Loaded
Oracle SQL Developer - 3rd Party Database Browsers oracle.sqldeveloper.thirdparty.browsers 11.1.1.03.97 Loaded
Oracle SQL Developer - DBA Navigator oracle.sqldeveloper.dbanavigator 11.1.1.03.97 Loaded
Oracle SQL Developer - Extras oracle.sqldeveloper.extras 1.1.1.03.97 Loaded
Oracle SQL Developer - File Navigator oracle.sqldeveloper.filenavigator 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations Antlr3 Translator oracle.sqldeveloper.migration.translation.core_antlr3 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations Application Migration oracle.sqldeveloper.migration.application 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations Core oracle.sqldeveloper.migration 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations DB2 oracle.sqldeveloper.migration.db2 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations DB2 Translator oracle.sqldeveloper.migration.translation.db2 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations Microsoft Access oracle.sqldeveloper.migration.msaccess 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations Microsoft SQL Server oracle.sqldeveloper.migration.sqlserver 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations MySQL oracle.sqldeveloper.migration.mysql 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations Sybase Adaptive Server oracle.sqldeveloper.migration.sybase 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations T-SQL Translator oracle.sqldeveloper.migration.translation.core 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations Teradata oracle.sqldeveloper.migration.teradata 11.1.1.03.97 Loaded
Oracle SQL Developer - Migrations Translation UI oracle.sqldeveloper.migration.translation.gui 11.1.1.03.97 Loaded
Oracle SQL Developer - Object Viewer oracle.sqldeveloper.oviewer 11.1.1.03.97 Loaded
Oracle SQL Developer - Real Time SQL Monitoring oracle.sqldeveloper.sqlmonitor 11.1.1.03.97 Loaded
Oracle SQL Developer - Reports oracle.sqldeveloper.report 11.1.1.03.97 Loaded
Oracle SQL Developer - Scheduler oracle.sqldeveloper.scheduler 11.1.1.03.97 Loaded
Oracle SQL Developer - Schema Browser oracle.sqldeveloper.schemabrowser 11.1.1.03.97 Loaded
Oracle SQL Developer - SearchBar oracle.sqldeveloper.searchbar 11.1.1.03.97 Loaded
Oracle SQL Developer - Snippet oracle.sqldeveloper.snippet 11.1.1.03.97 Loaded
Oracle SQL Developer - Spatial oracle.sqldeveloper.spatial 11.1.1.03.97 Loaded
Oracle SQL Developer - TimesTen oracle.sqldeveloper.timesten 2.0.0.03.97 Loaded
Oracle SQL Developer - Tuning oracle.sqldeveloper.tuning 11.1.1.03.97 Loaded
Oracle SQL Developer - Unit Test oracle.sqldeveloper.unit_test 11.1.1.03.97 Loaded
Oracle SQL Developer - User Extensions Support oracle.sqldeveloper.userextensions 11.1.1.03.97 Loaded
Oracle SQL Developer - Worksheet v2 oracle.sqldeveloper.worksheet 11.1.1.03.97 Loaded
Oracle SQL Developer - XML Schema oracle.sqldeveloper.xmlschema 11.1.1.03.97 Loaded
Oracle SQL Developer Data Modeler oracle.datamodeler 3.0.0.665 Loaded
Oracle SQL Developer Data Modeler - Reports oracle.sqldeveloper.datamodeler_reports 11.1.1.03.97 Loaded
PROBE Debugger oracle.jdeveloper.db.debug.probe 11.1.1.4.37.59.36 Loaded
Peek oracle.ide.peek 11.1.1.4.37.59.36 Loaded
Persistent Storage oracle.ide.persistence 11.1.1.4.37.59.36 Loaded
Property Inspector oracle.ide.inspector 11.1.1.4.37.59.36 Loaded
QuickDiff oracle.ide.quickdiff 11.1.1.4.37.59.36 Loaded
Replace With oracle.ide.replace 11.1.1.4.37.59.36 Loaded
Runner oracle.ide.runner 11.1.1.4.37.59.36 Loaded
VHV oracle.ide.vhv 11.1.1.4.37.59.36 Loaded
Versioning Support oracle.jdeveloper.vcs 11.1.1.4.37.59.36 Loaded
Versioning Support for Subversion oracle.jdeveloper.subversion 11.1.1.4.37.59.36 Loaded
Virtual File System oracle.ide.vfs 11.1.1.4.37.59.36 Loaded
Web Browser and Proxy oracle.ide.webbrowser 11.1.1.4.37.59.36 Loaded
XML Editing Framework IDE Extension oracle.ide.xmlef 11.1.1.4.37.59.36 Loaded
audit oracle.ide.audit 11.1.1.4.37.59.36 Loaded
classpath: protocol handler extension oracle.jdeveloper.classpath 11.1.1.0.0 Loaded
jdukshare oracle.bm.jdukshare 11.1.1.4.37.59.36 Loaded
mof-xmi oracle.mof.xmi 11.1.1.4.37.59.36 Loaded
oracle.ide.dependency oracle.ide.dependency 11.1.1.4.37.59.36 Loaded
oracle.ide.indexing oracle.ide.indexing 11.1.1.4.37.59.36 Loaded
palette2 oracle.ide.palette2 11.1.1.4.37.59.36 Loaded
status oracle.ide.status 11.1.1.4.37.59.36 Loaded
Edited by: user501466 on 19-Mar-2011 03:21Hi Dermot,
Some clarification.
I have tried these 3 drivers below with the following results:
5.0.4 First Query succeeds, Second gives error "Unknown prepared statement handler (131072) given to mysqld_stmt_execute". At this point I can exit SQL Developer. If I run it a third time then the query does not complete and any attempt to exit SQL Developer results in "Connection is currently busy, try again?" and ultimately I have to kill it.
5.0.8 First Query succeeds, Second Query fails with Query execution was interrupted. Subsequent queries give the same result.
5.1.15 Same as 5.0.8
I tried your suggestion, removed the driver, restarted, installed the 5.0.4 driver and restated and ran the test,
(I added a drop table so I could run it repeatedly) and it works repeatedly if I choose "Run as script F5".
DROP TABLE table1;
CREATE TABLE table1(col1 int);
INSERT INTO Table1 values(1);
SELECT * FROM table1;
SELECT * FROM table1;
But If I execute the query "select * from table1" using "Run Statement Ctrl-Enter" twice then I get problem behaviour as described above.
I looked in the logfile for SQLDeveloper but it was empty.
I also tried creating a new database as root and connecting as root (same result)
I also tried the NightlyBuild of 5.1 and 6.0 but gave the same result as 5.1.5.
I have two other tools for accessing MySql: Toad and MySql workbench, both of which work but I've used SQL Developer with Oracle for some years and would like to keep using it.
I just tried connecting to a remote MySQL database and that seems to work without problems.
I'm thinking it may be related to some incompatibility between SQLDeveloper and the MySQL installed locally.
I'll try another version....
Ok I installed a 32 bit version of MySql 5.5.10. I thought things were working but now I still get the problem but it is much more intermittent.
Now I can get it by modifying the query ie.
select * from table1; (works repeatedly untill followed by a change to the query)
select * from table1 order by col1; (fails)
Another case
select * from table1 order by col1; (works repeatedly)
select * from table1 order by col1 asc; (fails first time)
very weird...
Edited by: user501466 on 26-Mar-2011 06:19 -
Query execution was not successful in discoverer viewer
hi all,
disco viewer is showing an error like "Query execution was not successful. -Failed to connect to database" when i ran a report(in which rank function is included), where the same report is running fine is disco desktop. am just wondering are there any settings to be changed in desktop to run like these reports in disco viewer?
ur help in this regard wil gr8ly appreciated.
thanks very much in advance.
_Rakesh Reddy.hi,
thanks very much for your reply.
the problem is with rank function it seems, its opening in disco viewer & running in disco plus also when i remove that rank calculation. but its not even running is disco plus with that rank function.
am using 10.1.2.48.18 version of disco desktop with 10g DB.
thanks. -
How to change the vendor code in intercompany PO
actually PO was created with wrong vendor code. after this MIGO done, all the product sale out MIRO done invoice done. Now at this point *what we 'll have to do to change the vendor code*
HI,
actually PO was created with wrong vendor code. after this MIGO done, all the product sale out MIRO done invoice done. Now at this point **what we 'll have to do to change the vendor code**
it is not possible to change vendor code in PO
you have to do new PO for that
Regards
Kailas Ugale -
Failed to retrieve data from the database. [Database Vendor Code: 116]
My report is using Java Bean class as datasource and the Java Bean class calls a report-specific Java program to return a result set.
Report fails to generate and the error message is
Failed to retrieve data from the database. Details: [Database Vendor Code: 116 ]
Can anyone tell me what error code 116 means?
Thanks.The problem is solved internally. Our team implemented a result set data structure that incorrectly converts a Double into a String before passing it to Crystal Report for rendering. Data Vendor Code I met yesterday was the outcome of illegal class conversion.
I have a side question; our development team would like to use log4j to log method calls invoked during rendering. Our problem could be solved earlier if we knew getString() was invoked instead of getDouble() during rendering. We thought of specifying the full path of log4j jar file in CRConfig.xml but we don't know how to configure CR to write logging information into a specific file location.
Please help.
Thanks -
Query execution not traced in ST03N
Dear performance gurus,
we want to perform some query performance checks in our BW 3.5 system. To measure the impact of aggregates and eliminate the OLAP cache effect on runtime we execute the queries from the query monitor (rsrt). With "execute and debug" we can decide for each execution if we want to use agrregates or not and we can switch of OLAP cache usage.
For what ever reason these executions are not shown in ST03N (Expert mode). If we run the same queries from BEx Analyzer, runtime can be analyzed. But in BEx we don't have the necessary options regarding aggregates and OLAP cache.
Are you aware of any settings in RSRT or ST03N to get the executions out of the query monitor also displayed in ST03N??
Thanks in advance
Thomaswhile running the report user is facing the below error.
"query execution was not successful"This is a generic error which is reported in few docs.
Discoverer Viewer fails Moving Pivot Table Columns: Query Execution was not Successful [ID 948027.1]
Query Execution Not Successful Error In Viewer, Runs In Desktop And Plus [ID 404974.1]
Discoverer 10g (10.1.2.3) Plus/Viewer Cumulative Patch 7 (9112482) Readme For Linux/Unix [ID 821844.1]
Launching A Worksheet In Discoverer 10g / 11g Plus/Viewer On Linux Fails With 'Contact with backend server lost' [ID 871012.1]
Discoverer 10g (10.1.2.3) Plus/Viewer Cumulative Patch 4 (7595032) Readme For Windows [ID 822183.1]
Discoverer 10g (10.1.2.3) Plus/Viewer Cumulative Patch 3 (7319096) Readme For Linux/Unix [ID 761997.1]
Running Some Reports In Discoverer Plus/Viewer 10.1.2.2 Are Failing With "An error occurred while attempting to perform the operation. The operation did not complete successfully." [ID 733603.1]
Discoverer Viewer 10g (10.1.2.3) Passes A Blank Parameter As 'NULL' When Using A 'Drill to Link' [ID 820003.1]
Query Execution was not Successful Error When Running a Workbook [ID 550684.1]
-ORA-01722 Invalid number.Please check the data type of the column or the data type of the records in the table/view and make sure it match the data type of the column.
Thanks,
Hussein -
Hello,
I encountered an error in the Payment Wizard screen as I was creating an Outgoing Payment for petty cash expenses. On the “Recommendation Report” screen, I clicked “Non-Included Trans.” and saw that one of the vendors (Vendor Code: WILCO) has the following error:
“The document amount is greater than the max. amount allowed in the payment methods linked to the BP”
Upon checking, the “PCF-W” Payment Method linked to WILCO does not have any restrictions, nor does WILCO have any credit/commitment limit set. I have also appropriately defined the Dummy Business Partner Bank (under Payment Terms) as well as checked the “Included” box for PCF-W on the Payment Run-Payment Methods screen.
Could anyone please help me on this?
Salamat,
CatPS - have found other posts indicating that clips smaller than 2s or sometimes 5s, or "short files" can cause this. Modern style editing often uses short takes ! Good grief I cannot believe Apple. Well I deleted a half a dozen short sections and can export, but now of course the video is a ruined piiece of junk and I need to re-do the whole thing, the sound etc. which is basically taking as much time as the original. And each time I re-do it I risk again this lovely error -50 and again trying to figure out what thing bugs it via trial and error instead of a REASONABLE ERROR MESSAGE POINTING TO THE CLIP IT CAN'T PROCESS. What a mess. I HATE this iMovie application - full of BUGS BUGS BUGS which Apple will not fix obviously, since I had this product for a few years and see just hundreds of hits on Google about this error with disappointed users. Such junk I cannot believe I paid money for it and Apple does not support it with fixes !!!
If anyone knows of a GOOD reasonably priced video editing program NOT from APPLE I am still looking for suggestions. I want to do more video in future, but obviously NOT with iMovie !!! -
FMS with query to limit the no. of warehouse seen based on Vendor code
Hi Experts!
I have created the following query:
SELECT T0.[WhsCode], T0.[WhsName] FROM OWHS T0 INNER JOIN POR1 T1 ON T0.WhsCode = T1.WhsCode WHERE substring( T0.[WhsCode] ,1,2) = substring( $[$4.0.0] ,2,2)
I attached this query to a FMS in the Warehouse column during Purchase Order.
The should be function of the FMS should limit the warehouses seen based on the vendor code.
Example:
Vendor Code 1: VBSAN01
Vendor Code 2: VBTAN01
Warehouse Codes: BSFin, BSHR, BTFin, BTHR
So, whenever the vendor VBSAN01 is selected during PO and when a warehouse is chosen through the FMS, the user should only be see the warehouses BSFin and BSHR. Also, if the vendor VBTAN01 is selected during PO and when a warehouse is chosen through the FMS for the item, the user should see the warehouses BTFin and BTHR.
However, the FMS above does not work.
Can anyone help me resolve this issue?
Sincerely,
Jen
Edited by: Jennifer Tinagan on Jan 15, 2010 3:57 AMJen,
Try this
SELECT T0.[WhsCode], T0.[WhsName]
FROM [dbo].[OWHS] T0
WHERE substring(T0.[WhsCode] ,1,2) = substring($[$4.0.0] ,2,2)
Suda -
From sql developer I am trying to connect to database in my local machine. It shows the following below error. Any suggestions?
An error was encountered performing the requested operation:
Listener refused the connection with the following error:
ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
Vendor code 12505lsnrctl results are as shown below
C:\Users\ndodd_000>lsnrctl status
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 18-AUG-2013 17:40
:25
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Produ
ction
Start Date 18-AUG-2013 15:29:41
Uptime 0 days 2 hr. 10 min. 50 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File C:\app\ndodd_000\product\11.2.0\dbhome_1\network\admin
\listener.ora
Listener Log File c:\app\ndodd_000\diag\tnslsnr\Vamsi\listener\alert\log
.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "sysdba" has 1 instance(s).
Instance "sysdba", status READY, has 1 handler(s) for this service...
Service "sysdbaXDB" has 1 instance(s).
Instance "sysdba", status READY, has 1 handler(s) for this service...
The command completed successfully
lsnrctl service results
LSNRCTL for 64-bit Windows: Version 11.2.0.1.0 - Production on 18-AUG-2013 17:
:20
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "sysdba" has 1 instance(s).
Instance "sysdba", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:186 refused:0 state:ready
LOCAL SERVER
Service "sysdbaXDB" has 1 instance(s).
Instance "sysdba", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: VAMSI, pid: 904>
(ADDRESS=(PROTOCOL=tcp)(HOST=Vamsi)(PORT=49237))
The command completed successfully -
Active directory report getting Database Vendor Code: -2147217911
Hello,
I've created a report with CR 2008 to query some user names from Active Directory (Windows 2008 R2)
The report works fine on my computer (with my user)
works fine when I deploy it to BO XI 3.1.
But doesn't work when I schedule it.
I don't change the database logon user when scheduling. (it's the same when I run it online successfully)
I get the following error
Error in File ~tmp459c68e0c50eda0.rpt: Failed to retrieve data from the database. Details: [Database Vendor Code: -2147217911 ]
what can I do?
Thank you
Erman Ulusoy
Edited by: erman ulusoy on Apr 11, 2011 2:39 PMSo here is the answer,
I've forgot to uncheck save data with report. So the report was not working also on BO.
So with a domain user it has worked.
thank you -
DataDirect Netsuite adapter error - database vendor code : 405
Hi CR Gurus,
There was a Crystal Report developed for a client by someone else.I am having to maintain it.
The report uses ODBC driver for connection and uses DataDirect netsuite adapter as a connection.
I receive following error while trying to parse the query in command Object
" Failed to retrieve data from the database.Details: S1000:[DataDirect][ODBC OpenAccess SDK driver][OpenAccess SDK SQL Engine] Query Validation failed. ODBC does not support company/role mixing. error ticket# hsp5k2eme4h1m8308kdf[405]."
This report was working as expected until 2 days back - by 9th March 2014. Nothing has changed at front-end or back-end of the report.
Please Help!!!The message "Vendor code xxx" is coming from the database client, unmodified by the CR engine. E.g.; see if you can look up the error in your database documentation.
Re:
There was a Crystal Report developed for a client by someone else
Are you running this report in the CR designer, or in an application from a 3rd party?
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter -
BEX problem: F4 help to filter values of F4 value list at query execution
Hi all,
description of the problem we face:
at query execution the selection pop-up appears and "ask" for values. To select those values I try the F4 button and receive a long list of e.g. vendors. (Our vendors are compounded to a special characteristic due to several sources.) To select now several individual values from the list I choose the filter button and try to shorten the list by searching with values of the atributes, here by 0NAME of the vendor. From the result shown I choose one value compounded to a unique value of the special characteristic, there are values for vendors which are the same, but with different compound values and of course different meanings.
When I mark one vendor value shown with his compounded value in front of the row, I expect the compounded value will be transferred to the selection pop-up too, but it won't!!
Only the vendor is transferred, so the result of the query shows more information then wanted.
Any solutions for this?
Thank you in advanceHi Guido,
I dont know any direct solution to your problem, a workaround is
May be add a variable on the Special characterstics, and ask users to enter the Special character also along with your Vendor Code.
As while selecting the vendor user already know special charater value, then can just enter it in Selection screen and restrict the output.
Thanks
CK -
Crystal Add on Failed to retrieve data from the DB Vendor Code: 2812
Hi everyone
Im using Sap Business One Version 2007A SP00 PL49, SQL 2005 and Crystal Reports Basic for Sap Business One (Add on 2.0.0.7). Whenever i try to generate a report from SBO the system displays the following message "Failed to retrieve data from the database DETAILS: Database Vendor Code: 2812"
The scenario is that, according to the Colombia's product local expert, Is not possible to create Stored Procedures, Views, Functions or anything in the customer productive database, in order to improve the performance of the query i created other DB where i created an stored procedure, after that, i called it from Crystal where it's working ok. But when i try to generate it from SBO it show the message promted.
Someone knows what could be happening
I'll be thankfulHi everyone
My Stored Procedure contains the following code "annar.dbo.OIBT c", where Annar is the database name.
When i execute the report in Crystal directly is working without Issues, There everything is ok, the Stored Procedure parameters, sorts, cross tab. When i try to executed it from SBO it shows the prompt error.
The connection was OLE DB (ADO). I created an ODBC connection with the following settings
- SQL autentication based on Id and password created by user, in this case sa
- "Use Identifiers between "" ANSI " and "Use Null, filled and ANSI warning " are ticked.
- Execute character data conversion.
Microsoft SQL Native Client Versión 09.00.1399
Nombre del origen de datos: Bisynf
Descripción del origen de datos: BisynfDW
Servidor: BISYNFGER
Usar seguridad integrada: No
Base de datos: (Default)
Idioma: (Default)
Cifrado de datos: No
Certificado de servidor de confianza: No
Multiple Active Result Sets (MARS): No
Realizar conversión de los datos de caracteres: Yes
Registrar consultas de larga ejecución: No
Estadísticas del controlador de registro: No
Usar configuración regional: No
Usar identificadores entrecomillados ANSI: Yes
Usar nulos, rellenos y advertencias ANSI: Yes
Right now with Those setting is running ok again in Crystal Reports but when i try to execute from SBO the error has changed the error now is "connection could not be opened", Report Name in this case "Informe Stock Total" { 1D2DBDC5-41DE-43C0-A23C-391E7AEF2A37}.rpt
Tks a lot -
Database not getting connected from sql developer(Vendor code 20)
Am getting the following error while connecting db from sql dev
"network adapter could not establish connection vendor code 20"
FYI - database is up and running fine in sqlplus, and am not able to find the service in lnsrctl. As am using OIM db as service name while its showing CLRExtProc.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Prod
ction
Start Date 21-NOV-2012 20:28:48
Uptime 0 days 0 hr. 27 min. 32 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File d:\app\Karan\product\11.2.0\dbhome_1\network\admin\li
tener.ora
Listener Log File d:\app\karan\diag\tnslsnr\Karan-PC\listener\alert\log
xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 3 handler(s) for this service...
The command completed successfully
Also contents of tnsnames.ora and listener.ora are shown below
# listener.ora Network Configuration File: d:\app\Karan\product\11.2.0\dbhome_1\network\admin\listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = d:\app\Karan\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:d:\app\Karan\product\11.2.0\dbhome_1\bin\oraclr11.dll")
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
ADR_BASE_LISTENER = d:\app\Karan
---------------------------------------------tnsnames.ora-----------------------------------------------------
# tnsnames.ora Network Configuration File: d:\app\Karan\product\11.2.0\dbhome_1\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
OIMDB =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = OIMDB)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
FYI - yesterday all database was running fine. As I was trying to do some modifications in tnsnames.ora and listener.ora, I was unable to save them, as permission is denied.
Kindly suggest.....
Regards,
KKstop everything OIM, Database and listener.
now open your listener.ora and put below ( backup the original one somewhere)
LISTENER=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
(ADDRESS=(PROTOCOL=ipc)(KEY=extproc))))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(GLOBAL_DBNAME=oimdb)
(ORACLE_HOME=d:\app\Karan\product\11.2.0\dbhome_1)
(SID_NAME=OIMDB)))
LISTENER=
(DESCRIPTION=
(ADDRESS_LIST=
(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1521))
(ADDRESS=(PROTOCOL=ipc)(KEY=extproc))))
SID_LIST_LISTENER=
(SID_LIST=
(SID_DESC=
(GLOBAL_DBNAME=oimdb)
(ORACLE_HOME=d:\app\Karan\product\11.2.0\dbhome_1)
(SID_NAME=oimdb))
(SID_DESC=
(SID_NAME=plsextproc)
(ORACLE_HOME=d:\app\Karan\product\11.2.0\dbhome_1)
(PROGRAM=extproc)))
1.set ORACLE_SID at command prompt . like set ORACLE_SID=OIMDB
2.start listener (lsnrctl start)
3.start database.
4. check this query ( select instance_name from v$instance;)
5. check listener status( lsnrctl status)
if still doesn't work try same step with the original listener.ora file -
Concurrency errors on query execution!
Our application fails to pass our final benchmark (last step before go live).
Everything works well in development or integration environments with a single or few users, but it fails to pass the final benchmark which simulates intensive workload with an automated web test tool.
The following exception is thrown when a very simple ReadObjectQuery is executed.
Stack trace (messages translated from French):
Exception [TOPLINK-6089] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.QueryException
Exception description: The expression has not been initialized correctly. Only a single ExpressionBuilder should be used for a query. For parallel expressions, the query class must be provided to the ExpressionBuilder constructor, and the query's ExpressionBuilder must always be on the left side of the expression..
Expression : [
Base medialog2.persistence.appel.CategorieAppel]
Query : ReadObjectQuery(medialog2.persistence.appel.CategorieAppel)
at oracle.toplink.exceptions.QueryException.noExpressionBuilderFound(QueryException.java:723)
at oracle.toplink.expressions.ExpressionBuilder.getDescriptor(ExpressionBuilder.java:164)
at oracle.toplink.internal.expressions.DataExpression.getMapping(DataExpression.java:202)
at oracle.toplink.internal.expressions.QueryKeyExpression.getMapping(QueryKeyExpression.java:211)
at oracle.toplink.internal.expressions.QueryKeyExpression.getFieldValue(QueryKeyExpression.java:185)
at oracle.toplink.internal.expressions.ParameterExpression.getValue(ParameterExpression.java:181)
at oracle.toplink.internal.expressions.ParameterExpression.valueFromObject(ParameterExpression.java:281)
at oracle.toplink.internal.expressions.RelationExpression.doesConform(RelationExpression.java:60)
at oracle.toplink.internal.expressions.LogicalExpression.doesConform(LogicalExpression.java:38)
at oracle.toplink.expressions.Expression.doesConform(Expression.java:1061)
at oracle.toplink.internal.identitymaps.IdentityMapManager.getFromIdentityMap(IdentityMapManager.java:553)
at oracle.toplink.internal.queryframework.ExpressionQueryMechanism.checkCacheForObject(ExpressionQueryMechanism.java:412)
at oracle.toplink.queryframework.ReadObjectQuery.checkEarlyReturnImpl(ReadObjectQuery.java:223)
at oracle.toplink.queryframework.ObjectLevelReadQuery.checkEarlyReturn(ObjectLevelReadQuery.java:504)
at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:564)
at oracle.toplink.queryframework.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:779)
at oracle.toplink.queryframework.ReadObjectQuery.execute(ReadObjectQuery.java:388)
at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:2073)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:988)
at oracle.toplink.publicinterface.Session.executeQuery(Session.java:960)
at fr.cnamts.jb.TopLinkQuery.executeQuery(Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at fr.cnamts.jb.ObjectQuery.getObject(Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at fr.cnamts.jb.Finder.getObject()Ljava.lang.Object;(Unknown Source)
at medialog2.metier.appel.CategorieAppel.executerSelectNumAppel(CategorieAppel.java:102)
at medialog2.presentation.accueil.MenuAccueilAction.execute(MenuAccueilActionjava:220)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:446)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:266)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1077)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:348)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:7047)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3902)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2773)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
Context:
- Two-tier model, with pure Pojo objects (no EJB or JDO).
- A singleton server session, using TopLink internal pool for JDBC connections
- A separate client session per request.
- A singleton ReadObjectQuery created during class loading and then executed by subsequent requests (without any further changes).
- No thing else was shared between sessions.
- There is no transaction in progress (unit of works are not used in this case).
- The query expression was of the form: “where a = ? and b = ?” (int values), nothing else.
Environment:
- TopLink : 10g Release 3 (10.1.3.1.0) (Build 061004)
- JDBC : Oracle JDBC driver Version 10.2.0.2.0
- Database : Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
- App server : Weblogic
- JVM : jrockit81 sp6_142_10
Reproducibility:
- This error was reproducible only on the benchmark platform using an automated test tool and only if logs are turned off (production environment simulation).
- On the same platform, if logs are turned on, then the problem did not occur (different execution timing).
- Despite many attempts, we where not able to isolate a simple test case to demonstrate the problem.
Sorry, I cannot provide a simple and suitable test case (the application is huge), but the code substance, after being flattened, is like the following one:
// Query creation (done at class loading time)
final static ReadObjectQuery q;
static {
final ExpressionBuilder expr = new ExpressionBuilder();
q = new ReadObjectQuery( Data.class, expr );
q.setReferenceClass( Data.class );
q.setSelectionCriteria(
expr.get( "a" ).equal( expr.getParameter( "p1" ) )
.and( expr.get( "b" ).equal( expr.getParameter( "p2") ) )
q.addArgument( "p1" );
q.addArgument( "p2" );
q.setFetchSize( 1 );
// somewhere in the application,
// the query is executed like this (each thread uses a distinct session) :
final Vector parameters = new Vector( 2 );
parameters.add( value1 );
parameters.add( value2 );
final Object result = session.executeQuery( q, parameters );
// nothing else !!!
After lot of investigations, we can certify that nothing else, except execution timing, is involved in this case…
My impressions:
- The returned error message is totally out of context. The expression is well formed. Only one ExpressionBuilder is used in this query construction. The expression is very simple ( where a=? and b=?), no parallel expressions are involved. And, the same code works without high concurrency…
- When looking at TopLink source code level, we can see that the exception is thrown because the session associated with the expression builder has been lost (it’s value is null). Neither the application nor the framework can change this information (it is protected). It seams that somewhere, TopLink code did not handle properly threads safety and alter it.
- The fact that changing application execution timing (by turning logs on/off) corroborates this.
A TAR has been opened on metalink but the case is very hard to reproduce…
Did someone have encountered similar problems before ?Passing the Data class to the ExpressionBuilder constructor is normally reserved for parallel expressions. TopLink does not handle these expressions in the same way. It does not check same things on them and expect a root ExpressionBuilder to be left without class. TopLink sets the class on a root ExpressionBuilder only on internal clones for a temporary usage. I am afraid of side effects. Did somebody have some return off experience on this?
I don’t see what using named queries will change in this case, but I will try. We have used named queries in the past but; our experience show clearly that using named queries is slower and less reliable (using a string to identify the query is one more source off error for developers).
Here, the main problem is that changing anything can remove the error but, without an explanation on its origin, there is no real warranty.
Thank you.
Maybe you are looking for
-
How do I add a contact / recipient to an SMS on iPhone 5s? It's easy on Android, but I've not sussed it on the iPhone - can't create a group etc. Tried to create a group on Mac, but it either doesn't exist or won't sync to the phone with usb, nor w
-
Auto release of Invoicing plan item when milestone actual date is entered
Hi all, I wonder if anyone can help me on this. I have configured the system to automatically release an invoicing plan in a PO once the milestone attached to that invoicing plan is confirmed in the project by entering the actual date. For some rea
-
Can I change back from iCloud to MobileMe?
I bought the new iPhone 4S to replace my old iPhone 3G two months ago. I then learned that to sync with my Macbook, I had to upgrade it to Lion. Now my OFFICE for Mac no longer works. Ok, the kids can work around that. Today, I made the change over t
-
Hi, There is an requirement where i need to generate report on aging.. ie.. amount unpaid by the customer to be identified on different aging 0-15 days 16-30 days 31-45 days 56-90 days so the output of the report show be like above on different again
-
Version 2.0 I have a report that I'm having difficulities in getting a layout for. This report is a sales analysis that can be fiscal or calendar year. The look I'm after is: Account Nov-05 Dec-05 Jan-06 Feb-06 Mar-06 Apr-06 May-06