MS SQL Server 2000 Problem to Connect

Hi There
I have a problem with MS SQL Server 2000 with Service Pack 3 and JDBC from Microsoft
My tools are:
- Windows 2003 Server Standart Edition
- MS SQLServer 2000 with ServicePack 3
- JDBC from Microsoft with ServicePack 3
I want to connect in the database using JDBC.
At first time, I follow the example to chance the authentication of SQL
Server
http://www.banmanpro.com/support/sql2k.asp
Now, when I will try out to connect in the SQL Server, I receive this error
message
java.sql.SQLException: [Micro$oft][SQLServer 2000 Driver for
JDBC][SQLServer]Login failed for user 'Administrador'.
I'm trying to connect in SQL Server using my Windows Account, in other
words, I'm using the ADMIN account of Windows and which was registered in
the SQL Server.
In then DriverManager.getConnection line from Java, the Username and
Password is same the operation system, but I receive the error below.
Maybe Can you help me please?

You can't log in using Windows credentials using the MS driver (yes, I know that sounds kind of funny). Use jTDS for that, if you really need it (or if you encounter any other problems with the MS driver). Otherwise log in using SQL Server credentials (try with user sa and blank password if not sure).
Alin.

Similar Messages

  • Java and MS SQL Server 2000 problem, please help

    please help me. I am using java and MS SQL Server 2000, and I'm trying to access and verify the login. I'm getting the following error message: [Microsoft][ODBC SQL Server Driver]Invalid Descriptor Index
    Can any please help in this regard.
    String userNumber = (String)userNumField.getValue();
    char[] userPasswordArray = userPasswordField.getPassword();
    String userPassword = new String(userPasswordArray);
         try {
                Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                java.sql.Connection connection = java.sql.DriverManager.getConnection("jdbc:odbc:Dikolobe_Data");
                java.sql.PreparedStatement statement = connection.prepareStatement(
                        "SELECT USER_NUMBER, USER_PASSWORD, USER_CLASS, USER_STATUS " +
                        "FROM SYS_USER " +
                        "WHERE (USER_NUMBER = ? AND USER_PASSWORD = ?);");
                statement.setString(1, userNumber);
                statement.setString(2, userPassword);
                java.sql.ResultSet result = statement.executeQuery();
                if(result.next()) {
                    String userStatus = result.getString(4);
                    if(userStatus.equals("logged on")) {
                        String loginErrorMessage = "User with number: " + userNumber + " is already logged on.";
                        javax.swing.JOptionPane loginErrorPane = getNarrowOptionPane(72);
                        loginErrorPane.setMessage(loginErrorMessage);
                        loginErrorPane.setMessageType(javax.swing.JOptionPane.ERROR_MESSAGE);
                        javax.swing.JDialog loginErrorDialog = loginErrorPane.createDialog(null, "Login Error");
                        loginErrorDialog.setVisible(true);
                    else {
                        String userClassification = result.getString(3);
                        if(userClassification.equals("Administrator")) {
                            AdminHomePage newAdminHomePage = new AdminHomePage();
                            newAdminHomePage.setVisible(true);
                        else if(userClassification.equals("Educator")) {
                            EduHomePage newEduHomePage = new EduHomePage();
                            newEduHomePage.setVisible(true);
                        statement = connection.prepareStatement(
                                "UPDATE SYS_USER SET USER_STATUS = ? " +
                                "WHERE USER_NUMBER = ?");
                        statement.setString(1, "logged on");
                        statement.setString(2, userNumber);
                        statement.executeUpdate();
                        dispose();
                }

    Doesn't the following link give you enough information?
    http://www.google.com/search?q=invalid+descriptor+index
    Anyway .. This error means that the given ResultSet column index which you're trying to retrieve the value from is out of the range.

  • SQL Server 2000/CFMX 7 - connection refused: connect

    Hi all,
    I have been trying to troubleshoot this for a few weeks now,
    I have looked high and low and tried multiple solutions that worked
    for other people, none have worked for me.
    I have SQL Server 2000 Version 8 and Coldfusion 7.0.2.
    I can't seem to make a database connect in Administrator. I
    have tried changing the port that SQL Server listens on, I made a
    new security role in SQL Server specifically for the database I'm
    creating, I tried making an ODBC connection (which can see the SQL
    Server) in windows then connecting to that, nothing is working.
    I thought it might be the windows firewall, it isn't since it
    is off, my TCP/IP protocol is enabled, I am running out of ideas.
    If anyone can suggest anything, please do this is what I see
    everytime.
    Connection verification failed for data source: IFDA
    java.sql.SQLException: [Macromedia][SQLServer JDBC
    Driver]Error establishing socket. Connection refused: connect
    The root cause was that: java.sql.SQLException:
    [Macromedia][SQLServer JDBC Driver]Error establishing socket.
    Connection refused: connect
    I'm dying over here.
    Thanks.

    This might be a dumb question, but have you searched Google
    groups? Its one of the first places I go when I get error messages
    I don't understand.
    Googling this:
    "java.sql.SQLException: [Macromedia][SQLServer JDBC
    Driver]Error establishing socket. Connection refused: connect"
    ..gave me 84 results (ok, a lot of them point back to these
    forums but I still find searching thru Google easier than using the
    built in search) - here's a
    Link
    hth - cheers.

  • Windows server 2003 connect to SQl server 2000 problem

    my problem
    D:\Myjava>java connect
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establis
    hing 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 Sou
    rce)
    at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown S
    ource)
    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:525)
    at java.sql.DriverManager.getConnection(DriverManager.java:171)
    at connect.getConnection(connect.java:26)
    at connect.displayDbProperties(connect.java:43)
    at connect.main(connect.java:79)
    Error Trace in getConnection() : [Microsoft][SQLServer 2000 Driver for JDBC]Erro
    r establishing socket.
    1)both my sql server server and client listen the port 1433
    2) on sql security -> Logins I have the user call test and password call 1234 can access to pubs
    what else I need to care
    Thank you

    This version did not have built in service packs. You have to install it sepeartely. Check this link.
    http://vyaskn.tripod.com/sqlsps.htm
    Best of luck
    Muhamamd Uzair Baig
    JEE Application Developer
    Dubai Customs.

  • 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

  • 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.

  • 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.

  • Connection problem to SQL Server 2000

    I have a local installation of MSSQL 2000, that doesn't seem to use any port as a listener. when checking the log I can see that even though I said it should use a TCP/IP connection, it says it uses a shared memory (I guess the reason is that the installation I did is not for a server but only for running on my machine).
    How can I define through BPEL the connection to this kind of MSSQL? can I define a connection that will run on the named pipes of the SQL server?
    Thanks in advance.

    Hi Ophir,
    I tried this exercise of connecting to SQL Server myself via jdbc and I wrote a new section for the developer's guide based on it. It was not completely painless. For your specific question the SQL Server Express install sets up connectivity by either 'shared memory' or 'named pipes' by default, but you can easily add a TCP/IP listener (for me via the SQL Server Configuration Manager), which is mandatory for jdbc access. Please see the section 'TCP Port' below.
    Not sure if you have it, I am cutting and pasting from the 10.1.2.0.2 DBAdapter guide:
    (Oracle® Application Server Adapters for Files, FTP, Databases, and Enterprise Messaging User's Guide
    10g Release 2 (10.1.2))
    Using a Microsoft SQL Server Database
    When using a Microsoft SQL Server database, follow the database connection steps in Chapter4, "Design Time" and use the following information:
    MS JDBC Driver
    URL: jdbc:microsoft:sqlserver://localhost\NAME:1433;SelectMethod=cursor;databasename=???
    Driver Class: com.microsoft.jdbc.sqlserver.SQLServerDriver
    Driver Jar: .\SQLServer2000\msbase.jar, msutil.jar, mssqlserver.jar
    DataDirect Driver
    URL: jdbc:oracle:sqlserver://localhost
    Driver Class: com.oracle.ias.jdbc.sqlserver.SQLServerDriver
    Driver Jar: .\DataDirect\YMbase.jar, YMoc4j.jar, YMutil.jar, YMsqlserver.jar
    Note the following when connecting to a SQL Server database:
    User name and password
    o
    SQL Server 2005 installs with Windows authentication as the default. Therefore, you do not log in with a user name and password; rather, your Windows user account either has privilege or does not. JDBC requires you to provide a user name and password.
    According to support.microsoft.com, "Microsoft SQL Server 2000 driver for JDBC does not support connecting by using Windows NT authentication." See
    http://support.microsoft.com/default.aspx?scid=kb;en-us;313100
    However, the DataDirect driver specification states that it does.
    If you use your Windows user name and password, you may see something like the following:
    [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Login failed for user
    'DOMAIN\USER'. The user is not associated with a trusted SQL Server
    connection.[Microsoft][SQLServer 2000 Driver for JDBC]
    An error occured while attempting to log onto the database.
    You must select mixed mode authentication on a clean installation.
    o
    On a Microsoft SQL Server 2000 Express Edition installation, the system username is su and the password is whatever you provide.
    Connect string
    From the sqlcmd login, you can infer your connect string, as in the following examples:
    Example 1:
    sqlcmd
    1>
    jdbc:microsoft:sqlserver://localhost:1433
    Example 2:
    sqlcmd -S user.mycompany.com\SQLExpress
    1>
    jdbc:microsoft:sqlserver://user.mycompany.com\SQLExpress:1433
    Example 3:
    sqlcmd -S user.mycompany.com\SQLExpress -d master
    1>
    jdbc:microsoft:sqlserver://user.mycompany.com\SQLExpress:1433;databasename=
    master
    A full URL is as follows:
    jdbc:microsoft:sqlserver://serverName[\instanceName]:tcpPort[;SelectMethod=cursor][;databasename=databaseName]
    Database name
    If you must explicitly supply the database name, but do not know it, go to
    C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data
    If you see a file named master.mdf, then one of the database names is master.
    TCP port
    Make sure that SQL Server Browser is running and that your SQL Server service has TCP/IP enabled and is listening on static port 1433. Disable dynamic ports. In SQL Native Client Configuration/Client Protocols, make sure that TCP/IP is enabled and that the default port is 1433.
    JDBC drivers
    You must download the JDBC drivers separately. From www.microsoft.com, click Downloads and search on jdbc. You can also try using the DataDirect driver.
    Thanks
    Steve

  • Can not read Chinese data when DB Connect to SQL server 2000

    Hi,
       Our BW server( BW3.5 not unicode ) is installed on MS SQL server 2000. We try to connect the BW SQL server with db connect function. We create some test views in the Northwind DB. We are be able to access data from source system in rsa1 by db connect. The problem is that all the Chinese characters are displayed as ?????. Is there any special setting for accessing multibyte characters in MS SQL server 2000? Please advise.
    Thank you,
    Jeff

    The field of VIEW in the sqlserver which code is chinese must be the nvarchar.
    You can try it.

  • Null connection when trying to connect to SQL Server 2000 in Tomcat4.1.29

    Hi All,
    I am still struggling with null connection when trying to connect to sql server 2000 with tomcat using sun.jdbc.odbc.JdbcOdbcDriver
    Here is my server.xml
    <Server port="8005" shutdown="SHUTDOWN" debug="0">
    <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
    debug="0"/>
    <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
    debug="0"/>
    <GlobalNamingResources>
    <Resource name="UserDatabase" auth="Container"
    type="org.apache.catalina.UserDatabase"
    description="User database that can be updated and saved">
    </Resource>
    <ResourceParams name="UserDatabase">
    <parameter>
    <name>factory</name>
    <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
    </parameter>
    <parameter>
    <name>pathname</name>
    <value>conf/tomcat-users.xml</value>
    </parameter>
    </ResourceParams>
    <Resource auth="Container" description="Users and Groups
    Database" name="UserDatabase"
    scope="Shareable"
    type="org.apache.catalina.UserDatabase"/>
    <Resource name="jdbc/DefaultDS" scope="Shareable"
    type="javax.sql.DataSource"/>
    <ResourceParams name="UserDatabase">
    <parameter>
    <name>factory</name>
    <value>org.apache.catalina.users.
    MemoryUserDatabaseFactory</value>
    </parameter>
    <parameter>
    <name>pathname</name>
    <value>conf/tomcat-users.xml</value>
    </parameter>
    </ResourceParams>
    <ResourceParams name="jdbc/DefaultDS">
    <parameter>
    <name>validationQuery</name>
    <value></value>
    </parameter>
    <parameter>
    <name>user</name>
    <value>sa</value>
    </parameter>
    <parameter>
    <name>maxWait</name>
    <value>5000</value>
    </parameter>
    <parameter>
    <name>maxActive</name>
    <value>4</value>
    </parameter>
    <parameter>
    <name>password</name>
    <value>sa</value>
    </parameter>
    <parameter>
    <name>url</name>
    <value>jdbc:odbc:JBoss-SQL://localhost:1433;databaseName=Development;selectMethod=cursor;</value>
    </parameter>
    <parameter>
    <name>driverClassName</name>
    <value>sun.jdbc.odbc.JdbcOdbcDriver</value>
    </parameter>
    <parameter>
    <name>maxIdle</name>
    <value>2</value>
    </parameter>
    </ResourceParams>
    </GlobalNamingResources>
    <!-- Define the Tomcat Stand-Alone Service -->
    <Service name="Tomcat-Standalone">
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
    port="8080" minProcessors="5" maxProcessors="75"
    enableLookups="true" redirectPort="8443"
    acceptCount="100" debug="0" connectionTimeout="20000"
    useURIValidationHack="false" disableUploadTimeout="true" />
    <!-- Note : To disable connection timeouts, set connectionTimeout value
    to -1 -->
    <!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->
    <!--
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
    port="8443" minProcessors="5" maxProcessors="75"
    enableLookups="true"
    acceptCount="100" debug="0" scheme="https" secure="true"
    useURIValidationHack="false" disableUploadTimeout="true">
    <Factory className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
    clientAuth="false" protocol="TLS" />
    </Connector>
    -->
    <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
    port="8009" minProcessors="5" maxProcessors="75"
    enableLookups="true" redirectPort="8443"
    acceptCount="10" debug="0" connectionTimeout="0"
    useURIValidationHack="false"
    protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
    <!-- Define an AJP 1.3 Connector on port 8009 --><Logger className="org.apache.catalina.logger.FileLogger"
    prefix="catalina_log." suffix=".txt"
    timestamp="true"/>
    <!-- Define the default virtual host -->
    <Host name="localhost" debug="0" appBase="webapps"
    unpackWARs="true" autoDeploy="true">
    <Logger className="org.apache.catalina.logger.FileLogger"
    directory="logs" prefix="localhost_log." suffix=".txt"
    timestamp="true"/>
    <Environment name="maxExemptions" type="java.lang.Integer"
    value="15"/>
    <Parameter name="context.param.name" value="context.param.value"
    override="false"/>
    <Resource name="jdbc/DefaultDS" auth="container" type="javax.sql.DataSource"/>
    <ResourceParams name="jdbc/DefaultDS">
    <!-- Maximum number of dB connections in pool.
    Set to 0 for no limit.
    -->
    <parameter>
    <name>maxActive</name>
    <value>8</value>
    </parameter>
    <!-- Maximum number of idle dB connections to retain in pool.
    Set to 0 for no limit.
    -->
    <parameter>
    <name>maxIdle</name>
    <value>4</value>
    </parameter>
    <!-- Maximum time to wait for a dB connection to become available
    in ms, in this example 10 seconds. An Exception is thrown if
    this timeout is exceeded. Set to -1 to wait indefinitely.
    -->
    <parameter>
    <name>maxWait</name>
    <value>5000</value>
    </parameter>
    <!-- MS Sql Server dB username and password for dB connections
    -->
    <parameter>
    <name>user</name>
    <value>sa</value>
    </parameter>
    <parameter>
    <name>password</name>
    <value>sa</value>
    </parameter>
    <!-- Class name for MS Sql Server JDBC driver
    -->
    <parameter>
    <name>driverClassName</name>
    <value>sun.jdbc.odbc.JdbcOdbcDriver</value>
    </parameter>
    <!-- The JDBC connection url for connecting to MS Sql Server dB.
    -->
    <parameter>
    <name>url</name>
    <value>jdbc:odbc:JBoss-SQL://localhost:1433;databaseName=Development;selectMethod=cursor;</value>
    </parameter>
    <!-- This Databae Connection Pool Description.
    -->
    <parameter>
    <name>description</name>
    <value>JDBC Driver: sun.jdbc.odbc.JdbcOdbcDriver</value>
    </parameter>
    </ResourceParams>
    <Resource name="mail/Session" auth="Container"
    type="javax.mail.Session"/>
    <ResourceParams name="mail/Session">
    <parameter>
    <name>mail.smtp.host</name>
    <value>localhost</value>
    </parameter>
    </ResourceParams>
    <ResourceLink name="linkToGlobalResource"
    global="simpleValue"
    type="java.lang.Integer"/>
    </Host>
    </Engine>
    </Service>
    </Server>
    and my web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <!-- Standard Action Servlet Mapping -->
    <web-app>
    <resource-ref>
    <res-ref-name>jdbc/DefaultDS</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    and JBoss-SQL is data source I created from control panel settings and here is way I am retrieving connetion
    InitialContext initCtx = new InitialContext();
    DataSource ds = (DataSource) initCtx.lookup("java:comp/env/jdbc/DefaultDS");
    Connection con = ds.getConnection();
    return con;
    I tried connecting as mentioned in this website
    http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html#Common%20Problems.But didn't help
    Please help urgent
    Sorry for long file. Can any one please help me in solving this problem.
    Thanks in advnace
    Kurakula

    I'd recommend that you not use the JDBC-ODBC bridge driver to connect to SQL Server. M$ and jTDS are two free type IV JDBC drivers that you should use instead. Put those JARs in the WEB-INF/lib directory.
    The database URL you're using is not correct if you change drivers. Consult the docs to find out what the proper syntax is.
    MOD

  • Creating a connection pool using SQL Server 2000, Sun ONE Application Serve

    Has any one succesfully configured SQL Server 2000 to work with Sun ONE Application Server 7 on Windows 2000 server service pack 4? I am embarking on a new J2EE project and I need to configure it as soon as possible.
    The problem I am having is that, when I ping the data souce name, there is a connection error.
    I have set the data source name and other details as follows:
    Under JDBC, I have set the parameters for the connection pool as follows:
    Data Source Name:      com.microsoft.jdbc.sqlserver.SQLServerDriver
    Database Name:          jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=Test
    User:               test
    Password:          test
    In the JVM settings page, I have set the prefix class path as follows for the location of the Microsoft JDBC
    drivers that I downloaded as follows:
    c:\microsoft\drivers/lib/msbase.jar
    c:\microsoft\drivers/lib/msutil.jar
    c:\microsoft\drivers/lib/mssqlserver.jar
    Under JVM Options, there is a strange setting which I don't understand: perhaps this is the cause of the
    connction error?
    -Djdbc.drivers=com.pointbase.jdbc.jdbcUniversalDriver
    Please help????

    I'm in a similar boat...
    Trying to setup AS7 JDBC and followed the instructions on the link you provided and get the following exception. I kept the case the same, thinking 'setpassword" was incorrect, so I tried changing the property to "Password", but get the same exception but it points to "setPassword" instead.
    SEVERE: RAR5041:Cannot get jdbc connection
    com.sun.enterprise.repository.J2EEResourceException
    java.lang.NoSuchMethodException: setpassword
    at com.sun.enterprise.repository.JdbcConnectionPool.createDataSource(JdbcConnectionPool.java:243)
    at com.sun.enterprise.resource.JdbcUrlAllocator.createResource(JdbcUrlAllocator.java:80)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.createSteadyResources(IASNonSharedResourcePool.java:856)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.initPool(IASNonSharedResourcePool.java:416)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResource(IASNonSharedResourcePool.java:625)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:520)
    at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:263)
    at com.sun.enterprise.resource.JdbcXAConnection.<init>(JdbcXAConnection.java:74)
    at com.sun.enterprise.resource.Jdbc10XaAllocator.createResource(Jdbc10XaAllocator.java:94)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.createSteadyResources(IASNonSharedResourcePool.java:856)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.initPool(IASNonSharedResourcePool.java:416)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResource(IASNonSharedResourcePool.java:625)
    at com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:520)
    at com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:263)
    at com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:170)
    at com.sun.enterprise.resource.JdbcDataSource.internalGetConnection(JdbcDataSource.java:241)
    at com.sun.enterprise.resource.JdbcDataSource.getConnection(JdbcDataSource.java:98)
    at com.rvi.database.jdbcConnection.getConnection(jdbcConnection.java:93)
    at com.webapp.database.ArticlesDAO.selectByYear(ArticlesDAO.java:102)
    at com.webapp.actions.ArticleAction.list(ArticleAction.java:96)
    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.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:280)
    at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:216)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
    at org.apache.catalina.core.StandardWrapperValve.access$000(StandardWrapperValve.java:118)
    at org.apache.catalina.core.StandardWrapperValve$1.run(StandardWrapperValve.java:278)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
    at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)

  • Database Connection in SQL Server 2000

    Hi All!
    I would like to ask your expertise regarding JDBC-MS SQL Server 2000.
    I have here a sample code in connecting to SQL Server 2000, AgriMrpPrd Database using the account "sa" and the password "092802". I have tried running the code in my local server at home and It successfully runs, but when I tried running it on my local server in the office, I was not able to create a connection object though I already have changed the HOST, PORT, DATABASE, USERNAME, and PASSWORD values.
    I have tried logging in using my local account, removed the LAN connection, start my local server and tried connecting to it but still it does not work.
    I have tried turning the firewall OFF and try reconnecting but it there was no improvement.
    I do not know if there is a difference if there is my computer is on a DOMAIN (althought I am only connecting to my local server).
    Source Code:
    import javax.swing.*;
    import java.sql.*;
    import com.microsoft.jdbc.sqlserver.*;
    public class SQLServerConnection{
    public String un, pw, db, host, port, url, driver;
    public Connection conn=null;
    public void connectDB(){
    String msg="",title="MS SQL Server - JDBC:ODBC Connection";          
    int msgType=0;
    driver="com.microsoft.jdbc.sqlserver.SQLServerDriver";
    host="206.101.216.95";
    port="1433";
    un="sa";
    pw="092803";
    db="AgriMrpPrd";
    url="jdbc:microsoft:sqlserver://" + host + ":" + port + ";DatabaseName=" + db;
    try{
    Class.forName(driver);
    conn=DriverManager.getConnection(url,un,pw);     
    System.out.println("Connected to Database!");                    
    }catch(Exception ex){
    msg="Unable to connect to MS SQL Server!";
    msgType=JOptionPane.ERROR_MESSAGE;
    JOptionPane.showMessageDialog(null,msg,title,msgType);
    System.exit(0);               
    public static void main(String args[]){
    SQLServerConnection ssc=new SQLServerConnection();
    ssc.connectDB();
    Please give me wisdom in handling this problem...
    Take care always and God blesss
    MADz

    Hi All!
    I would like to ask your expertise regarding JDBC-MS
    SQL Server 2000.
    I have here a sample code in connecting to SQL Server
    2000, AgriMrpPrd Database using the account "sa" and
    the password "092802". I have tried running the code
    in my local server at home and It successfully runs,
    but when I tried running it on my local server in the
    office, I was not able to create a connection object
    though I already have changed the HOST, PORT,
    DATABASE, USERNAME, and PASSWORD values.If the code runs in one place and not the other, it's got to be a problem with seeing the host.
    I have tried logging in using my local account,
    removed the LAN connection, start my local server and
    tried connecting to it but still it does not work.
    I have tried turning the firewall OFF and try
    reconnecting but it there was no improvement.
    I do not know if there is a difference if there is my
    computer is on a DOMAIN (althought I am only
    connecting to my local server).I have no idea how to fix your problem, but there are several things to comment on about your code:
    (1) You don't have to import the microsoft package. It's actually a bad idea.
    (2) I'd name this class DbConnection, because if you wrote it properly it might have a chance of being useful wih other databases, too.
    (3) You hardwire all the connection information. Better to pass it in so changing the database doesn't require a recompile.
    (4) It's bad to mingle Swing and database code. Take those JOptionPane calls out.
    (5) Print the stack trace out when you catch an exception. You're losing a lot of information by handling it that way.
    %

  • 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

  • Cannot establish connection - JDBC driver for MS SQL server 2000

    Hi,
    We are facing problems in connecting to SQL server 2000.
    We have installed the latest version of the driver from followin link and following
    https://websmp108.sap-ag.de/msplatforms    > SQL Server > JDBC Driver for MS SQL Server (Version 3.70.10)
    We have given the following entries in our communication channel:
    JDBC Driver : com.microsoft.sqlserver.jdbc.SQLServerDriver
    Connection:  jdbc:sqlserver://<SQLserver IP>:1433;databaseName=production_info
    Please let us know the procedure to find if the JDBC driver for SQL 2000 is installed from our SAP XI.
    ERROR DETAILS:
    Error during database connection to the database URL 'jdbc:sqlserver://<SQLserverIP>:1433;databaseName=production_info' using the JDBC driver 'com.microsoft.sqlserver.jdbc.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection to URL 'jdbc:sqlserver://<SQLserverIP>:1433;databaseName=production_info': SAPClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver'
    Please help.
    Regards,
    Rehan

    Hi Chris,
    We have used the same because we have downloaded the driver from following location
    https://websmp108.sap-ag.de/msplatforms ;   > SQL Server > JDBC Driver for MS SQL Server (Version 3.70.10)
    I have tried with both "com.microsoft.jdbc.sqlserver.SQLServerDriver"; and "com.microsoft.sqlserver.jdbc.SQLServerDriver";, but still I am facing the same error.
    Service market place has given the driver as "JDBC Driver for MS SQL Server (Version 3.70.10)", is there a way to find out if it is for 2000 or 2005?
    Thanks for your reply.
    Regards,
    Rehan

  • Open Connection to SQL Server 2000 Instances

    Dear All:
    I always got following error when connecting to a SQL Server 2000 instance:
    "Can't open a socket on NAMNGO\RNDSQLSVR:1433. Check host and port number and
    make sure the
    security manager allows this connection. You can also try running the SocketApplet
    (java.net.UnknownHostException:
    NAMNGO\RNDSQLSVR)"
    I am using Wel Logic 6.1 and SQL Server 2000. SQL Server 2000 has an instance
    named RNDSQLSVR with default TCP port is 1433.
    Is there anyone hit this problem, please let me know.
    Please check the attached file for sample code.
    Thanks,
    Nam Ngo
    [att1.html]

    Hi Sree,
    Thank you for your help. It worked.
    Nam Ngo
    "Sree Bodapati" <[email protected]> wrote:
    Hi Nam,
    The way you do this is by finding out on what port the instance of SQL
    Server you want to connect is listening on. (Use the server network utility
    that comes with SQL Server 2000 for this). Then just mention the
    server=<machine name/ip> of the server this instance is running on. and
    the
    port as the port that is shown by the server network utility as port=<port
    number>. Microsoft specifies NAMNGO\RNDSQLSVR:1433 as the convention
    for
    ODBC but , this driver is a type 4 driver and it needs only the machine
    name
    and port, it doesnt need any instance name.
    (Each instance of SQL Server 2000 listens at a different port)
    HTH
    sree
    "Nam Ngo" <[email protected]> wrote in message
    news:[email protected]..
    Dear All:
    I always got following error when connecting to a SQL Server 2000instance:
    "Can't open a socket on NAMNGO\RNDSQLSVR:1433. Check host and portnumber
    and
    make sure the
    security manager allows this connection. You can also try running theSocketApplet
    (java.net.UnknownHostException:
    NAMNGO\RNDSQLSVR)"
    I am using Wel Logic 6.1 and SQL Server 2000. SQL Server 2000 has aninstance
    named RNDSQLSVR with default TCP port is 1433.
    Is there anyone hit this problem, please let me know.
    Please check the attached file for sample code.
    Thanks,
    Nam Ngo

Maybe you are looking for

  • Macbook+Tivo=No DVD Showing up

    I would like to use my Macbook to play DVD movies on my TV. On my current setup I have the Tivo connected to my TV with A/V plugs (Yellow/Red/White). I went to the Apple store and bought the Mini DVI to Video adapter, an S-Video Cable, and a Monster

  • How do you make the date change for every entry when inserting.

    Hello, I am making a daily vehicle inspection report for my truck and I would like to make a 7 day calendar but I would like to insert the date ie Monday Feb 22, 2010, Tuesday Feb 23, 2010 etc...and have it change for each day of the week. is there a

  • What to do with a defective NEW iPhone 5c?

    Hi Guys I just recently purchased an iPhone 5C - it was shipped to me October 1. And I immediately knew I was sent a defective unit. First and foremost, the button is not working--the only way I've been able to navigate it is throught the assistive t

  • Newcomer needing help!

    Just installed Reader XII but the PDF document will not display.  Can you help?

  • Small video screen on iPhone 4

    when someone send me a mms video it is real small, with alot of black background on it, WHY IS THIS HAPPENING AND CAN I FIX THIS