Dr Pompeii wrote:
thanks for the help and specially for the link, really thanks a lot
well i copy the code and make a .java file
i put the 3 jars of the jdbc driver in the CLASSPATH
when i try to execute the simple example of Microsoft in my home (yes a local machine)
Here's the url you indicated :
Quote:
jdbc:microsoft:sqlserver://SECTION1-D3E94C/OPERACIONESSQL:1433;databaseName=pubs;selectMethod=cursor;
So if you're on a local machine, are you sure the name of your machine is "SECTION1-D3E94C" ? If the server if on your machine, you should specify "localhost" here (see
http://support.microsoft.com/default.as ... s;313100#4 example).
Try and let me know what it does.
Dr Pompeii wrote:
Error Trace in getConnection() : [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
Error: No active Connection
E:\PRUEBAS\CONEXION>
well , about this Error: No active Connection <---- how i can activate????.
well, you are the expert and i need your knowledge, what should be the correct url?????
remember that i dont work with windows, i read other tutorials about of the port 1433, inclusive i putted the sqlserver in the list of exceptions of the firewall of the same windows but never appear in the netstat report, how an actuve connection.
So , please, how i can resolve this????
I don't know about sqlserver configuration as I said. Try localhost instead first. If it still doesn't work, download a sqlserver client and try to connect with this app.
Also, try to use the quote and code tags to clarify your messages (and don't do too much newlines) :).