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://220.127.116.11: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.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.