Purchase or not ODBC Driver for MS SQL Server 2005
Hi experts,
We have Windows Server 2003 R2 Standard with MS SQL SERVER 2005 and our other branch want to access this system's Database at their end.
other branch is planning to integrate database record to ERP
Can u confirm whether they have to purchase ODBC driver or not.
from where i can purchase ODBC driver online.
Best Regards,
Pardeep
Hello,
The data provider like ODBC and SQL Server Native Client are already integrated in all common MS Windows OS, so in common you don't need to install additional provider.
But if you want to install and newer version, then you can get it for free from
Feature Pack for Microsoft SQL Server 2005 SP4 => sqlncli.msi ( = SQL Native Client, which includes ODBC)
Olaf Helper
[ Blog] [ Xing] [ MVP]
Similar Messages
-
Problem using odbc driver 10g with SQL Server 2005
We are getting following error. Any solution?
cannot retrieve the column codepage info from the OLE DB providerthere is an additional error message
The output column SR_CONTACT_POINT_ID (58) has a precision which is not valid. Precision must be between 1 and 38. -
Problems upgrading to JDBC 5.1 driver for MS SQL Server
Hi,
I recently upgraded to the Weblogic JDBC 5.1 driver for MS SQL Server and I am
now receiving exceptions in my application when attempting to execute a prepared
statement. I was previously using the Weblogic JDBC 4.x driver for MS SQL Server
and everything was working fine without any problems. For some reason I am receiving
a java.lang.CloneNotSupportedException using the new driver. I am using the setLong(),
setString(), and setObject() methods of the PreparedStatement and then attempting
to execute. The application code has not changed, so it seems that something
has changed in the new driver implementation. Has anyone else had this problem
or know a work around? Here is a snippet of the actual exception:
S2 [09/30/02 10:46]: java.sql.SQLException: java.lang.CloneNotSupportedException
: Error in TdsParameter clone: cannot make duplicate of Stream object
S2 [09/30/02 10:46]: at weblogic.jdbcbase.mssqlserver4.TdsPreparedInputStream
.<init>(TdsPreparedInputStream.java:99)
S2 [09/30/02 10:46]: at weblogic.jdbcbase.mssqlserver4.TdsStatement.doEscapeP
rocessing(TdsStatement.java:1317)
S2 [09/30/02 10:46]: at weblogic.jdbcbase.mssqlserver4.TdsStatement.execute(T
dsStatement.java:173)
S2 [09/30/02 10:46]: at weblogic.jdbcbase.mssqlserver4.TdsStatement.executeUp
date(TdsStatement.java:94)
S2 [09/30/02 10:46]: at weblogic.jdbcbase.mssqlserver4.TdsStatement.executeUp
date(TdsStatement.java:1438)
Thanks, Nadeem.Nadeem Khokhar wrote:
Is it true that the Weblogic jDriver for MS SQL Server is deprecated? That's the
message that I got from BEA Support and here is the link they sent:
http://edocs.bea.com/wls/docs70/mssqlserver4/install_jmsq4.html#415356
It recommends using Microsoft's JDBC driver instead. Any thoughts on this? From
what I understand and what I have read on the newsgroups, the Microsoft JDBC driver
is still quite buggy and has numerous problems.
Thanks, Nadeem.It is deprecated, but still supported, and is more recent in the download than the one in
the 5.1 server. We do recommend MS's driver, or that of www.inetsoftware.de. The
MS driver is fairly stable now, and may certainly have bugs, as does our driver. The MS
driver is good because it is not deprecated, and supports JDBC 2.0 etc.
Joe
>
>
Joseph Weinstein <[email protected]> wrote:
What version of 5.1? You should be running with the latest service pack.
If that doesn't help, please download the latest 5.1 driver from our
site, and
make sure it's in the weblogic.classpath ahead of all other stuff, by
editting the
startWeblogic script.
Joe
Nadeem Khokhar wrote:
Hi,
I recently upgraded to the Weblogic JDBC 5.1 driver for MS SQL Serverand I am
now receiving exceptions in my application when attempting to executea prepared
statement. I was previously using the Weblogic JDBC 4.x driver forMS SQL Server
and everything was working fine without any problems. For some reasonI am receiving
a java.lang.CloneNotSupportedException using the new driver. I amusing the setLong(),
setString(), and setObject() methods of the PreparedStatement and thenattempting
to execute. The application code has not changed, so it seems thatsomething
has changed in the new driver implementation. Has anyone else hadthis problem
or know a work around? Here is a snippet of the actual exception:
S2 [09/30/02 10:46]: java.sql.SQLException: java.lang.CloneNotSupportedException
: Error in TdsParameter clone: cannot make duplicate of Stream object
S2 [09/30/02 10:46]: at weblogic.jdbcbase.mssqlserver4.TdsPreparedInputStream
<init>(TdsPreparedInputStream.java:99)
S2 [09/30/02 10:46]: at weblogic.jdbcbase.mssqlserver4.TdsStatement.doEscapeP
rocessing(TdsStatement.java:1317)
S2 [09/30/02 10:46]: at weblogic.jdbcbase.mssqlserver4.TdsStatement.execute(T
dsStatement.java:173)
S2 [09/30/02 10:46]: at weblogic.jdbcbase.mssqlserver4.TdsStatement.executeUp
date(TdsStatement.java:94)
S2 [09/30/02 10:46]: at weblogic.jdbcbase.mssqlserver4.TdsStatement.executeUp
date(TdsStatement.java:1438)
Thanks, Nadeem. -
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,
RehanHi 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 -
i want the JDBC Driver for MS SQL Server.
is it available free?
thanks in advanceInstall the SQL Server 2000 Driver for JDBC Service Pack 3.
http://www.microsoft.com/downloads/details.aspx?FamilyID=07287b11-0502-461a-b138-2aa54bfdc03a&displaylang=en
The SQL Server JDBC driver JAR files msbase.jar, mssqlserver.jar and msutil.jar get installed in the C:\Program Files\Microsoft SQL Server 2000 Driver for JDBC\lib directory. -
Free JDBC 4.0 driver for Microsoft Sql Server database
Is there any free JDBC 4.0 driver for Microsoft Sql Server database? The jTDS driver is JDBC 3.0 driver. http://jtds.sourceforge.net/
Sooooooo...
what's wrong with the driver provided by Microsoft themselves? Which is JDBC 4. And free. -
Driver for Microsoft SQL SERVER 2008 (MII 12.0.X)
Hi,
we have MII 12.0.11 and we need to access a database on Microsoft SQL Server 2008.
I need a suggestion on the driver choice...because the Microsoft JDBC drivers for SQL Server 2008 on the following links officially need at least JDK 5...and for what I know our MII version is based on Netweaver 7.0 on Java 1.4.
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=99b21b65-e98f-4a61-b811-19912601fdc9&displaylang=en
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=%20a737000d-68d0-4531-b65d-da0f2a735707&displaylang=en
We are currently using this driver (with database on Microsoft SQL Server 2005)
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c47053eb-3b64-4794-950d-81e1ec91c1ba
which, on the contrary, doesn't support SQL Server 2008.
I don't know how to proceed...
Thanks in advance
MauroTry Microsoft SQL Server 2005 JDBC Driver 1.2
[Connect MII 12.0 to SQL server 2008|Connect MII 12.0 to SQL server 2008] -
Using DB Adapter for MS SQL Server 2005 SP in OSB 11g.
Hi All,
I have a requirement to create a DB Adapter for MS SQL Server Stored Procedure in JDeveloper and export the Adapter file to OSB 11g. I have Created the Adapter and imported it into OSB 11g successfully. Created the Datasource and Connection pool also in console.
The problem is while trying to execute the created business Service, I am getting the error as below,
<Oct 26, 2012 12:20:25 PM IST> <Error> <JCATransport> <BEA-381967> <Invoke JCA outbound service failed with application error, exception: com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/Test/CheckAppID/WL_Driver/CheckAppId_WL_Driver [ CheckAppId_WL_Driver_ptt::CheckAppId_WL_Driver(InputParameters,OutputParameters) ] - WSIF JCA Execute of operation 'CheckAppId_WL_Driver' failed due to: Unimplemented string conversion.
Conversion of JDBC type to String is not supported.
An attempt was made to convert a Java object to String using an unsupported JDBC type: .
; nested exception is:
BINDING.JCA-11804
Unimplemented string conversion.
My XSD is ,
<element name="InputParameters">
<complexType>
<sequence>
<element name="application_id" type="int" db:index="1" db:type="INT" minOccurs="0" nillable="true"/>
</sequence>
</complexType>
</element>
<element name="OutputParameters">
<complexType>
<sequence>
<element name="RowSet0" type="db:RowSet0_RowSet" db:type="RowSet0" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
<element name="RowSet1" type="db:RowSet1_RowSet" db:type="RowSet1" minOccurs="0" maxOccurs="unbounded" nillable="true"/>
</sequence>
</complexType>
</element>
<complexType name="RowSet1_RowSet">
<sequence>
<element name="RowSet1_Row" minOccurs="0" maxOccurs="unbounded">
<complexType>
<sequence>
<element name="cde" type="int" db:type="INT" minOccurs="0" nillable="true"/>
<element name="msg" db:type="NVARCHAR" minOccurs="0" nillable="true">
<simpleType>
<restriction base="string">
<maxLength value="255"/>
</restriction>
</simpleType>
</element>
</sequence>
</complexType>
</element>
</sequence>
</complexType>
<complexType name="RowSet0_RowSet">
<sequence>
<element name="RowSet0_Row" minOccurs="0" maxOccurs="unbounded">
<complexType>
<sequence>
<element name="aaa" type="boolean" db:type="BIT" minOccurs="0" nillable="true"/>
<element name="bbb" db:type="NVARCHAR" minOccurs="0" nillable="true">
<simpleType>
<restriction base="string">
<maxLength value="10"/>
</restriction>
</simpleType>
</element>
</sequence>
</complexType>
</element>
</sequence>
</complexType>
I don't know why there is a datatype conversion error.
Help me in resolving this.
Regards,
Nataraj R.Hi,
I believe NVARCHAR is an unsupported type...
The following document lists the supported data types for SQL Server stored procedures and functions... NVARCHAR is not in the list... :-(
http://docs.oracle.com/cd/E23943_01/integration.1111/e10231/adptr_db.htm#CHDEBEEE
Hope this helps...
Cheers,
Vlad -
How to set the CLASSPATH for an Sql Server 2005 database... help me please
Hello! Guys I want to access a Sql Server 2005 database from Java.I've downloaded the JDBC 2.0 driver from Microsoft.I've copied the sqljdbc4.jar file to C:\Java\jdk1.6.0_14\db\lib.And I've added this to the classpath C:\Java\jdk1.6.0_14\db\lib\sqljdbc4.jar.The classpath variable is defined as a user variable.Well the point is that I get that nasty exception:Exception in thread "main" java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver.So if you know how to help me,please do so.Thank you :)
Hi Timo,
My jdev version is 10.1.3.3.0, this is for R12. By PR i mean to say process request and PFR process form request in the controller.
In the Process request of the controller, i am finding the checkbox bean and assigning the firepartialaction for it.
Later in the process form request for the fired event, i am trying to handle the rendered property of the messagetextinput. Is this a right approach?
my code below
public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
super.processRequest(oapagecontext, oawebbean);
OAApplicationModule oaapplicationmodule = oapagecontext.getApplicationModule(oawebbean);
OAMessageCheckBoxBean oamessagecheckboxbean = (OAMessageCheckBoxBean)oawebbean.findChildRecursive("X_FLAG");
if(oamessagecheckboxbean != null)
oapagecontext.writeDiagnostics(this, "Message check box Bean found:", 1);
FirePartialAction firepartialaction = new FirePartialAction("change");
oamessagecheckboxbean.setAttributeValue(PRIMARY_CLIENT_ACTION_ATTR, firepartialaction);
oamessagecheckboxbean.setFireActionForSubmit("change", null, null, true);
oapagecontext.writeDiagnostics(this, "setting fire event", 1);
public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
super.processFormRequest(oapagecontext, oawebbean);
oapagecontext.writeDiagnostics(this, "Inside Process Form Request", 1);
if("change".equals(oapagecontext.getParameter(OAWebBeanConstants.EVENT_PARAM)))
OAMessageTextInputBean bean = (OAMessageTextInputBean)oawebbean.findChildRecursive("X_NUMBER");
if(bean!=null){
bean.setRendered(Boolean.TRUE);}
Thanks,
Malar -
Exception in JDBC forName for MS SQL Server 2005
I am new to JDBC application development. I am writing a JDBC application using Visual Studio 2005. I need to connect my application to MS SQL Server 2005. I have installed the JDBC driver 3.0. Also Java runtime version 1.6 is intalled on my machine.
I am writing a simple code to connect to the SQL server. I have set the CLASSPATH in inviromnet variable list. Here is the code
package MyJDBCApp;
import java.sql.*;
import java.util.*;
public class Connect
public static void main(String[] args)
String url = "jdbc:sqlserver://NOI1-501791:1433;databaseName=test;user=sa; password=asdf1234;";
Connection con;
Statement stmt;
try
Class.forName("com.sqlserver.jdbc.SQLServerDriver");
catch (java.lang.ClassNotFoundException e)
System.err.print("ClassNotFoundException: ");
System.err.println(e.getMessage());
try
con = DriverManager.getConnection(url);
if (con != null)
con.close();
catch (SQLException ex)
System.err.println("SQLException: " + ex.getMessage());
When I try to debug this application everytime I am getting Class not found exception. Can anybody help me to resolve this problem.
Thanks in advance. Regards ZubairI am writing a JDBC application using Visual Studio 2005
Say what!? Are we talking about Visual J++ here!?!?!? -
Oracle gateway for MS sql server 2005
Is Oracle 9i Gateway for MS SQL Server compatible with SQL 2005? If not what are the other options?
Check the support matrix at metalink.
But be advised that Oracle 9i is in desupport mode. -
Hello friends..i m not able to connect MS SQL SERVER 2005 FROM cmd prompt
dear friends,
i m not able to connect MS SQL SERVER from command prompt..
do you know how to connect from command prompt or any other ways to connect to database only for delete SAP* user purpose.
thanks
zaheerHi,
you can use the SQLCMD tool:
Microsoft (R) SQL Server Command Line Tool
Version 10.50.1600.1 NT x64
Copyright (c) Microsoft Corporation. All rights reserved.
usage: Sqlcmd [-U login id] [-P password]
[-S server] [-H hostname] [-E trusted connection]
[-N Encrypt Connection][-C Trust Server Certificate]
[-d use database name] [-l login timeout] [-t query timeout]
[-h headers] [-s colseparator] [-w screen width]
[-a packetsize] [-e echo input] [-I Enable Quoted Identifiers]
[-c cmdend] [-L[c] list servers[clean output]]
[-q "cmdline query"] [-Q "cmdline query" and exit]
[-m errorlevel] [-V severitylevel] [-W remove trailing spaces]
[-u unicode output] [-r[0|1] msgs to stderr]
[-i inputfile] [-o outputfile] [-z new password]
[-f <codepage> | i:<codepage>[,o:<codepage>]] [-Z new password and exit]
[-k[1|2] remove[replace] control characters]
[-y variable length type display width]
[-Y fixed length type display width]
[-p[1] print statistics[colon format]]
[-R use client regional setting]
[-b On error batch abort]
[-v var = "value"...] [-A dedicated admin connection]
[-X[1] disable commands, startup script, enviroment variables [and exit]]
[-x disable variable substitution]
[-? show syntax summary]
You have to have the SQL Server tools installed on the box, to get sqlcmd.
You then can connect with SQL authentication
sqlcmd -S <Servername\Instancename> -U user -P password
or with windows authentication
sqlcmd -S <Servername\Instancename> -E
Best regards
Clas -
How retrieving the product key for a SQL Server 2005 installation
Hi,
is it possible to retrieve the product key associated to a SQL Server 2005 installation?
If yes, how?
Many thanksHello,
The following tool may provide you the product key for SQL Server 2005 and SQL Server 2008 instances.
http://www.nirsoft.net/utils/product_cd_key_viewer.html
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Can not see Oracle ODBC driver in Ms SQL Server 2007
Hi
I am trying to export an ms sql server table to Oracle using the Ms SQL Server 2007 export wizard and the only driver I found in the list is Microsoft OLEDB Provider for Oracle.
I already installed Oracle client and I addedd an ODBC conenction of the datasources Why can I not see the Oracle ODBC driver?Which version of Oracle and what kind of Client Install
Are you sure you did the full Client Install which will have ODBC ?
Execute odbcad32 and look under Drivers Tab for Oracle ODBC Driver -
Help me! can not using JDBC driver for MS SQL server
I can test sucess in connection, but create EJB when have follow error.
04/05/19 12:23:04 SQL error: No suitable driver
04/05/19 12:23:10 Error creating table: No suitable driver
500 Internal Server Error
java.lang.NoClassDefFoundError: oracle/jbo/html/HtmlServices
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:182)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)HI All,
I am using JDBC driver to pull data from MS SQL Server
2000 for my application Liaison Content Exchange, and
which only accepts JDBC drivers to talk to databases.
I dowloaded the driver from Microsoft website, and had
a successful installation.What do you call "a successful installation"? Where was the JAR file places?
But the application ask me for Driver Name, Class, URL, Time out and Data Source.What application do you mean? Liaison Content Exchange? I'm not familiar with that product.
By default no driver is available in the drop down combo box. After using
"com.microsoft.jdbcx.sqlserver.SQLServerDataSource" as
class and
jdbc:microsoft:sqlserver://192.168.17.2:1433; as url,
the application throw me a error which states "Unable
to instantiate an instance of the application driver"Sounds like it could be one of several things:
(1) The JDBC JAR is not in the CLASSPATH where Liaison Content Exchange expects to find it.
(2) You need to do something else to tell Liaison Content Exchange more information to define the data source.
(3) The URL might be incorrect. Only you can know if the IP address of the host is correct. You don't supply a database name - perhaps you should. Are you sure that 1433 is the correct port number? I know that's true for SQL Server 7.0, but I remember that the default was changed to something else for SQL Server 2000. Ask your database admin what port this listener is assigned to for SQL Server 2000.
(4) You might want to append ";selectmethod=cursor" to the end of your URL. (See the docs for this.)
(5) Make sure you can connect to the database with something other than Java (e.g., the M$ SQL Server client).
. I am not able to trouble shoot this problem, any one
pls help me ASAP at [email protected]
Thx.Bad idea to post an e-mail address. You're not supposed to communicate outside the forum. it's against the guidelines for using the forum.
Maybe you are looking for
-
How do i stop contact synching between two iPhones?
how do i stop contact synching between two iPhones?
-
Is there a way to define 2 different areas using boundaries in a Java app?
Hi, Im tryig to create a game for kids were they can learn how to write! In one of the games there will be a template of a letter, for example A, the A wii be hollow inside so that the kids can folow the outline! But if they go over a line i want the
-
I need some input from the iphone community with regards to an App that I'm looking for.
If anyone has any suggestions I'd appreciate it. If I'm posting in the wrong place, I apologize. Many times I take pictures of schedules, reciepts, or itinerary and send it via mms or e-mail to my daughter @college. Often I'd like to "highlight" spec
-
InfoArea based Security and RSA1 versus RSA1OLD
We have our infoprovider ssecurity based on the infoarea hierachy. Our problem comes when someone changed the infoarea hierarchy using RSA!, like adding a new node. When we transport this change up, the security in our QA/Prod environments is broke
-
5.1 surround panning angle problem
I'm having a problem getting Logic Pro to pan correctly in 5.1 surround, and the problem seems to be with the way Logic is programmed to handle the "Surround Angle" (i.e. the azimuth angle of the sound's virtual location) as it crosses the Y axis in