DSN Problem

Hi,
Recently i have upgraded my database from oracle 9i to 10 g(10.2.0). The problem is when I am trying to connect the database through DSN using VB 6.0 I am getting an error "-2147467259 [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed. "
My applicaion is developed in VB 6.0 and it was working perfectly with oracle 9i.I have installed the latest version of MDAC(2.8) and using Windows server 2003 Standard edition
as OS.
Please suggest how can i solve this problem as i am getting any

OK, with the instant client install
- can you try connecting using sqlplus to the server, if this works
- can you try running a basic odbc demo(you can get that from ($ORACLE_HOME/odbc/demo) to your server
May be we know where the problem lies

Similar Messages

  • Yosemite DSN problem

    Hello all,
    I have a macbook pro and its running Yosemite.
    Today i tried to fix some problems with my Airport express (it was disconnecting after a few minutes on airplay).
    I run the command:
    load -w /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist
    I saw somewhere that it would fix the problem maybe. But it actually not helped at all. I dont have internet acces anymore on Safari and applications like Dropbox or SABnzb. The weird thing is that i have internet if i use Google Chrome.
    I read somewhere that it could be the file com.apple.mDSNResponder.plist but i cant find that file in the folder System/Library/LaunchDaemons/
    What do i need to do to fix this?

    That command would have no effect in Yosemite, and would make no sense in any other version of OS X. It's best to describe the problem in as much relevant detail as possible, rather than what you think is causing it or how you think it should be solved.

  • Access mdb without dsn PROBLEM !

    Hello , i am trying to connect to a Microsoft Access mdb file using the following code, but then connection i get us NULL, so i have a NullPointerException, i respect any help
    thanks in advance
    import java.sql.*;
    public class testAccess{
    public static void main( String [] args ) {
    Connection c = null;
    Statement stmnt = null;
    try {
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    String myDB = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=C:/db1.mdb";
    Connection con = DriverManager.getConnection(myDB,"","");
    stmnt = c.createStatement();
    catch( Exception e ){
    e.printStackTrace();
    try{
    stmnt.execute("CREATE TABLE thisTable (Name TEXT, LastName TEXT)");
    catch (SQLException e){
    System.err.println("Error al crear "+e);
    // An exception would be raised if the table did not exist
    // We just ignore it
    finally{
    try{
    stmnt.close();
    c.close();
    catch( Exception e ){
    e.printStackTrace();

    You declare Connection c = null outside the try block, but then you do this:
    Connection con = DriverManager.getConnection(myDB,"","");Change that line to this:
    c = DriverManager.getConnection(myDB,"","");and all is well. - MOD

  • Test Report button on report queries

    Does anyone know the code/javascript/url behind the test report button on report queries component?
    We are having DSN problems using the print url given on the report query. The URL works for some of our developers and not for others.
    The test report button on the report query appears to work for everyone but I do not know what is behind the "Test Report" button. If I could recreate the test report button on our page this would be GREAT!
    Can anyone help?
    Thanks,
    Frank

    Please see here: {thread:id=2307009}
    and here: http://www.oracle.com/technetwork/developer-tools/apex/freq-solved-faq-101785.html - Issue 10.
    Please let us know if this helped or if it's something completely different.
    Regards,
    Howard
    Edited by: Howard (... in Training) on Apr 5, 2013 1:18 PM

  • Microsoft ODBC data manager not found

    I created a Universe using Information Design Tool and published it to the repository. My data source was MS SQL server 2008. At this point I am able to view the result values in query in IDT.
    Now when I try to preview the query in SAP Dashboard Design, I am getting the below error while using Query Builder in SAP Bo XI4 Dashboard designer.
    Request processing failed. (XLS 000009)
    Request processing failed. (XLS 000009) []<com.businessobjects.dsl.commons.exception.NestedException: [Microsoft][ODBC Driver Manager]Data source name not found and no default driver specified&gt
    My Specifications are :
    MS SQL Server 2008 in 64 bit OS
    BO 4.0
    I tried creating system DSN in odbcad32.exe in the PC but it didn't work. I still get the error.
    Any suggestion on how to resolve it.

    Forget the Federation server.  You need the Connection Servers up.
    This is a DSN problem.
    For this 1 SQL server connection, you need BOTH 32-bit and 64-bit DSN defined on the BI Processing Server,  with the same name.
    Good info here: https://websmp204.sap-ag.de/~sapidb/011000358700000018202011E/index.htm
    Regards,
    H
    p.s. lots of notes about this :
    1495318 - Error: Data source name not found and no default driver specified
    1543358 - Error: "A database error text is [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified.
       1396736 - " : [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified" error when testing connection in Universe Designer on 64-bit Windows OS

  • Unable to install on windows

    Hi,
    I am trying to install the client on windows XP but get the error message:
    unable to install custom DSN client.
    anyone an idea what the problem might be??
    thx.

    Steven,
    Are you using TimesTen 6.0.4? There was an issue found on 6.0.4 where the Installshied DLL was misnamed. There are two options to get around this problem:
    1. Install the full product (instead of the client only). The TimesTen installation is lightweight and should not be much of an overhead to your XP machine;
    OR
    2. Download the TimesTen 6.0.3 version (this does not have the client DSN problem you encountered)
    Please let us know if you are able to move forward with one of the two options.
    -scheung

  • DSN less connection problems

    I hope someone can provide an answer to this problem. I am receiving the
    following SQL Exception "Data source name too long".
    I am using JDK 1.1.8, Windows 98 OS, btw
    I also downloaded Microsoft MDAC 2.6, available at
    http://www.microsoft.com/data/download_260rtm.htm
    thinking that the ODBC driver just may be out of date.
    The source code follows:
    import java.sql.*;
    import java.lang.*;
    import java.util.Enumeration;
    import java.util.Properties;
    public class ConnecttoExcel {
    public ConnecttoExcel() {
    Connect ();
    public void Connect() {
    try {
    Connection db= null;
    Statement st = null;
    String fullConnectionString = "jdbc:odbc:Driver={Microsoft Access
    Driver(*.mdb)};DBQ=C:\\requisition.mdb";
    try {
    Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver"); }
    catch (ClassNotFoundException r) {r.printStackTrace();}
    db = DriverManager.getConnection (fullConnectionString);
    st = db.createStatement ();
    DatabaseMetaData dma = db.getMetaData ();
    System.out.println("\nConnected to " + dma.getURL());
    System.out.println("Driver " + dma.getDriverName());
    System.out.println("Version " + dma.getDriverVersion());
    System.out.println("");
    catch (SQLException e ) {e.printStackTrace();}
    public static void main (String[] args) {
    ConnecttoExcel conn = new ConnecttoExcel();
    java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name too
    long
    at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:3661)
    at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:3814)
    at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:1029)
    at
    sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:145)
    at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:165)
    at java.sql.DriverManager.getConnection(DriverManager.java:83)
    at java.sql.DriverManager.getConnection(DriverManager.java:141)
    at ConnecttoExcel.Connect(ConnecttoExcel.java:22)
    at ConnecttoExcel.<init>(ConnecttoExcel.java:8)
    at ConnecttoExcel.main(ConnecttoExcel.java:37)

    1. change your code
    String fullConnectionString = "jdbc:odbc:Driver={Microsoft Access
    Driver(*.mdb)};DBQ=C:\\requisition.mdb";
    as following:
    String fullConnectionString = "jdbc:odbc:date_source_name";
    2. create a DSN by using ODBC Data sources(32) in control panel.
    DBClick the icon and from DSN tab click the Add button, Select MS Access driver and click finish button,
    Give your DSN a name "date_source_name" and click select button to locaate youe database "C:\\requisition.mdb"
    OK.

  • Problem setting up DSN for 10g ODBC driver

    Hello,
    I am simply trying to install an ODBC driver for 10g. To accomplish this, I first downloaded the odbc driver for 10g 10.2.0.2.0. The Readme notes said that I need to install the odbc driver using the Oracle Universal Installer. So I got a copy of just the OUI from our DBA. I installed the OUI 10.2. Using the installer, I installed the 10.2.0.2.0 odbc driver. The Readme notes said to look for the file "products.jar", which was not available, but "products.xml" was, so I used "products.xml", and the driver installed successfully.
    The next step was to set up an ODBC DSN for this driver. When I attempted to do this, the Microsoft ODBC Administrator threw this message: The setup routines for the Oracle in DEFAULT_HOME ODBC driver could not be loaded due to system error code 127, followed by Could not load the setup of translator library.
    Other threads suggested that I copy the DLLs mfc71.dll, msvcrt.dll, and msvcr71.dll from my C:\Windows\System32 directory to the directory where I installed the odbc driver (C:\orant\BIN) and to ensure that this directory path was defined under the PATH environmental variable. I followed all these instructions but to no avail - I am still having the same problem. PLEASE HELP!!! Thanks in advance!!

    Hi,
    >>could not be loaded due to system error code 127
    Did you try install it on other machine ? Maybe this current machine has a DLL versions problems ...
    Cheers

  • IMAP setting flags for DSN message problem

    Hi,
    I have a question about processing DSN flags using Java Mail.
    We are trying to set SEEN and FLAGGED flags also for DSN messages (for any other messages it is working perfectly fine).
    The problem is that no flags are set, no IMAP commands are issued.
    For any 'normal' messages the IMAP command is issued (for example: A27 STORE 13 +FLAGS (\Seen)).
    We are using Exchange Server 2007 with IMAP support enabled on the mailbox.
    The strange thing is that i can manualy set SEEN and FLAGGED flags from Outlook on this DSN message and then print flags for this message from Java Mail.
    Is there any standard for FLAG processing for DSN messages? Is this a problem in Java Mail / Exchange or some limitation? As I believe DSN in also a javax.mail.Message from the implementation point of view...
    Regards

    Hi Bill,
    This was a good point, about calling setFlags method on the wrong message.
    The problem is because, we are dealing with Exchange bug described here:
    BODYSTRUCTURE with "multipart" "signed" not parsing
    and using workaround described here:
    http://www.oracle.com/technetwork/java/faq-135477.html#imapserverbug
    However, we were setting flags on message created using following code
    SharedByteArrayInputStream bis =  new SharedByteArrayInputStream(bos.toByteArray());
    MimeMessage cmsg = new MimeMessage(session, bis);not on original message from the mailbox.
    Regards

  • DSN CONNECTION problem

    Its getting sort of urgent now. Can anybody on this forum
    help me solve my problem?
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=189&threadid=1161876&en terthread=y#4161091
    Its to do with dsn connections

    I get Page does not exist on your forum link. Sorry.
    Nancy Gill
    Adobe Community Expert
    BLOG:
    http://www.dmxwishes.com/blog.asp
    Author: Dreamweaver 8 e-book for the DMX Zone
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
    2003)
    Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
    A Beginner's
    Guide, Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
    Web Development
    "cookieblast" <[email protected]> wrote in
    message
    news:e6fgc0$l2j$[email protected]..
    > Its getting sort of urgent now. Can anybody on this
    forum help me solve my
    > problem?
    >
    >
    >
    http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?catid=189&threadid=
    > 1161876&enterthread=y#4161091
    >
    > Its to do with dsn connections
    >

  • Odbc dsn creation problem

    hello everybody I have a problem in creating DSN to personal oracle version 8.1.6 through odbc.It says clientTM and networking components not loaded.my OS in win-98.whats the solution.pl help.

    Have you installed the Oracle client on the machine you're trying to create the DSN on? The error you're getting indicates that the Oracle client software cannot be found and/or loaded...
    Justin

  • Problem in creating ODBC new DSN in Informatica

    I Installed
    1. Oracle 11g R2 64 bit
    2. Informatica 9.1.0 64 bit
    Successfully. but when I tried import tables from Oracle, I got an error in creating ODBC DSN [ERROR NO:193].
    But when I create through ODBC Aministration Tool through control panel, the DSN is sucessfully created. But this can not be used in informatica [It is giving the error 193].
    Finally I found that this informatica 9.1 [64 bit] is using 32 bit odbc driver.[By calling c:\\syswow64\odbcad32.exe].
    How can we make informatica to use the ODBC 64bit Administration tool [c:\\system32\odbcad32.exe].
    Please help me to correct the settings.
    Thank you in advance
    Edited by: 978351 on Dec 23, 2012 10:42 PM

    Did you get any answer on this? Even i see same issue... I have Win 7 64 bit OS and 64 bit Oracle and 64 bit Informatica. Not able to create ODBC connections because informatica is pointing to 32 bit ODBC.
    regards,
    Srikanth

  • Problem with System DSN (HELP!!!)

    We have a customer running Oracle 817. Our application (Powerbuilder-based) uses the Oracle 817 ODBC driver to connect to the DB.
    We normally set up a System DSN so that in situations where more than one user logs into the PC (using their own domain account), they will be able to use our application as well. In all of the situations in the past, we've never had multiple users needing access to the same computer at different times with different logins.
    Well guess what? We now have a customer that has three people accessing the same computer at different times with different logins.
    We set up the odbc with an Admin account, but only THAT Admin account can be used to access the DB using that System DSN.
    We've tested our app with SQL Server (ODBC) and Sybase (ODBC) as well using different logins and they work fine, but our app fails to connect to the DB using the Oracle System DSN!
    What is happening?????? We set up a File DSN for now and it works, but the customer prefers not having to save that info to a file.
    Any suggestions?

    1) How are you authenticating users? If you're using O/S authentication, do all the users have appropriate accounts on the database? (They do have the appropriate DB account)
    2) Did you specify a username in the DSN? Did you mean to? If you want multiple users to log on with different database accounts, don't specify a username. (the app uses the same username and password to access the DB)
    3) Can you elaborate on what "can't log on" means? I assume you get some sort of error message, so please post that. (it's telling us that the selected datasource is invalid.)
    4) Can you simply create a user DSN for each Windows user account? We could and we did and it works fine that way, but the System DSN eliminates the need for that. We would have to set up DSNs for each PC (50+) that has more than one user.
    Justin

  • Problem with making DSN

    I get this error everytime I try an make a DSN
    com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
    The root cause was that: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up

    Have you tried connecting to the server by other methods, perhaps the MySQL commandline client from the CF box?
    Does the database run on the same server or a different server?
    If different - firewall? Does MySQL allow remote connections?

  • Problem with DSN name!!! Urgent

    I want to run my web application perfectly without compiling the code even though the DSN name change occurs at site. Is there any technique to do this.

    Sorry im new to java,
    i am using JSP ,and MS Access Database,
    my code is as shown below
              Connection conn=null;
              Statement st=null;
              ResultSet rs=null;
              try
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              catch (ClassNotFoundException e)
                   System.out.println("JdbcOdbc Bridge Driver not found");
              try
                   conn = DriverManager.getConnection("jdbc:odbc:DBName","","");
                   String s="SELECT * from Table_Name '";
                   st = conn.createStatement();
                   rs=st.executeQuery(s);
                   while(rs.next())
                        ss=rs.getString(1);
    I want to modify this code such that it should work at site even though ODBC DSN name chage occurs....
    Thanks!

Maybe you are looking for