
Hi;
Everything working fine in localhost , but facing a simple problem in
connectivity with database from my web site. In my local host-- when I am typing following code
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); conn = DriverManager.getConnection("jdbc:sqlserver://localhost:1433;"+"databaseName=dorakoina;user=sa;password=denver");
---There is no issue
But when I use following code in online connectivity ----
Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver"); conn = DriverManager.getConnection("jdbc:sqlserver://193.185.40.219:1433;"+"databaseName=dorakoina;user=;password=");
It shows error message.But all other code like "request.getParameter()" are working fine .I am putting sqljdbc4.jar file in \lib folder also .
If it is possible please help me with a reply.