SQL 2005 connection

Hi,
Well for some reasons I don't really know because SAP doesn't help me a lot on this.
I just reinstall all my SAP software over SQL2005.  Everything was nice, and everything works fine from SAP and SQL2005
Now I'm loading the project I was used to work on in SQL 2000 just before the installation and now the connection to SAP never work from the DI API
and Of course I'm using dst_MSSQL2005 as the famous parameter for an SQL2005 connection
I did check the connection parameters and everything is all right.  If I'm able to connect with SQL Studio Manager, why not with the DI API ?
Is there something I should know here ?
Thank you for any help

Marc,
Are you able to connect with any of the DI API samples that come with the SDK?  Have you installed the DI API on the machine you are trying to run your code?  Have you installed the SQL Native Client for connectivity to SQL?
Eddy

Similar Messages

  • Java to MS SQL 2005 connection

    Hi good afternoon,
    I am facing problem while connecting with MSSQL Server 2005 through java. I am only able to connect with server using windows authentication. and when I tried to connect it with SQL server authentication using username as "sa" and null password it is giving an error.
    I have written the following code
    import java.sql.*;
    public class SqlServer{
    public static void main(String[] args) throws Exception{
    Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
    String connectionUrl = "jdbc:sqlserver://localhost:1433;databaseName=hibernate;integratedSecurity=true";
    Connection con = DriverManager.getConnection(connectionUrl);
    Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery("select * from dbo.customers");
    while(rs.next())
    System.out.println(rs.getString("cust_id"));
    rs.close();
    stmt.close();
    con.close();
    System.in.read();
    And the error is
    Exception in thread "main" com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host has failed. java.net.ConnectException: Connection refused: connect
    at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(Unknown Source
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.loginWithoutFailover(Unknown Sour
    ce)
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(Unknown Source)
    at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(Unknown Source)
    at java.sql.DriverManager.getConnection(DriverManager.java:525)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at SqlServer.main(SqlServer.java:11)

    I had just enabled the TCP/IP connection setting
    in Configuration Manager provided with SQL Server
    2005.What did this solve exactly? I thought you need the uid/pwd of the logged in user of the client's operaring system.
    Edit nevermind, this just solved the actual connection problem. But are you logging in without password then?
    Message was edited by:
    BalusC

  • SQL 2005 will not connect in SQL 2012 profiler

    We have a few SQL 2005 databases that we manage. I went to do a trace on them(recently upgraded to 2012) and it gives me the error, "SQL Server Native Client 11.0 does not support connections to SQL Server 2000 and earlier versions".
    According to MSDN it does.  https://msdn.microsoft.com/en-us/library/cc280356(v=SQL.110).aspx  
    "SQL Server Native Client 11.0 supports connections to SQL Server 2005, SQL Server 2008, SQL Server 2008
    R2, SQL Server 2012, and Windows Azure SQL Database."
    Any clue why it wouldn't let me connect?

    Can you specify the following parameter in the "connect to server" dialog when you load the Profiler --> click on "options" button and go to "Additional Connection Parameters" tab and paste the following?
    DataTypeCompatibility=80
    Satish Kartan www.sqlfood.com

  • Database connection to MS SQL 2005 (URGENT Help Needed)

    Hi all,
    Does anyone know how to connect my adobe form to MS SQL 2005?
    I have this code:
    try {
         InitialContext initialContext = new InitialContext ();
         DataSource dataSource = (DataSource) initialContext.lookup ("jdbc/MyAlias");
          java.sql.Connection connection = dataSource.getConnection ();
    } catch (SQLException e) {
         // handle exception
    } catch (NamingException e) {
    // handle exception
    Other than these, what else do i need to do inorder to get my database connection up?
    And after my database connection is up, how do i test to check if my database connection is up or not?
    How do i extract the information from the database and put them onto the textfields/dropdownlists on my form?
    Thanks In Advance

    Hi Mel,
    After implementing the codes and modifying them, some of them are underlined, why is this so? =X
    Or are u willing to exchange msn so i could send u the screenshot instead?
    Thanks In Advance
    (Sorry im not that good in this)
    (I shall underline the areas which represents the red underline in my web dynpro)
         //Code for database connection.
           InitialContext ctx = new InitialContext();
           DataSource ds = (DataSource)_ctx.lookup("jdbc/JXDataSource");_
           Connection conn = ds.getConnection();
           Statement st = null;
           ResultSet rs = null;
           IPrivateDetailed_Claims_FormView.IFillDataElement dataEle = null;
           st = conn.createStatement();
         //     Execute the appropriate SQL query
           rs = st.executeQuery("SELECT NAME WHERE VENDORCODE='9000116L' ");_     
           while (rs.next())       {
         //     Code that will populate your VN based on the data obtained in the ResultSet.
           dataEle = wdContext.createFillDataElement();
           dataEle.setName(_rs.getString(1)_);
          // dataEle.setAge(rs.getInt(2));
          // dataEle.setAddress(rs.getString(3));
           //wdContext.nodeFillData.addElement(dataEle);
           //  Close the connections
           rs.close();
           st.close();
                      conn.close();
    Edited by: JingXuan Lim on Jan 25, 2008 4:59 AM
    Edited by: JingXuan Lim on Jan 25, 2008 5:00 AM

  • Dump while acessing tables in sql 2005 using DB connect

    we have a sql 2000 as source system in place and now i created sql 2005 source system with DB connect.
    bw version 3.0.
    tables naming conventions are according to SAP.
    when i click the button to show tables in source system (sql server) , it is throwing a short dump while connecting to data base.
    I initially thought tahat something wrong with BW support pack , but my other sql connection is working perfectly fine.
    plz help.
    error in short dump
    Error analysis                                                                               
    <b>Only message types A, E, I, W, S and X are allowed.
    There is probably an error in the program          
    "RSDL_META_UPLOAD ".                               </b>
    <b>MESSAGE_TYPE_UNKNOWN" C                   
    RSDL_META_UPLOAD " or "RSDL_META_UPLOAD " 
    END-OF-SELECTION</b>"
    > points will be awarded for useful inputs..
    Message was edited by:
            aravind sam
    Message was edited by:
            aravind sam

    I am having the similar issue. I have DB connect to oracle schema, however, some of the tables I can view and access the data but others are throwing short dumps and following error:
    Event with errors RSDL_META_UPLOAD in DataSource
    I have applied support Pack 10 for BI. But this problem persist.
    Any IDEA.
    Thanks in Advance.
    Shaukat

  • Possible for AIR app connecting to SQL 2005 server

    Is it possible using Flex AIR to connection to SQL 2005
    server and fetch data ?
    If YES, whats step / process we need to follow please.
    We have the DB in sql 2005 and we want to develop desktop
    client and fetch the records from DB to AIR app.

    "kamaljeetsinghsaini" <[email protected]>
    wrote in message
    news:gmsmnc$non$[email protected]..
    > As we know that AIR supports SQlite only but in our case
    we want to fetch
    > data
    > from server that is using SQL 2005 as DB. So are you
    saying we can
    > directly
    > send the HTTP service to that server and fetch data from
    it ?
    You can send the HTTPService request to whatever back end
    technology you are
    currently using to access it. For example, if you are using
    ASP.net, you
    would still use ASP.net, but you would send back something
    that Flex
    understands, such as XML, instead of the HTML that the
    browser client
    understands.

  • Trouble connecting to SQL 2005

    I'm using Flex 3, trying to connect to SQL 2005 via ASP with IIS7.
    I was following the instructions listed [url=http://livedocs.adobe.com/flex/3/html/help.html?content=data_3.html]here [/url] under the section "Generating an ASP .NET database application", I attempted to Create an Application from Database, following all the steps as listed, but Flex is failing to connet to my database.
    I specified a name for the connection profile (I assume this can be anything - maybe this is my mistake), on the next screen under server name I put in the name of my local SQL 2005 Server on my machine: DAVE-PC\SQLEXPRESS, I put in the name of the database AIS1010 and user ID: sa and password 1234 (these all match the credentials on my local SQL Server) and I clicked the button 'Test connection', I get the message unable to connect to database.
    I looked at the logs under the detail button, and I can see that Flex is failing to find "DAVE-PC\SQLEXPRESS'.  What am I doing wrong here?
    Is there something specific I need to do in IIS?
    D.

    I should add:
    The first line of the error details reads:
    java.sql.SQLException: Unknown server host name 'DAVE-PC\SQLEXPRESS'.
    but this is the correct server name in SQL 2005.
    also
    In the Projects Flex Server Properties root folder is: C:\inetpub\wwwroot\
    root URL is: http://localhost/
    these locations do 'validate' in Flex.
    IIS Server is running and I'm able to run other applications through it using some other applications, both in Flex and in Unipaas..
    D

  • Connecting to SQL 2005 from Oracle error

    I have an Oracle Database and SQL Database on the same server and wants to use odbc to connect to the SQL 2005 database and query tables of my choice.
    I did configured the ODBC correctly and called the DSN TSH_ARCHIVE. I have tested it and it works great. But each time I run the following query I get error:
    SQL> select count(*) from BALANCES_HS@tse_archive;
    select count(*) from BALANCES_HS@tse_archive
    ERROR at line 1:
    ORA-12154: TNS:could not resolve the connect identifier specified
    Any suggestion and help will be greatly appreciated.
    Edited by: azaza on Jan 28, 2010 6:32 AM

    Hi,
    Thanks for the files.
    There are some problems with the configuration.
    listener.ora -
    LISTENERTSE_ARCHIVE =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST = xxxxx.ita.doc.gov)(PORT=1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=TSE_ARCHIVE)
    (ORACLE_HOME=J:\app\product\11.1.0\db_2)
    (PROGRAM=hsodbc)
    (SID_DESC=
    (SID_NAME=tpisdb06)
    (ORACLE_HOME=J:\app\product\11.1.0\db_2)
    This should be -
    LISTENERTSE_ARCHIVE =
    (ADDRESS_LIST=
    (ADDRESS=(PROTOCOL=tcp)(HOST = xxxxx.ita.doc.gov)(PORT=1521))
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    SID_LIST_LISTENERTSE_ARCHIVE =
    (SID_LIST=
    (SID_DESC=
    (SID_NAME=TSE_ARCHIVE)
    (ORACLE_HOME=J:\app\product\11.1.0\db_2)
    (PROGRAM=dg4odbc)
    (SID_DESC=
    (SID_NAME=tpisdb06)
    (ORACLE_HOME=J:\app\product\11.1.0\db_2)
    The SID_LIST_LISTENER needs to match the actual listener name and the program for 11g DG4ODBC is called dg4odbc and not hsodbc.
    tnsnames.ora -
    TSE_ARCHIVE =
    (DESCRIPTION=
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = TSE_ARCHIVE)(PORT=1521))
    (CONNECT_DATA =
    (SERVICE_NAME = TSE_ARCHIVE)
    (HS=OK)
    The HOST name - TSE_ARCHIVE does not match the HOST in the listener, so it should be -
    TSE_ARCHIVE =
    (DESCRIPTION=
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = xxxxx.ita.doc.gov)(PORT=1521))
    (CONNECT_DATA =
    (SERVICE_NAME = TSE_ARCHIVE)
    (HS=OK)
    I've changed the actual name to xxxxx so replace that with the name in the original file.
    Change the files, stop and start the listener then try again.
    If you still have an ora-12154 error then send the output from the following SQL -
    select db_link, host from user_db_links; <=== as the user getting the error
    and
    select db_link, host from dba_db_links; <===== as a DBA user
    Regards,
    Mike

  • CF8 and connection pooling using MS SQL 2005 JDBC Driver

    After upgrading one of our production servers to CF8 we're
    getting errors under load while connecting to MS SQL 2000 data
    bases using the MS SQL 2005 JDBC 1.1 driver instead of the driver
    cf8 ships with. The following error is recorded in the logs:
    Error Executing Database Query. The TCP/IP connection to the
    host has failed. java.net.BindException: Address already in use:
    connect
    Confirmed by the database statistics, Coldfusion is no longer
    pooling the database connections. After changing the data source to
    use the build in driver everything works fine. We've been using
    this driver and CF7 for some time without this error.
    Is this a compatibility issue between the driver and Java 6?
    Or is there a conflict between this driver and the build in driver?
    Has anyone seen similar issues? We’d like to use this driver
    rather then the build in one.
    Thanks,
    Remy Becher

    thanks for the answer...I have been waiting for one..I do agree that connection ppooling is same ..but I would appreciate it if someone could point me to some example implemenations using MS JDBC type 4 driver..
    Thanks again..
    PS: I did search the forum before posting this..

  • Trying to use Linked Servers in SQL 2005 to connect to RDB 7

    I'm looking for detailed info on how to set up a linked server in SQL 2005 to connect to my Oracle RDB 7 database (running on VMS). I'm able to connect via odbc using VS.Net and Sql Server 2005 Reporting Services. I'm not sure if I need to use the ODP.NET or not. I have created a generic linked server, but it requires me to use the OpenQuery function to access the data, which is not giving me the functionality I'm looking for.

    Hi doanpq,
    Please download and install OLE DB Provider for Visual FoxPro 9.0, which exposes OLE DB interfaces that you can use to access Visual FoxPro databases and tables from other programming languages and applications. Please see:
    http://www.microsoft.com/en-us/download/details.aspx?id=14839
    Then, please follow up the following article to create a linked server:
    Creating Linked Servers:
    http://technet.microsoft.com/en-us/library/ff772782(v=sql.105).aspx
    For more information, you can also take a look at the following article, especially Dave K's comment:
    http://blog.dbase.integralwebsolutions.co.za/2008/10/accessing-your-dbf-tables-via-linked.html
    Elvis Long
    TechNet Community Support

  • Connect Non-SAP Oracle db (32bit) in sql 2005 (64 bit) using linked server

    Hi,
    I am connecting Oracle 10g database from SQL 2005 using linked server, in which i get the error
    "Cannot initialize the data source object of OLE DB provider "MSDAORA" for linked server "L2ORACLE".
    OLE DB provider "MSDAORA" for linked server "L2ORACLE" returned message "Oracle client and networking components
    were not found. " (Microsoft SQL Server, Error: 7303)
    SAP Server with sql 2005 db is in 64 bit server / Windows 2003
    Non-SAP Oracle 10g is in 32 bit windows 2003 server.
    i have installed Oracle 64 bit client in the SAP Server and also copied the 64 bit version of dboraslib.dll to the DIR_LIBRARY path. I am able to view the oracle tables in the oracle client.
    But, when i create the linked server, it gives the above error.
    If i install 32 bit version of Oracle client in the SAP Server, i am able to create the linked server in the db level, but, it says "Work Process restarted, session terminated" message in the Z program in SAP.
    The same works in the test environment where both are 32 bit servers. problem is when SAP server is in 64 bit and non sap is in 32 bit.
    Please suggest.
    Thanks and Regards,
    Nagu

    "Cannot initialize the data source object of OLE DB provider "MSDAORA" for linked server "L2ORACLE".
    OLE DB provider "MSDAORA" for linked server "L2ORACLE" returned message "Oracle client and networking components
    were not found. " (Microsoft SQL Server, Error: 7303)
    check the workprocess traces for errors (and/or SM21). It seems that the system is "not aware" that an Oracle client is installed.
    64bit programs can´t load 32bit libraries/DLLs that´s why the workprocess dumps when you use the 32bit client.
    Markus

  • Crystal 8.5 connection with Sql 2005

    Post Author: sgtpep
    CA Forum: Semantic Layer and Data Connectivity
    Hello all,I'm not sure this is the right forum group to post in, but here it goes:I have a  problem when trying to print my crystal 8.5 reports through a sql 2005 native client.Some of them work just fine, but i get this error: "print job failed cannot open sql server" for others.I've been doing a little research, but i can't seem to find a definitive answer on this topic: Can/Does crystal 8.5 work with sql 2005 databases.I did find something about upgrading my drivers, but i'm not sure where to find them and what i should be looking for.Thanks in advance for your help,Eric

    I see - the field notice does mention ICM 7.2(7)ES139.
    Multiple occurrences of this issue have been observed since October 14, 2010
    and on all Unified ICM/CCE releases. This is not a regression defect. The issue
    occurs when a Microsoft SQL Server query operation is performed to compare the
    'lastUpdateKeys' on AW and Central Controller/Logger, during the incremental
    copying of configuration changes to the local AW. In addition, using the ICMDBA
    tool to backup and restore the database with "Truncate Config Message Log"
    option checked can lead to a similar issue that causes the ICM/CCE Router to
    reject configuration updates. No UpdateAW restart is observed in this
    situation.
    I mistakenly thought it was caused by the SQL upgrade from 2000 to 2005.
    By the way, regarding defect CSCtj65060, I NEVER check that "Truncate Config Message Log" option when exporting the config.
    Regards,
    Geoff

  • ODI 10.1.3.4.0 - Topology Manager Connection Error using SQL 2005 SP3

    Hello All,
    I am using the ODI repository in SQL 2005 SP3. I could create my master repository using the following parameters:
    driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
    URL:jdbc:microsoft:sqlserver://server_name:1433;SelectMethod=direct;DataBaseName=ODI
    I needed to copy to the drivers directory all files of SQL 2000 (msutil.jar, msbase.jar,mssqlserver.jar) and SQL 2005 (sqljdbc.jar). I am using the JRE 1.4.2 and JDBC 2005 1.2 (http://msdn.microsoft.com/en-us/library/ms378422(SQL.90).aspx)
    But when I try to connect in Topology Manager to create the work repository appears the following error:
    using this driver string: com.microsoft.jdbc.sqlserver.SQLServerDriver
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC] Can't start a cloned connection while in manual transaction mode.
    using this driver string: com.microsoft.sqlserver.jdbc.SQLServerDriver
    java.sql.SQLException: No suitable driver
    Does Somebody know what is happening?
    Regards,
    Wallace Galvao
    Sao Paulo - Brazil

    Hi,
    If you plan on using the SQL Server 2005 drivers then you only need the 1.2 sqljdbc.jar file in the drivers directory.
    The connection details for SQL Server 2005 should be like the following.
    com.microsoft.sqlserver.jdbc.SQLServerDriver
    jdbc:sqlserver://<sqls machine>:1433;databaseName=<db name>;integratedSecurity=false
    I would try just with just the correct driver in place, remove the others, restart any ODI components and then make sure the connection information is correct like above.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • BI JDBC connection failure with MS SQL 2005 - but Portal JDBC is working

    I am a portal novice.
    I wanted to get tables in the visual composer. so i created the protal jdbc connection to MS SQL 2005. which is working fine.
    Later i found i need BI jdbc for retreving tables from sql server. when i followed all the steps in the how to document, my connection test is failing. below is the log.
    Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the backend application using the connector defined in this system object
      Results
    Retrieval of default alias successful
    Connection failed. Make sure that Single Sign-On is configured correctly
    can any help me there please.
    - Points will he awarded for inputs.
    thanks
    -ravi

    Swapnil,
    Thanks for the reply, but the thread is completely different from what i am looking for.
    can anybody throw some suggestion at my problem
    -ravi

  • MS SQL Server 2005 connection problem?

    Hi all,
    I am a beginner in these things, so be patient please. I have established database connection with my MS SQL 2005 server with a 3rd party JDBC driver. Testing databasae connection was successfull, but there are no tables from my created database in JDeveloper. Instead of my tables there are some for me unknown tables. Can anybody help me with this problem? just ask for further information.
    Here is port, that I have used to make connection. Actually I don't know, if this port is good. I get this information from my SQL server configuration manager.
    http://b.imagehost.org/0592/Clipboard01.jpg
    -->
    http://b.imagehost.org/0592/Clipboard04.jpg
    This is my simple testing database that was created in MS SQL:
    http://b.imagehost.org/0592/Clipboard03-3.jpg
    as you can see on the picture, my database called "skusobna" includes only one table called "osoba".
    After making connection to MS SQL Server there are only these uknown tables.I don't know from where are these tables inserted, but my database with table "osoba" isn't included.
    http://b.imagehost.org/0592/Clipboard02-2.jpg
    All I want to do is to connect my database to JDeveloper that I can see my tables created in MS SQL.
    Thanks...

    Here is port, that I have used to make connection. Actually I don't know, if this port is good. I get this information from my SQL server configuration manager.
    http://b.imagehost.org/0592/Clipboard01.jpg
    The port is correct.
    -->
    http://b.imagehost.org/0592/Clipboard04.jpg
    The connection url is correct.
    This is my simple testing database that was created in MS SQL:
    http://b.imagehost.org/0592/Clipboard03-3.jpg
    as you can see on the picture, my database called "skusobna" includes only one table called "osoba".
    The database is correct.
    After making connection to MS SQL Server there are only these uknown tables.I don't know from where are these tables inserted, but my database with table "osoba" isn't included.
    http://b.imagehost.org/0592/Clipboard02-2.jpg
    Click on the dbo node for the osoba table.

Maybe you are looking for

  • Is there a way to hide email on view source when validation error found using validateAt = onServer?

    I'm confused! Here's what I'm doing. I have two seperate files, one is form.cfm and one is formdo.cfm. On form.cfm, I have the cfform, that takes a name, email, phone number, and message and is set with validateAt onSubmit and onServer with correct s

  • Top utility installation in Solaris 10

    Hello I've a SB 150 with Solaris 10 loaded. I tried to install top utility using pkgadd command and it showed that the package was added successfully. Following is the package name that I installed: top-3.5.1-sol25-sparc-local After this I have reboo

  • Need help changing colours in a picture

    I would like to take a picture of someone's face and make it only black and white (like the picture show here), but I have no idea how.  Any help you can offer is greatly appreciated.  Thank you!

  • Illuminated Keyboard Problems Solved

    If you are having the problem where your illuminated keyboard is no longer working (the F keys give you the circle with a line through it), the solution is quite simple. 1. Turn the brightness on your laptop down to the minimum setting 2. Turn off al

  • I can't find DPS Tools panels in InDesign CC

    I installed InDesign CC and it's updated, but I can't find the panels Folio Builder and Overlays in the Window menu. I had alread uninstalled and installed again, but it doesn't work. I work in a PC with Windows with windows 7 professional. I don't h