Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. cgillin

    Server access denied exception

    I'm using java to connect to Domino. Since the diiop_ior.txt file is protected I'm using the following call to create a session. session = NotesFactory.createSessionWithIOR( ior_str, username, password ); This causes the following exception to be thrown...
  2. cgillin

    retrieving unicode with odbc

    Rob Thanks a lot for helping out. Not sure what you mean by bringing it into a control. I'm not really sure what is going on but here's what I've got so far... I have a table that has arabic, japanese, accented and regular ascii string. When I try and use odbc to fetch these string I've...
  3. cgillin

    retrieving unicode with odbc

    Correction, when I use wordpad to view the file that I created using Export Data it's fine. I read that sql server uses UCS-2 encoding, so why, when I convert the data I get through odbc from UCS-2 to UTF-8 would I not get back what's actually in the table? Not sure if how clear I'm being right...
  4. cgillin

    retrieving unicode with odbc

    Thanks for your help so far Rob. The problem is before I create the xml though. If I just simply print the data that I retrieve it's looks as though it's encoded as Latin1. Another thing I noticed, when I use Export Data to dump the contents of the table to a file, the encoding is incorrect in...
  5. cgillin

    retrieving unicode with odbc

    I wrote an application in C that will just dump all rows of the table into xml.
  6. cgillin

    retrieving unicode with odbc

    Actually it's not the driver. Through Enterprise Manager the characters are fine. There isn't a way to set a client encoding though is there? It seems like everything i'm retrieving is Latin1 encoding.
  7. cgillin

    retrieving unicode with odbc

    I have a table that has arabic, japanese, utf8 and ascii strings in it. When I try and rerieve those strings using the windows odbc driver, the ascii and since byte utf8 characters come back fine, the arabic and japanese are returning as single byte characters. I read on microsofts page that...
  8. cgillin

    Fetching UTF8 characters from SQL Server 2k

    I want to be able to fetch data from an SQL 2k server as UTF8. I have a C application that's using Windows ODBC driver. With drivers for other databases I've found options to set the client encoding, but not with SQL Server. Does anyone know of a way that I can request data to be sent as UTF8...
  9. cgillin

    trouble with 10g instant client odbc driver

    Sorry for not responding sooner. I think I might have isolated the problem. When trying to connect using SQLConnect I get the error TNS: Could not resolve host for given service name When using TWO_TASK to specify the sid I'm able to connect. Here's my call to SQLConnect funcResult =...
  10. cgillin

    ODBC question

    Not sure if this is the correct forum but here goes. I want to be able to fetch data from an SQL 2k server as UTF8. I have a C application that's using ODBC calls so would like to accomplish this through the windows ODBC driver and not my code. I'm using SQLGetData to retrieve the data. Thanks.
  11. cgillin

    windows postgresql driver

    I have a Postgresql database with the character set as unicode. I'm trying to use the windows odbc driver 8.01.00.05 to connect to this database and return UTF8 characters. I've sent the client_encoding to 'unicode' but still get the data returned as ISO. Does anyone know how to fetch UTF8...
  12. cgillin

    trouble with 10g instant client odbc driver

    I have them declared in user enviornment variables. And yes, NAMES.DIRECTORY_PATH does have an entry for TNSNAMES sqlnet.ora... # sqlnet.ora Network Configuration File: # Generated by Oracle configuration tools. trace_level_client=16 trace_unique_client=yes trace_file_client = /tmp/cli.trc...
  13. cgillin

    trouble with 10g instant client odbc driver

    I'm trying to use the 10g odbc driver that comes with the instant client. The problem is, even though I have ODBC_HOME and TNS_ADMIN declared it's never tries to access the tnsnames.ora file and uses some sort of default. When I do an strace of my odbc program it access sqlnet.ora and other...
  14. cgillin

    DB2 connection

    Hi I'm using unixodbc to connect to a DB2 v8.1 db. I get the following error when trying to connect to the database.. [unixODBC][IBM][CLI Driver] SQL1031N The database directory cannot be found on the indicated file I created the sample database and can connect to it from the local machine...
  15. cgillin

    ODBC connection

    To clerify, I create the database on the server running DB2. From that same machine I can connect to the database by using... db2 => connect to sample But when I try to bind the database on that machine by using... db2 => bind sample.bnd is where I encounter the error. Thanks again
  16. cgillin

    ODBC connection

    Hi I'm using unixodbc to connect to a DB2 v8.1 db. I get the following error when trying to connect to the database.. [unixODBC][IBM][CLI Driver] SQL1031N The database directory cannot be found on the indicated file I created the sample database and can connect to it, but when trying to...
  17. cgillin

    insufficient privileges

    Error: You do not have sufficient privileges to write to the specified path. in compnonent Database Configuration Assistant 9.2.0.1.0. Installation cannot continue for this component. This is the error I receive when running the Oracle installer. I'm executing ./runInstaller as user oracle...
  18. cgillin

    Using router with Linux

    I have a D-Link DI-614+ router and currently have multiple windows machines attached to it. I'm trying to connect a RH9 machine. While I am able to connect to the router I can't connect to the internet. Are there any setting in RH that could be preventing me from accessing the internet? Thanks...
  19. cgillin

    UDB 7.2

    Does anyone know where I can get a copy of UDB 7.2. I need it for testing purposes but can only find the more recent version. Thanks in advance.
  20. cgillin

    ODBC in unix

    Is it possible to use ODBC in a unix/linux enviornment? Everything I have seen online deals with using ODBC with windows. If anyone knows of any sites that may help me I'd appreciate it. Thanks Chris

Part and Inventory Search

Back
Top