Sql server 2000 connect with other than jdbc?

Is there any other way to connect to a Sql Server 2000 database other than with jdbc? My problem actually resides in the fact that I did a small program to test the connection to the database and it works perfectly on my computer but on the server that it's going to stay on, it doesn't.
the program is classic:
try{
     DriverManager.registerDriver(new com.microsoft.jdbc.sqlserver.SQLServerDriver());     
     Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://12.345.67.890\ \INSTANCENAME:1433;databaseName=NAME;selectMethod=cursor;","user","pass");
if (connection != null) {
     System.out.println("Successfully connected");
this small program works ok on my computer(win xp, tomcat 6) but on the other computer(ubuntu, tomcat 5.2) says
Exceptionjava.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]The requested instance is either invalid or not running.
I pinged the ip(12.3...) from the server and it works. So I can't figure out what could cause the error. I tried 20 different connection string and don't work. I'm thinking it might have to do with using MS jdbc drivers on a unix platform? or maybe it's from the server firewall(it's a virtual server), anybody can confirm if they had similar problem? Since I can't figure out the problem, I'm trying to test connection using something else than jdbc but google didn't help much
thanks in advance!
Edited by: Biggie_mac on Sep 28, 2007 6:48 AM

Biggie_mac wrote:
Is there any other way to connect to a Sql Server 2000 database other than with jdbc? My problem actually resides in the fact that I did a small program to test the connection to the database and it works perfectly on my computer but on the server that it's going to stay on, it doesn't.Something's different between the two servers. Obviously.
I pinged the ip(12.3...) from the server and it works. So I can't figure out what could cause the error. I tried 20 different connection string and don't work. Why did you do that if the Tomcat version "works"? You're looking in the wrong place.
I'm thinking it might have to do with using MS jdbc drivers on a unix platform? Why would that matter if you're using type IV 100% Java JDBC drivers?
or maybe it's from the server firewall(it's a virtual server), anybody can confirm if they had similar problem? If you can ping it successfully, how can it be a firewall issue?
You're doing something else wrong.
%

Similar Messages

  • Java - SQL Server 2000 Connectivity

    hi all. i m looking for help in Java - SQL Server 2000 Connectivity.i worked on Java- Oracle & Java - MS Access format.now i m looking to work on Java - SQL Server 2000. I m using JBuilder 2005. can any1 help me how to make any change(configuration) in my SQL Server.thanx in advance.

    http://www.jguru.com/forums/JBuilder is hopeless. ihvn;t get good replies from them.i downloaded the JDBC driver from microsoft and added the JAR files (3 files) and tried the following code:
    import java.sql.*;
    * Microsoft SQL Server JDBC test program
    public class Test {
    public Test() throws Exception {
    // Get connection
    DriverManager.registerDriver(new com.microsoft.jdbc.sqlserver.SQLServerDriver());
    //Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://<Host>:1433",<"UID>","<PWD>");
    // Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://GMC01:1433;DatabaseName=MoonDB");
    Connection connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://Moon:1433;DatabaseName=MoonDB");
    if (connection != null) {
    System.out.println();
    System.out.println("Successfully connected");
    System.out.println();
    // Meta data
    DatabaseMetaData meta = connection.getMetaData();
    System.out.println("\nDriver Information");
    System.out.println("Driver Name: "
    + meta.getDriverName());
    System.out.println("Driver Version: "
    + meta.getDriverVersion());
    System.out.println("\nDatabase Information ");
    System.out.println("Database Name: "
    + meta.getDatabaseProductName());
    System.out.println("Database Version: "+
    meta.getDatabaseProductVersion());
    } // Test
    public static void main (String args[]) throws Exception {
    Test test = new Test();
    it run without any error and then showed fatal exception as below:
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
         at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSConnection.<init>(Unknown Source)
         at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
         at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)
         at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
         at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
         at java.sql.DriverManager.getConnection(DriverManager.java:512)
         at java.sql.DriverManager.getConnection(DriverManager.java:193)
         at Test.<init>(Test.java:11)
         at Test.main(Test.java:31)
    Exception in thread "main"
    where's the problem?can any1 try to solve this plz.

  • Content Server SQL Server 2000 Connection Error (very annoying)

    All of the diagnostic tests are failing because of SQLServer connection error (see below for diagnosticTests.jsp output).
    I checked database.content.properties file, all connection information is correct. The portal is running on the same SQL server. So I know that the SQL server is running just fine. I just could not isolate the problem. Can you help?------------------------------------------------------------------------
    Content Server DB Connection FAIL
    Settings JDBC Driver: com.plumtree.jdbc.sqlserver.SQLServerDriver JDBC URL: jdbc:plumtree:sqlserver://OXO-SRV03:1433;DatabaseName=ptcsdb DB Driver: com.plumtree.jdbc.sqlserver.SQLServerDriver DB Vendor: com.plumtree.content.rdbms.impl.VendorSqlServer User Name: ptcsdbuser Possible Resolution Check the Content DB JDBC Server, JDBC Port, JDBC User, JDBC Password, and JDBC Databse settings in the content.properties file. Error Details Exception Message: [plumtree][SQLServer JDBC Driver]Error establishing socket. Connection refused: connect com.plumtree.jdbc.base.BaseSQLException: [plumtree][SQLServer JDBC Driver]Error establishing socket. Connection refused: connect at com.plumtree.jdbc.base.BaseExceptions.createException(Unknown Source) at com.plumtree.jdbc.base.BaseExceptions.getException(Unknown Source) at com.plumtree.jdbc.sqlserver.tds.TDSConnection.(Unknown Source) at com.plumtree.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source) at com.plumtree.jdbc.base.BaseConnection.connect(Unknown Source) at com.plumtree.jdbc.base.BaseConnectionStartup.run(Unknown Source) Content DB Table CREATE and DELETE FAIL
    Settings Unable to get a connection to the content server DB Possible Resolution Check the Content DB JDBC Server, JDBC Port, JDBC User, JDBC Password, and JDBC Databse settings in the content.properties file. Also ensure that the Content Database Server is running. Error Details Exception Message: [plumtree][SQLServer JDBC Driver]Error establishing socket. Connection refused: connect com.plumtree.jdbc.base.BaseSQLException: [plumtree][SQLServer JDBC Driver]Error establishing socket. Connection refused: connect at com.plumtree.jdbc.base.BaseExceptions.createException(Unknown Source) at com.plumtree.jdbc.base.BaseExceptions.getException(Unknown Source) at com.plumtree.jdbc.sqlserver.tds.TDSConnection.(Unknown Source) at com.plumtree.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source) at com.plumtree.jdbc.base.BaseConnection.connect(Unknown Source) at com.plumtree.jdbc.base.BaseConnectionStartup.run(Unknown Source) Content DB Update and Query FAIL
    Settings Unable to get a connection to the Content DB Table Name: PCSSYSTEM Column Name: CREATEDVERSION Possible Resolution Check the Content DB JDBC Server, JDBC Port, JDBC User, JDBC Password, and JDBC Databse settings in the content.properties file. Also ensure that the Content Database Server is running. Error Details Exception Message: [plumtree][SQLServer JDBC Driver]Error establishing socket. Connection refused: connect com.plumtree.jdbc.base.BaseSQLException: [plumtree][SQLServer JDBC Driver]Error establishing socket. Connection refused: connect at com.plumtree.jdbc.base.BaseExceptions.createException(Unknown Source) at com.plumtree.jdbc.base.BaseExceptions.getException(Unknown Source) at com.plumtree.jdbc.sqlserver.tds.TDSConnection.(Unknown Source) at com.plumtree.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source) at com.plumtree.jdbc.base.BaseConnection.connect(Unknown Source) at com.plumtree.jdbc.base.BaseConnectionStartup.run(Unknown Source) Portal DB Connection FAIL
    Settings JDBC Driver: com.plumtree.jdbc.sqlserver.SQLServerDriver JDBC URL: jdbc:plumtree:sqlserver://OXO-SRV03:1433;DatabaseName=plumdb DB Driver: com.plumtree.jdbc.sqlserver.SQLServerDriver DB Vendor: com.plumtree.content.rdbms.impl.VendorSqlServer User Name: plumdbuser Possible Resolution Check the Portal DB JDBC Server, JDBC Port, JDBC User, JDBC Password, and JDBC Databse settings in the content.properties file. Error Details Exception Message: [plumtree][SQLServer JDBC Driver]Error establishing socket. Connection refused: connect com.plumtree.jdbc.base.BaseSQLException: [plumtree][SQLServer JDBC Driver]Error establishing socket. Connection refused: connect at com.plumtree.jdbc.base.BaseExceptions.createException(Unknown Source) at com.plumtree.jdbc.base.BaseExceptions.getException(Unknown Source) at com.plumtree.jdbc.sqlserver.tds.TDSConnection.(Unknown Source) at com.plumtree.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source) at com.plumtree.jdbc.base.BaseConnection.connect(Unknown Source) at com.plumtree.jdbc.base.BaseConnectionStartup.run(Unknown Source) Portal DB Query FAIL
    Settings Unable to get a connection to the Portal DB Table Name: PTUSERS Column Name: OWNERID Possible Resolution Check the Portal DB JDBC Server, JDBC Port, JDBC User, JDBC Password, and JDBC Databse settings in the content.properties file. Also ensure that the Portal Database Server is running. Error Details Exception Message: [plumtree][SQLServer JDBC Driver]Error establishing socket. Connection refused: connect com.plumtree.jdbc.base.BaseSQLException: [plumtree][SQLServer JDBC Driver]Error establishing socket. Connection refused: connect at com.plumtree.jdbc.base.BaseExceptions.createException(Unknown Source) at com.plumtree.jdbc.base.BaseExceptions.getException(Unknown Source) at com.plumtree.jdbc.sqlserver.tds.TDSConnection.(Unknown Source) at com.plumtree.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source) at com.plumtree.jdbc.base.BaseConnection.connect(Unknown Source) at com.plumtree.jdbc.base.BaseConnectionStartup.run(Unknown Source) Document Repository OK Workflow Server FAIL
    Settings Workflow Server Base URL: http://OXO-SRV03:7087 Content Server URL: http://OXO-SRV03:7777/ptcs Workflow Server Portlet URL: http://OXO-SRV03:7087/workflow Possible Resolution Verify that the Plumtree Workflow service has been started. Also, check the Workflow Serverdiagnostics for more detailed information. Error Details Exception Message: Cannot access Burlap service at [http://localhost:7087/wfserver/caucho/workflowsvc-burlap]; nested exception is com.caucho.burlap.client.BurlapProtocolException: org.springframework.remoting.RemoteAccessException: Cannot access Burlap service at [http://localhost:7087/wfserver/caucho/workflowsvc-burlap]; nested exception is com.caucho.burlap.client.BurlapProtocolException: com.caucho.burlap.client.BurlapProtocolException: at com.caucho.burlap.client.BurlapProxy.invoke(BurlapProxy.java:171) at $Proxy2.connectPortalUser(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.springframework.remoting.caucho.BurlapClientInterceptor.invoke

    Don't know if anyone is still having problems with this, but just in case...
    I was getting a similar error. I had an Event Viewer record (It wasn't a Warning or an Error, just an Information) reading:You are running a version of Microsoft SQL Server 2000 or Microsoft SQL Server 2000 Desktop Engine (also called MSDE) that has known security vulnerabilities when used in conjunction with this version of Windows. To reduce your computer's vulnerability to certain virus attacks, the TCP/IP and UDP network ports of Microsoft SQL Server 2000, MSDE, or both have been disabled. To enable these ports, you must install a patch, or the most recent service pack for Microsoft SQL Server 2000 or MSDE from http://www.microsoft.com/sql/downloads/default.asp
    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
    I installed SQL SP4 and it corrected the problem

  • SQL Server 2000 connectivity probs

    hi frnds
    i wanna do the database connectivity with Microsoft SQL Server 2000 and for this i got the driver from the site of Microsoft ,named Microsoft SQL Server 2000 JDBC Driver .
    But on testing this driver i am getting the following errors which shows the compiler isnt getting the driver class for connectivity..please do guide me about this...what can be the possible solution.
    Exception in thread "main" java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
    at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
    at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
    at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
    at com.microsoft.jdbc.sqlserver.tds.TDSConnection.<init>(Unknown Source)
    at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
    at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)
    at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
    at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at Main.main(Main.java:21)
    please reply ASAP
    thanks n regards
    Melinda

    no i am not calling the createStatement.
    this is the code i am using to test the driver
    import java.sql.*;
    * Microsoft SQL Server JDBC test program
    public class Main {
    public static void main (String args[]) throws Exception {
    // Get connection
    //DriverManager.registerDriver(new
    // com.microsoft.jdbc.sqlserver.SQLServerDriver());
    Driver d = (Driver)Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver").newInstance();
    Connection connection = DriverManager.getConnection(
    "jdbc:microsoft:sqlserver://local:1433","sa","sa");
    if (connection != null) {
    System.out.println();
    System.out.println("Successfully connected");
    System.out.println();
    // Meta data
    DatabaseMetaData meta = connection.getMetaData();
    System.out.println("\nDriver Information");
    System.out.println("Driver Name: "
    + meta.getDriverName());
    System.out.println("Driver Version: "
    + meta.getDriverVersion());
    System.out.println("\nDatabase Information ");
    System.out.println("Database Name: "
    + meta.getDatabaseProductName());
    System.out.println("Database Version: "+
    meta.getDatabaseProductVersion());
    n this is the error that i m getting now
    Exception in thread "main" java.lang.ClassNotFoundException: com.microsoft.jdbc.
    sqlserver.SQLServerDriver
    at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:141)
    at Main.main(Main.java:18)

  • SQL Server 2000 connection problems

    We installed SSL certificates on both the nodes of the sql
    server cluster and enabled "Forced Protocol Encryption" on db
    server using SQL Server Network Utility.
    After enabling that we are getting the below message. we
    would like to encrypt the data passing between SQL and CF servers.
    we need help in this regard
    Error Message:
    Operation failed on the data source named "CData".
    Reason of failure "java.sql.SQLException:
    [Macromedia][SQLServer JDBC Driver]No more data available to read."
    Environment details:
    Database Server Info:
    : SQL Server 2000 sp4 (Active/passive)
    windows 2003 -sp1
    CF :
    ColdFusion MX Version 7,0,2,142559
    Edition Enterprise
    Operating System Windows 2003
    OS Version 5.2
    JVM Details
    Java Version 1.4.2_11
    Java Vendor Sun Microsystems Inc.
    Java Vendor URL
    http://java.sun.com/
    Java Home E:\javaSDK\j2sdk1.4.2_11\jre
    Java File Encoding Cp1252
    Java Default Locale en_US

    ColdFusion does not yet support encrypted datasource
    connection, so this is I believe a reason why you are getting the
    error message.

  • Sql server 2000 connection error

    Hi everyone ,
    I am trying to connect Sql server 2000 using ODI and trying to pass the parameters.
    com.microsoft.jdbc.sqlserver.SQLServerDriver
    jdbc:microsoft:sqlserver://localhost:1433;SelectMethod=cursor;databaseName=Northwind;integratedSecurity=false
    username : sa
    password : *******
    error :
    connection failed
    com.sunopsis.sql.c: com.microsoft.jdbc.sqlserver.SQLServerDriver
    can some one help me to make it worked out especially enabling IPaddress in Sql server 2000. both for the Server and network utility have 1433 as the port for tcp/ip .
    Thanks

    Firstly, this message normally means that you do not have the JAR files for the driver in your classpath. The classpath is created dynamically at startup of the ODI process, so the jar needs to be in the drivers directory before you start.
    Second, even if you are using SQL Server 2000, the recommendation is to use the SQL Server 2005 driver, available from the Microsoft site (http://msdn.microsoft.com/en-us/data/aa937724.aspx). It is much more capable and reliable. Note that you will need to use a different Driver name, and the URL format is also slightly different.
    Driver: com.microsoft.sqlserver.jdbc.SQLServerDriver
    URL: jdbc:sqlserver://[serverName[\instanceName][:portNumber]][;property=value[;property=value]]

  • MS SQL Server 2000 connectivity problems

    Hello everyone,
    I'm having problems connecting my application to MS SQL Server 2000. I am making a desktop application that is going to read and update a database I have created in MS SQL Server 2000. The problem is I cannot connect to the database from the application. Here are the details:
    I have only created a GUI for one table so far. I have created one other class that is used for connecting to the database.
    The GUI class is called Products.java and I have created it in Netbeans. The other class is called ConnectClass.java. In the constructor of the Products.java (GUI class), I instantiate an object of ConnectClass. That object in turn tries to establish a connection to the database. Here is the code of the constructor of the Products.java class (GUI class).
    public class Products extends javax.swing.JFrame {
    private ConnectClass connect1; // declaring the reference variable for ConnectClass
    /** Creates new form Products */
    public Products() {
    initComponents();
    connect1 = new ConnectClass(); // instantiating the ConnectClass
    The code of ConnectClass.java is as follows:
    import java.sql.*;
    public class ConnectClass {
    Connection connection;
    Statement statement;
    public ConnectClass()
    try
    Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
    connection = DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=assignment2;User=root;Password=sa");
    statement = connection.createStatement();
    catch(SQLException sqle)
    System.err.println("Error creating connection");
    catch(ClassNotFoundException cnfe)
    System.err.println(cnfe.toString());
    When I run the application I expect that the database should be connected at least. However I get the following message in Netbeans output window:
    run:
    java.lang.ClassNotFoundException: com.microsoft.jdbc.sqlserver.SQLServerDriver
    BUILD SUCCESSFUL (total time: 6 seconds)
    I am using Windows XP Home Edition SP3
    The JDBC driver I am using is: Microsoft® SQL Server® 2000 Driver for JDBC™ Service Pack 3
    The name of the database I have created in MS SQL Server 2000 is: assignment2
    I have given the following settings in the CLASSPATH environment variable: .;c:\program files\Microsoft SQL Server 2000 Driver for JDBC\lib\msbase.jar;c:\program files\Microsoft SQL Server 2000 Driver for JDBC\lib\msutil.jar;c:\program files\Microsoft SQL Server 2000 Driver for JDBC\lib\mssqlserver.jar
    I don't know what is wrong. Any help would be GREATLY appreciated. If you want to know something more please ask me.
    Regards

    Ace1111111 wrote:
    Thanks for the answers. I put the jar file in the jdk/jre/lib/ext folderWhich is exactly what you should not do. That folder is for language extensions, which a Driver is not. Why does everybody find it so hard to take the time to learn the language basics?
    and the driver was finally detected but then the program would not connect to the database.Did you configure the server properly. Per default it is not configured to accept network connections.
    I tried jtds driver too. I was so frustrated that I installed MySQL instead. Put the jar file in jre/lib/ext folder and then gave the URL and to my relief the database connected. Maybe there are some settings that need to be configured in MS SQL before it can connect. But I could not get it to connect :(The manual would contain that info, btw.

  • Oracle 9i to SQL Server 2000 Connectivity

    I want to connect to SQL Server 2000 from an Oracle 9i on Solaris.
    Both these machines are within the same TCP/IP network and can be pinged.
    Please tell me what I need to do.
    Thanks.

    Hi,
    You have 2 major options:
    1. Use Generic Connectivity with your Oracle 9i database running on Solaris. However it requires a proper ODBC-Driver to be installed on Solaris capable of connecting to Microsoft SQL Server
    MetaLink DocID: 245549.1 - How to setup Generic Connectivity - HSODBC - on SUN Solaris
    Remark: Oracle 9i has been de-supported, should you run into new bugs they wouldn't be fixed by Oracle
    2. Install and use the Database Gateway for ODBC 11g on the same machine which hosts the SQL Server database. Usage of this gateway is included in the Oracle database license. DG4ODBC also requires an ODBC-Driver but this one is mostly already present.
    Another option would be to install the Database Gateway for MS SQL Server (DG4MSQL) 11g on the same machine which hosts the SQL Server database. However this gateway requires an additional license. The big advantage of this gateway over DG4ODBC is that it supports the two phase commit protocol (distributed updates) and calling of SQL Server stored procedures. Also the dataype mapping is better compared to DG4ODBC.
    One thing though; in order for you Oracle 9i database to cooperate with one of the 11g gateways a patch for bug 5965763 on top of 9.2.0.8.0 is required. See also MetaLink DocID: 457808.1 for more details.
    I hope this get you going.
    Regards,
    Ed

  • SQL Server 2000 problem with MII Version 12.1.8 Build(24) Reconnecting

    Hi,
    I have a problem using XMII Version 12.1.8 Build(24) with com.microsoft.sqlserver.jdbc.SQLServerDriver JDBC driver with SQL 2000.
    The problem we have is the machine where the SQL server is installed on reboot as per schedule once a week. When the server comes back online, XMII  seems to get problem to reconnect correctly. Sometimes it reconnects perfectly, sometimes not.
    When it fails, the only way to fix the problem is to uncheck the 'Enabled' checkbox, then save the data server, then check the 'Enabled' checkbox, then save again.
    When the reconnect issue happens, uploading messages to SAP fail 100% of time, but downloading Control Recipes  from SAP works 50% of time. For example, some PO's can be processed correctly, some others not, causing data losses due to poor data buffering(buffering doesn't cover connection time out). The failed PO's are marked as 'Sent' into CO53 SAP transaction but in fact, are lost in a hole causing data losses.
    See the error we get atfer the server reboot:
    Unable to get a connection from the pool
    [EXCEPTION]
    com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host VANASR70, port 1433 has failed. Error: "connect timed out. Verify the connection properties, check that an instance of SQL Server is running on the host and accepting... [see details]
    Cannot create a connection to the database
    [EXCEPTION]
    com.sap.xmii.Illuminator.system.CommunicationException: Cannot create a connection to the database... [see details]
    Error processing transaction com.sap.xmii.bls.engine.TransactionInstance@cee764f
    [EXCEPTION]
    com.sap.xmii.scheduler.CronException: PMU ERR VAN - Cannot Qry MSIDs.... [see details]
    Unable to get a connection from the pool
    [EXCEPTION]
    com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host VANASR70, port 1433 has failed. Error: "Connection refused. Verify the connection properties, check that an instance of SQL Server is running on the host and accepting... [see details]
    Unable to get a connection from the pool
    [EXCEPTION]
    com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host VANASR70, port 1433 has failed. Error: "connect timed out. Verify the connection properties, check that an instance of SQL Server is running on the host and accepting... [see details]
    The only way we have thought to workaround this problem is to develop our own buffering method into XMII workbench puting all data received from SAP or SQL insert query into an Oracle temp database. We should probably be able to fix this by this way, but it reprensents many costs and efforts, so we try to avoid this for sure.
    Please, if you can provide us a patches or hints about how to fix this, it could be very appreciated because loosing data is very anoying.
    Thanks a lot!
    Edited by: mrmans on May 19, 2011 5:48 PM
    Edited by: Michael Appleby on May 19, 2011 6:10 PM

    The validation query is in place and the system works very well 99% of the time.
    When the SQL server machine reboot each sunday morning, during the time the machine is rebooting, the data server lose the connection which is normal, but when the machine comes back alive(less then 10 minutes), the data server seems to stay in an 'in-between' state showing the connection status 'Running' but showing also error messages posted in the orginial post in Netweaver logs. So at first look the data server is up and running and reconnected to SQL server after the reboot, but in fact, following these errors after the SQL server machine has rebooted, some data are processed correctly from SAP (Control Recipes) and some not.
    The problems looks like very similar to threadID 1596329.
    Here is the data server configuration for all our 5 data servers:
    Connector IDBC
    ConnectorID  
    ConnectorType SQL
    DatePrefix '
    DateSuffix '
    DaysRetention 7
    Description VANASR70 INTERFACE with MS-SQL JDBC 3.0
    Enabled T
    InitCommand  
    InternalDateFormat yyyy-MM-dd HH:mm:ss
    JDBCDriver com.microsoft.sqlserver.jdbc.SQLServerDriver
    MaxRetryCount 50
    Name PROF_INT_VAN
    PoolMax 150
    PoolSize 100
    RetryInterval 60000
    ServerPackage com.sap.xmii.Illuminator.connectors.IDBC
    ServerURL jdbc:sqlserver://VANASR70:1433;databaseName=INTERFACE
    Timeout 30
    UseCount 256
    UserName mii_user
    ValidationQuery SELECT GETDATE()
    WaitTime 60

  • SQL Server Database Connectivity with Visual Studio 2012 - Help Needed

    Hello,
    I am having Visual Studio 2012 and SQL Developer 4.0 installed on my system with Windows 8 - 64bit
    I want to shift a VS project with an SQL database connectivity to another new Laptop (above mentioned) ...
    I have the project opened in VS without bieng connected to the database.. 
    I have a backup file of the database (which needs to be restored to a new created database on SQL Developer) 
    The problem:
    I am unable to create a server connection in SQL Developer which will allow me to create a new database followed by the recovery from backup file.
    I am getting the following error message when I try to create a connection:
    Status: Faliure - IO error: The network adapter could not establish a connection
    Please help me in setting up a server connection and adding a new sql database

    The error message seemed unfamiliar to me and since I had never heard of SQL Developer before, I went to Google. Google might be pulling my legs, but it appears that SQL Developer is related to Oracle. This forum is devoted to SQL Server, so you are in the
    wrong place.
    Try finding a forum for SQL Developer.
    Erland Sommarskog, SQL Server MVP, [email protected]

  • SQL Server 2000 with IBM websphere 4.0

    Hi,
    I need to migrate existing Oracle DB to SQL server 2000.
    Let me know how does SQL server 2000 connect with and talk to IBM websphere 4.0.
    If you can also send me a sample architecture diagram.
    Thanks
    Alpana

    Hello,
    It seems you need to install i-net OPTA in IBM WebSphere 4.o to be able to connect to a SQL Server
    2000 instance. Please read the following article for more information:
    https://www.inetsoftware.de/products/jdbc-driver/ms-sql/configurations/websphere4
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Connection with SQL Server 2000 to SQL Developer 1.2 Migration Workbench

    Hi all,
    I keep getting the following error with setup for SQL Developer 1.2 Migration Workbench connection to SQL Server 2000 database:
    "Status: Failure -Network error IOException: Connection refused:connect"
    I can access the Microsoft SQL Server 2000 database with username
    and password using Enteprise Manager. However for some odd
    reason the Oracle SQL Developer 1.2 cannot connect to it.

    I was having this problem too. I'll mangle this explanation, but Our SQLServer instance was on a local server with some named DNS something. So, to get to the server, we used theservername.outdomain instead of an IP. We could never get it to connect through the named server. We got an SQLServer instance going on a server that we could connect to through a regular IP, and it connected just fine.
    Also, are you using the JTDS driver, or microsofts driver? We have only been able to connect with the JTDS driver. http://jtds.sourceforge.net/

  • How to Connect SQL Server 7.0 with JSP ?

    Recently, I just installed SQL Server 7.0 with the advice from my boss. But, I have encountered a problem as I am not familiar with the SQL Server's connectivity with the JSP and JDBC. Previously, I was using MySQL to connect and it works fine.
    Anybody can give me any idea or hints ? Thank you a lot.

    You connect the same way you did for the mySQL database.
    The only thing that need to change is the Driver and Connection string.

  • Solman 4.0 with MS SQL Server 2000

    I want to install Solution Manager 4.0 with MS SQL Server 2000. But I've the dvd's of Solution manager 4.0 with MS SQL Server 2005.
    I've still the software for MS SQL Server 2000 from an other installation .
    Is there any problem to install Solution Manager 4.0 with this software?

    Hi,
    I would suggest better to have a backup of existing database remove your existing SQL server. Install the  one given by SAP. And restore your previous databases.
    --Ragu

  • Installing Oracle 8i on server with SQL Server 2000

    We have One Server (HP with: 4 processors XEON, 100 GB HD Raid 5, 8GB RAM). And this server has SQL Server 2000 running with some databases. We NEED to install ORACLE 8i for a product that they use that DB. IS THERE a problem to install and use ORACLE 8i on the same server that has SQL server 2000? Do you know any issue related to this "experience"?

    You CAN run both at the same time. I have done this on a few boxes without issue. MS tells you not to, but I think it's because they don't want you running Oracle. Their comment was 'we don't recommend it.'
    Remember that you will have TCP 1521 tied up with Oracle (by default) and TCP 1433 tied up with SQL Server (by default). If you have installation issues, it's not because you are running two separate DBs. In this case you have a different issue. If you can't run both successfully, simultaneously then you have another issue altogether not related to the software. You should be fine as long as you are not sharing TCP ports.
    Several years ago I was responsible for an HP Netserver LX Pro that ran Oracle RDMBS 7.3.2 and (probably 4.2 or 6.0) SQL Server and had no issues. I have been running both RDBMSs on the same box since even though the boxes have changed - HP/DELL - didn't matter.
    Scott Yando

Maybe you are looking for

  • Problem with my ipod nano 6th gen

    Hi, I have a problem with my ipod nano because windows does.nt recogniza it and I try everything in the support page (reinstall itunes, udate driver, restarting the AMDS) and I don't know what to do. Please help me P.S: I use a IBM ThinkPad R40

  • IMovie11 - I Cannot Change Photo Duration

    This is so frustrating ! I load my photos in iMovie for a slideshow video, and it sets my photos for 8 second duration and won't let me change it. I have tried double clicking on the individual photos and changing it to 3 sseconds, and it accepts it,

  • Can't watch rented movies

    I rented a few movies from the ITunes store and now when I try to watch them they just wont play.  They had completly downloaded and had no errors.

  • Installing 2nd ipod on one computer

    Need HELP - I have an ipod 2nd gen installed on an Itunes account, want to add a 4th gen to the same itunes account, use the same music, apps, etc. What do I do first? Do I just plug it in and let Itunes take over? Will it add all that I have checked

  • How can I add an extra in pages when creating a newsletter?

    Hi, I'm working on a newsletter in Pages via the newsletter template (I'm working in 5.2) it won't however let me add an extra page, I just have the two that are in the original template. Any ideas? Thanks.