ODBC/oracle problem
To further clarify the problem I mention below, the specific error I get
with integer datatypes is "Driver Not Capable". Thanks.
Date: Wed, 07 May 1997 11:53:54 -0500
To: forte users
From: Tim Clotworthy <[email protected]>
Subject: ODBC/oracle problem
I have a problem related to accessing a personal oracle database with Forteservice objects via ODBC. The problem is that I cannot do inserts into
number fields with integers or integer nullables. The only thing I can get
to work are textdata types. Has anyone else had this problem? AM I using too
old a version of ODBC driver (Oracle71 version 1.11.0002)?
>
Thanks. Tim.
This is a Forte bug I reported a few months ago. It is being tracked
under Forte call number 26402. Scheduled to be fixed in R3. There are
no work arounds that I am aware of.
Kalvin Inman
Andersen Windows
From: Tim Clotworthy[SMTP:[email protected]]
Sent: Wednesday, May 07, 1997 12:09 PM
To: [email protected]
Subject: ODBC/oracle problem
To further clarify the problem I mention below, the specific error I get
with integer datatypes is "Driver Not Capable". Thanks.
Date: Wed, 07 May 1997 11:53:54 -0500
To: forte users
From: Tim Clotworthy <[email protected]>
Subject: ODBC/oracle problem
I have a problem related to accessing a personal oracle database with Forteservice objects via ODBC. The problem is that I cannot do inserts into
number fields with integers or integer nullables. The only thing I can get
to work are textdata types. Has anyone else had this problem? AM I using too
old a version of ODBC driver (Oracle71 version 1.11.0002)?
Thanks. Tim.
Similar Messages
-
Crystal Reports XI Developer in 64 bits - ODBC Oracle
Hello
Operating System: Microsoft Windows Server 2003 R2 Standard x64 Edition Service Pack 2
Crystal Version: Crystal Reports XI Developer Full Product (Spanish)
ODBC installed: Oracle 9.2 through c:WINDOWSSysWOW64odbcad32. (32-bit ODBC Administrator)
Test succeeded from 32-bit ODBC Administrator
Problem: In Crystal Reports, when I choose the previous data source appears the error:
No se pudo abrir la conexion.
Detalles: 08004:[Oracle][ODBC][Ora]ORA-12154: TNS:no se ha podido resolver el nombre de servicio
Código del proveedor de base de datos: 12154
Thanks
Edited by: Josep Maria Barón Isanta on Feb 20, 2009 1:09 PMHi Josep,
You can follow the below link.
Just check if the version of oracle is supported with 64 bit version.
Else just follow the below:
The issue has been identified and tracked.If Business Objects Enterprise is installed to a location containing brackets in the folder path, for example, C:\Program Files (x86)\, it will be unable to connect to any Oracle database. Certain Oracle database clients such as version 10.2.0.2 or 10.1.0.2., do not function properly with any application which has brackets in its folder path.
Resolution :
There are two options to resolve this:
When installing Business Objects Enterprise, please choose an install path that does not contain brackets such as C:\Program Files x86\ or contact Oracle support for an updated database client.
This issue is Oracle bug 3807408 and can be fixed by applying 10.2.0.1 Patch 6. This can be downloaded from Meta link if you have an account:
http://updates.oracle.com/ARULink/PatchDetails/process_form?patch_num=5059238
Just copy the link and down load the patch from the oracle, for this you need to be registered in the oracle product download site.
Hope this helps you.
Regards,
Naveen. -
ODBC Oracle 10g on BOE XI 3.1
Hello
I want to know if the installation of BOE has a ODBC driver for ORACLE in the installation route.
Or ORACLE has its own driver?
I checked the SAP Note 1292899 to download data direct drivers, but I can't find the link on SAP support portal.....
Thanks in advance
Oscar BarrientosHi,
I downloaded the Data Direct driver for Crystal Reports and installed it on the path of the BO installation.
I modified the odbc.ini with the next lines:
[ODBC Data Sources]
CLUB=DataDirect 5.3 Oracle Wire Protocol Driver
[CLUB]
Driver=/home/bobj/boe31/bobje/enterprise120/linux_x86/odbc/lib/CRora23.so
Description=DataDirect 5.3 Oracle Wire Protocol Driver
HostName=172.16.5.203
ServiceName=CLUB
PortNumber=1521
LogonID=club
Password=***
In the universe, I selected the Generic ODBC datasource for the connection.
But when I create a Webi report, I got this message:
A database error occured. The database error text is: [Crystal Reports][ODBC Oracle Wire Protocol driver][Oracle]TNS-12514: TNS: listener could not resolve SERVICE_NAME given in connect descriptor. (wis 10901)
Regards,
Oscar Barrientos -
Hi all,
when i am installing ECC 5.0 i got below error.
"odbc connectivity problem, error executing sql command"
what may be the reason.
plz give me some solution.
vinnu.Hi Vinay
Check if your database is up and running. -
Help on how to install ODBC Oracle drivers
I need to install ODBC drivers for Oracle on a W95 machine.
I tryed to install ODBC Oracle drivers on my W95 machine but when
I extracted the zipped file from ora8052 it created a directory
called win32; then I searched for the 'setup' executable...
without to find one...
In the readme file, on 'software required' I read that I need the
Oracle Net8 client and teh Oracle8 installer to install ODBC.
Where can I find Oracle Net8 client and teh Oracle8 installer
without downloading all the try and by version of Oracle??
nullFulvio,
you have to get hold of a CD containing Oracle Client software;
you should ask Oracle for it. SQL*Net itself is free for
owners of the server license, but I do not know how Oracle
handles users of the free development kits. If you plan to
use Oracle for software development I strongly recommend to enter
one of the partner programmes; it's not free, but very good value
for money.
Thomas
Fulvio Drago (guest) wrote:
: I need to install ODBC drivers for Oracle on a W95 machine.
: I tryed to install ODBC Oracle drivers on my W95 machine but
when
: I extracted the zipped file from ora8052 it created a directory
: called win32; then I searched for the 'setup' executable...
: without to find one...
: In the readme file, on 'software required' I read that I need
the
: Oracle Net8 client and teh Oracle8 installer to install ODBC.
: Where can I find Oracle Net8 client and teh Oracle8 installer
: without downloading all the try and by version of Oracle??
null -
Problem Access2000-- ODBC-- Oracle 9.2 reexecuting on scrolling down result
I have the following problem:
I have an access 2000 frontend-db with linked oracle tables and views via Oracle-ODBC driver Version 9.2. I have relative complex linked Oracle-views which are collecting data from 4 different tables with outer joins.
When I open one of this Oracle-views inside my Access-Frontend (in Access-Table-Register), I get the result after a few seconds. that's ok.
But, if I want to scroll through the resultset in access, it seems, that everytime I push the 'pagedown' key, the view has to be executed again on my oracle database server. I can see that in the performance log of the Win2000 server from my Oracle-databaseserver.
I testet the oracle-ODBC-parameter 'Prefetch count'. I set it to 1000 which should save 1000 records in the local memory. (my view has approx. 350 records). Even when I relink my Oracle-views in MS-Access and I check, the parameter settings, this doesn't help.
I would be very gratefull for any help or suggestions.
Thanks in advance,
ZigiThanks Pierre. I've performed the following test:
1) I insert a chinese character in an NCHAR field in my table by using the UNISTR function thus:
insert into tbl_test_ch (field1) values (unistr('\3E00'))
2) I interrogated the value using the dump function thus:
select dump(field1, 1016) FROM tbl_test_ch
I'm struggling to understand the output. Obviously the character set being used is "AL16UTF16" (which I would expect to be able to store chinese characters), but the return_format argument I've provided to the function (1016) should return the hexadecimal code point of the character that's being stored. I would expect this to be the same as I inserted ("3E00"), but I'm getting the following output:
DUMP(FIELD1,1016)
Typ=1 Len=2 CharacterSet=AL16UTF16: 3e,0
Can you shed any light on this? -
Oracle 9i DB ODBC Connectivity Problem
i have oracle 9i release 9.0.1.0.1 and i want to use the oracle 9i DB in my VB Appplication how can i connect to the DB and what driver should i use.
You will need to install the Oracle client on whatever machine(s) your application will be running on. The Oracle client will include a version of the Oracle ODBC driver. You can download an updated version from OTN, you just need to make sure that you match the version of the driver and the version of the Oracle client, i.e. the 9.2.0.x Oracle ODBC driver should be used on a 9.2 Oracle client, the 9.0.1.x Oracle ODBC driver should be used on a 9.0.1 Oracle client.
Realistically, it doesn't matter much which version of the Oracle client you use. All else being equal, I would probably install the 9.2 Oracle client, but if other versions of the client are already installed, I wouldn't sweat it too much.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
Windows 2008 64-bit and Microsft ODBC for Oracle problem
Hello,
I am trying to create ODBC connection to Oracle 9i Database on remote server. I am using Windows 2008 64-bit but it is not showing Microsoft ODBC Driver for Oracle. Could any one suggest what to do?\\
ThanksGQ wrote:
Hello,
I am trying to create ODBC connection to Oracle 9i Database on remote server. I am using Windows 2008 64-bit but it is not showing Microsoft ODBC Driver for Oracle. Could any one suggest what to do?\\
ThanksInstall the Oracle client and use the Oracle driver. You're going to need it whether you use the MS driver or Oracles. ODBC drivers do not work apart from the client of the underlying database product.
When you do the install, you will need to do a custom install and specifically select for the Windows components. -
I am trying to use the query timeout of the ODBC specification while accessing an Oracle 8i database from within a client code written in MS Visual C++ 6.0.
I use Oracle's ODBC driver version 8.01.07.810.
(Microsoft's ODBC driver for Oracle does not implement
the ODBC Timeout feature).
During my tests I use a special stored procedure which
forces my call to wait for a specified number of seconds far much than the amount I specifed in my client code
(via setting the SQL_ATTR_QUERY_TIMEOUT attribute with
SQLSetStmtAttr).
I use synchronous query execution, and ideally my code should block until either a response arrives from the database or timeout ocurs. Unfortunately, my blocked query execution never timeouts and waits until the database responds. "Enable Query Timeout" box is checked witin the ODBC Driver configuration window for the system DSN I use to access the database.
When I try the same test setting with an MS_SQL Sever instead of an Oracle connection (via the Microsoft's driver manager for SQL Server as expected), everyting works fine and the timeout occurs.
Is there anyone who has an idea on why this could happen?
Many thanks in advance.
A.F.AtesJules,
Thanks for the pointer. So what does my 'connection string'
look like with your suggestion in the above example? Would the code
Dim MM_connPathData_STRING
MM_connPathData_STRING = "PROVIDER=SQLOLEDB;DATA
SOURCE=PATHOLOGY1;UID=user;PWD=pass;DATABASE=pathnet_data"
be significantly quicker?
I *have* looked at the database but my problem is there is
nothing I can do with the underlying structure - I'm just working
with what I'm given )-; What I need is a way of connecting to the
data regardless of the response time. What I am giving the users is
a view on *their* data - essentially, if it's slow then that is
their problem!!
Again, thanks for all and any input,
Simon -
MS Access 2K/ODBC link Problems
Hi -
To date, I've been accessing Oracle files through an Oracle 8 ODBC link. I then had a problem where I couldn't update a long number field. Kept saying that the record was locked and that I could "Copy" or "Drop" my changes. I could easily update the same record in SQL Navigator. Thinking that I had a driver problem, I updated to the Oracle 8.1.6. Since then, I can link and open tables but as soon as I try to make any changes, the application seems to freeze and no updates take place.I've uninstalled and reinstalled countless times and have even tried going back to 7.3.4 but nothing seems to get me anywhere.
Can anyone provide any guidance on what might be wrong? Appreciate any help you can provide!
Allen.<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Allen Arguijo ([email protected]):
Hi -
To date, I've been accessing Oracle files through an Oracle 8 ODBC link. I then had a problem where I couldn't update a long number field. Kept saying that the record was locked and that I could "Copy" or "Drop" my changes. I could easily update the same record in SQL Navigator. Thinking that I had a driver problem, I updated to the Oracle 8.1.6. Since then, I can link and open tables but as soon as I try to make any changes, the application seems to freeze and no updates take place.I've uninstalled and reinstalled countless times and have even tried going back to 7.3.4 but nothing seems to get me anywhere.
Can anyone provide any guidance on what might be wrong? Appreciate any help you can provide!
Allen.<HR></BLOCKQUOTE>
Hi Allen,
I have also often problems with linked ORACLE-Tables in MS ACCESS. ACCESS has
Problems with define the Primary-KEY. You
can do it in VBA before select and delete.
Volker
null -
Hi,
on a windows 2008 machine that has the Oracle instant client 11_1 installed (11.01.00.06) i am calling SQLDriverConnect in the following way:
std::string str = "Driver={Oracle in instantclient11_1};Dbq=//10.10.101.66:1521/orcl;;Uid=myUser;pwd=a;b";
odbcRc = SQLDriverConnect(hdbc, NULL, (SQLTCHAR*)str.c_str(), str.size(), (SQLTCHAR*)szConnStrOut, 1024, &cbConnStrOut, SQL_DRIVER_NOPROMPT)) == SQL_ERROR);
as long as the password contains no special chars (namely semicolon) it works fine. but when I try to use special chars in the password It stops working, with an invalid username/password error.
State: 28000 Native error: 1017 Message: [Oracle][ODBC][Ora]ORA-01017: invalid username/password; logon denied
i tried different variations of adding " (\") over the password, over the entire pwd=a;b or braces { but nothing seems to work.
the thing is that using ODBC works! what I did was:
open ODBC, go to System DSN tab, add "Oracle in instantclient11_1", then fill the following information:
Data source name: Anything
TNS Service Name: //10.10.101.66:1521/orcl
User ID: myUser
then i press test connection, enter the password "a;b"
and it works!
I cannot figure out what's my problem.
Thanks,
Roy.I've created your test table in my Oracle database using this extra character and I'm able to describe it properly.
SQL> desc test;
Name Null? Type
ATTIVITÀ VARCHAR2(40)
My character set being used is:
SQL> select * from v$nls_parameters;
NLS_CHARACTERSET
WE8ISO8859P15
NLS_NCHAR_CHARACTERSET
AL16UTF16
NLS_LENGTH_SEMANTICS
BYTE
So as long as it doesn't work for you in your native Oracle database I don't think it would work with DG4ODBC. So yes, it would be best to log a service request so that the Oracle database support can check out the NLS issue.
Edited by: kgronau on Sep 28, 2011 9:21 AM
To be complete here the describe of the MySQL table native and using DG4ODBC:
mysql> create table TEST (attività Varchar(40));
Query OK, 0 rows affected (0.00 sec)
mysql> desc TEST;
---------------------------------------------------+
| Field | Type | Null | Key | Default | Extra |
---------------------------------------------------+
| attività | varchar(40) | YES | | NULL | |
---------------------------------------------------+
1 row in set (0.00 sec)
SQL*Plus: Release 11.2.0.2.0 Production on Wed Sep 28 09:20:17 2011
SQL> desc "gateway"."TEST"@MYSQL_DG4ODBC_EMGTW_1122_DB;
Name Null? Type
attività VARCHAR2(80)
So in general it should work. -
I am trying to set up ODBC on Red Hat Enterprise Linux ES release 4 (Nahant Update 4). My odbc.ini and odbcinst.ini are modelled after those provided by Oracle. I display them below.
I have 2 problems.
1. /usr/bin/iodbctest fails because it doesn't know about bcuMsgBoxError.
$ /usr/bin/iodbctest
iODBC Demonstration program
This program shows an interactive SQL processor
Driver Manager: 03.52.0507.0105
Enter ODBC connect string (? shows list): ?
DSN | Driver
Oracle | Oracle 10g driver
Enter ODBC connect string (? shows list): DSN=Oracle;UID=craig;PWD=<removed>
1: SQLDriverConnect = [iODBC][Driver Manager]/oracle/product/10.2.0/db_1/lib/libsqora.so.10.1: undefined symbol: bcuMsgBoxError (0) SQLSTATE=00000
2: SQLDriverConnect = [iODBC][Driver Manager]Specified driver could not be loaded (0) SQLSTATE=IM003
The specified driver, /oracle/product/10.2.0/db_1/lib/libsqora.so.10.1, exists.
2./usr/bin/ODBCConfig crashes and nothing is written to the log file.
When I open ODBCConfig, click on the “System DSN” tab, click on the Oracle line, click on the Configure button, ODBCConfig crashes without displaying any errors.
Any suggestions are appreciated. More details are given below.
Thanks,
Griff
My odbc.ini and odbcinst.ini are modelled after those in odbc_update_ini.sh. This script is available from http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html in the instantclient-odbc-linux32-10.2.0.3-20061115.zip.
$ cat /etc/odbcinst.ini
[Oracle_10g_Driver]
Description = ODBC driver for Oracle in odbcinst.ini
Driver = /oracle/product/10.2.0/db_1/lib/libsqora.so.10.1
Setup =
FileUsage =
CPTimeout =
CPReuse =
# added by ODBCConfig
[ODBC]
Trace = Yes
TraceFile = /tmp/odbc_trace.txt
ForceTrace = Yes
Pooling = No
$ cat /etc/odbc.ini
[ODBC Data Sources]
Oracle = Oracle 10g driver
[Oracle]
Description = Oracle in /etc/odbc.ini
Driver = Oracle_10g_Driver
DSN = Oracle
Application Attributes = T
Attributes = W
BatchAutocommitMode = IfAllSuccessful
BindAsFLOAT = F
CloseCursor = F
DisableDPM = F
DisableMTS = T
EXECSchemaOpt =
EXECSyntax = T
Failover = T
FailoverDelay = 10
FailoverRetryCount = 10
FetchBufferSize = 64000
ForceWCHAR = F
Lobs = T
Longs = T
MetadataIdDefault = F
QueryTimeout = T
ResultSets = T
ServerName =
SQLGetData extensions = F
Translation DLL =
Translation Option = 0
DisableRULEHint = T
UserID =
$ echo $ORACLE_HOME
/oracle/product/10.2.0/db_1
$ echo $ORACLE_SID
CRAIGSDB
$ echo $LD_LIBRARY_PATH
/oracle/product/10.2.0/db_1/lib
$ echo $TNS_ADMIN
/oracle/product/10.2.0/db_1/network/admin
$ ls -l $TNS_ADMIN | grep -i \\.ora
-rw-r----- 1 oracle oinstall 502 Apr 24 13:36 listener.ora
-rw-r----- 1 oracle oinstall 183 Apr 20 23:37 sqlnet.ora
-rw-r----- 1 oracle oinstall 549 Apr 24 13:36 tnsnames.ora
$ rpm -qa | grep -i odbc
libiodbc-3.52.5-1
unixODBC-2.2.11-1.RHEL4.1
MyODBC-2.50.39-21.RHEL4.1
libiodbc-admin-3.52.5-1
php-odbc-4.3.9-3.22.4
libiodbc-devel-3.52.5-1
qt-ODBC-3.3.3-10.RHEL4
unixODBC-kde-2.2.11-1.RHEL4.1
$ rpm -qa | grep -i ora
libtheora-1.0alpha3-5
oracle-instantclient-basic-10.2.0.3-1
rpm -qa | grep -i libsqora returns nothing but /oracle/product/10.2.0/db_1/lib/libsqora.so.10.1 exists.First, make sure you can connect through your sqlplus regular client, and make sure your instance, and listener are properly configured, up and running. Issue the next commands:
lsnrctl services
tnsping yourTNSAlias
sqlplus username/password@TNSAlias
Next, on your connect string I don't see your dbname alias configured, is it correct?
Example:
DSN=ora9;UID=scott;PWD=tiger;DATABASE=ora9u
The datbase name is missing on your connect string:
DSN=Oracle;UID=craig;PWD=<removed>
Is your alias configured at your tnsnames.ora file? -
Visual Studio 2008 & Oracle Problem
Hi there,
I've been going through a bunch of legacy reports in a project I support, they had got out of date with the database, so I was verifying the database for each one.
They use data from an Oracle 10g database using a mixture of tables and views. The first report I came across that used a view gave me the following error:
"The database table 'HIGHEST_CLIENT_LOSS_V' cannot be found. Proceed to remove this table from the report?"
I don't want to remove the view as it is needed, so I went into the Database Expert to try and locate it. I opened up the ODBC connection we use to connect to the DB, and navigated to the required schema. Previously this showed Tables, Views and Stored Procs, but now only shows Tables and Stored Procs.
Has anyone else come up against this problem? Or have any idea what could cause it?
I'm using Visual Studio 2008 Team System Development Edition, Oracle 10g database and ODP.Net 10.2 client/ODBC driver.
I've never had this problem before.
Thanks in advance for any assistance!
James SimmJames,
I'm not sure what Crystal functionality is available in VS but try right clicking on the datasource > options and in the Data Explorer section you can select whether to see views, SPs, or tables.
As well with the CR Designer there is a default limit of 8000 Database objects that CR will see. If that limit is reached then it stops dispalying objects past that limit. Try just selecting Views in the Options and if you can then see the views you can increase the default limit within the registry (*Note that it is always a good idea to backup the registry before editing). The key would be HKEY_CURRENT_USER > Software > business objects or Crystal decisions > Suite (version) > Crystal Reports > FetchOptions > NTablesMax -
We are trying to install Oracle Discoverer 3.1.36 EUL on to SQL Server 2000. We are getting a error while creation of EUL.
"Installation started on 02-03-27 15:27:24
Creating tables and views...
Populating tables with default data...
Install failed, cause : [Microsoft][ODBC SQL Server Driver][SQL Server]Invalid column name 'SUID'.
CREATE VIEW EUL_ODBC_SCHEMAS AS SELECT NAME AS 'os_schema_name' FROM SYSUSERS WHERE SUID > 1 AND UID <> GID
Please help
Regards and Thanks in advance
DheerajThanx for ur cooperation. I have solved the problem. Actually I was using Eclipse SDK but for get to Add external Jar files. In which I need to add the JAR files in the lib directory of Driver's Home Directory
Thanx... -
Thank you for reading my posting.........
ODBC - 10.02.00.01
CLIENT: XEClient
DataBase: Oracle Express
TNSNAME: XE
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = OracleServer)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
Query: NOTE: [this part is hard coded in C++] ----- [select * from authors where ] au_id = 'A01'
First of all this works properly on the server side - no problems.
I am running an application that sucessfully delivers the data the first time I submit the query to the ODBC.
The second query no matter what it is, however gets the following error.
Internal Error - unable to initialize NLS during driver load
SQLAllocHandle on SQL_HANDLE_ENV
Now for the gottcha: If I submut an improper query initially and get the following error every succeeding query works correctly. GO FIGURE!!!!!
[Oracle][ODBC][Ora]ORA-00093: SQL command not properly ended
I can run for hours after I force this as the first QUERY.......
Any ideas?
JohnIf you look at the release notes for MDAC 2.5 on the Microsoft Universal Data Access site, it lists a known issue with Oracle client, and the registry hack to fix it. I have not seen in any release notes since that specifically say they have addressed this issue!
Maybe you are looking for
-
Eons ago, when I took the Labview I & II courses, I remember the instructor stating that correct VI's had to have error line. I downloaded this VI example from Futek's website and the code doesn't use it. I am trying to utilize it for some data col
-
Post Author: ehornek CA Forum: JAVA Hi, I am trying to open a report in Java and get the error message below. Does anyone know what's going wrong? Thanks for your help! Crystal Report Viewer 2.1.19 java.vendor = Sun Microsystems Inc. java.version = 1
-
Hi Friends, We have a scenorio of creating a weekly and monthly trend reports which are open for that week and month. Flow of data loading is from ODS to Infocube( Trend) , Every time when we laods data to ODS current week will be getupdated from sy
-
[gnome-unstable] ibus doesnt work
The new intergrated ibus in gnome-shell (which is one of my favorite features of 3.6) doesnt work. I can add the ibus keyboard (ibus-pinyin or Chinese (Pinyin)) in the system settings, but the settings opiton is grayed out (even though I know it has
-
Even BT Openreach Engineer believes fault is in eq...
This is a follow on from my original issue reported a week ago (That post has been marked as Sorted!!!) about waiting the 10 days after install of BT Infinity with good upload but bad download speeds. a very bad IP Profile on the line Finally got BT