facebook

JDBC Driver not found

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #261169 Reply

    hello sir,
    i do that the process that is given below:
    Go to Window > Preferences > MyEclipse > Application Servers, then select the Application Server you are using, then click “Paths” under the Application Server name, and click “Add” to the first box, then add your SQL Server Drivers to the classpath. Now restart the App Server. It should be able to find the classes now when it runs. it works fine.but when we run the programe,it shows me the ERROR:INVALID OBJECT NAME aut
    (aut IS THE NAME OF TABLE WE CREATE IN SQL SERVER 2000)
    PROGRAME:
    <%
    String user_name=request.getParameter(“user”);
    String password=request.getParameter(“pass”);
    try
    {
    Class.forName(“com.microsoft.jdbc.sqlserver.SqlServerDriver”);
    Connection con=DriverManager.getConnection(“jdbc:microsoft:sqlserver://localhost:1433″,”username”,”password”);
    PreparedStatement ps=con.prepareStatement(Insert into aut values(?,?)”);
    ps.setString(1,user_name);
    ps.setString(2,password);
    ps.executeUdpate();
    }
    catch(SQLException e)
    {
    System.out.println(“value of sql is :”+e);
    }
    %>

    THE ERROR SHOW ME:
    INVALID OBJECT NAME aut
    NOTE:aut is the table name

    pl tell me.

    thanks lot
    krishna

    #261202 Reply

    Riyad Kalla
    Member

    Do you have a table named aut? You need one if you don’t.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: JDBC Driver not found

You must be logged in to post in the forum log in