Microsft odbc unknown error :-  request help

hello.
i am getting the following error and am unable to know the reason why. i have even configured system dsn i the control panel and still get the error below.
==========================================
the code is as follows
<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.*" errorPage="" %>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features)
window.open(theURL,winName,features);
//-->
</script>
<%
String userName = request.getParameter ("userName");
String password = request.getParameter ("password");
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver").newInstance();
ServletContext context = getServletContext ();
String appDirRoot = context.getRealPath ("/");
String connString = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)}; DBQ=" + appDirRoot + "winerysystem.mdb";
Connection connUser = DriverManager.getConnection(connString);
Statement stmtUser = connUser.createStatement();
String sqlUser = "SELECT * FROM employee WHERE employee.userName = '"+userName+"' AND employee.password = '"+password+"' ";
ResultSet rsUser = stmtUser.executeQuery (sqlUser);     
if (rsUser.next ())
session.setAttribute ("username", userName);
%>
<html>
<body onLoad="MM_openBrWindow('index.jsp','Menu','width=800,height=600,scrollbars=yes,resizable=yes')"></body>
</html>
<%
else
response.sendRedirect("login.jsp?message=incorrect");
connUser.close ();
%>
=====================================================
HTTP Status 500 -
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: [Microsoft][ODBC Microsoft Access Driver] Could not find file '(unknown)'.
     at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:498)
     at org.apache.jsp.loginHandler_jsp._jspService(loginHandler_jsp.java:82)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:92)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:162)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
     at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
     at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
     at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
     at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
     at java.lang.Thread.run(Thread.java:534)
root cause
java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Could not find file '(unknown)'.
     at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6958)
     at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7115)
     at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:3074)
     at sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:323)
     at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:174)
     at java.sql.DriverManager.getConnection(DriverManager.java:512)
     at java.sql.DriverManager.getConnection(DriverManager.java:193)
     at org.apache.jsp.loginHandler_jsp._jspService(loginHandler_jsp.java:54)
     at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:92)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:162)
     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
     at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
     at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
     at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
     at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
     at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
     at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
     at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
     at java.lang.Thread.run(Thread.java:534)
Apache Tomcat/4.1.31

hi ramesh
thanks a million for the help. i rewrote the code slightly as follows and when i run the program it gives the following message. i request help on what the message is trying to say. is the microsft database access file corrupt ??
===============================================
mesaage when the class file is run
loading Driver
unable to connectjava.sql.SQLException: No data found
================================================== =
//sample code
import java.sql.*;
class conntest
public static void main(String args[]) throws SQLException
ResultSet rs = null;
Statement st;
Connection con = null;
try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
System.out.println("loading Driver");
con = DriverManager.getConnection("jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)}; winerysystem.mdb");
System.out.println("Establishing connection");
catch(ClassNotFoundException e){
System.out.println("unable to load"+ e);
catch(SQLException se){
System.out.println("unable to connect" +se);
}

Similar Messages

  • My ipad2 won't accept my apple password for new app install. I've tried several time and get a pop up "unknown error". Help?

    My ipad2 won't accept my apple password for new app install. I've tried several time and get a pop up "unknown error". Help?

    Sign out of your account, restart the iPad and then sign in again.
    Settings>iTunes & App Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go back to Settings>iTunes & App Store>Sign in and then try again.

  • HT201210 hi i just bought my new iPhone 4s yesterday and when u opened it was not updated so when i tried SO MANY TIMES to update it on the devise and on my new mac it said that there was a unknown error please help me :)

    hi i just bought my new iPhone 4s yesterday and when u opened it was not updated so when i tried SO MANY TIMES to update it on the devise and on my new mac it said that there was a unknown error please help me

    Please tell us what kind of computer you have, what operating system and what version of iTunes. Not just "the latest version of iTunes", the exact version number.

  • Just got 4s and synced my music and only about half went to my phone.  the rest wont sync.  says unknown error.  help!

    just got 4s and synced my music and only about half went to my phone.  the rest wont sync.  says unknown error.  help!

    Unless as part of a backup, or stored somewhere else, they are gone.
    Your son needs his own Apple ID for iCloud, FaceTime & iMessage. He can continue to use yours for iTunes content, but for everything else, he needs his own.
    When you did what you did, as far as iCloud knows, this is the same person with multiple devices, and that's they way things are supposed to work: keep everything in sync.

  • Error msg saying unknown error PLEASE HELP

    Hi my iphone 4 died over night so i woke up this morning and put it on charge through a wall charger a few hours passed and i have got back and the little white bars are still circling so i pluged it into the computer and its still doing the same thing and a msg comes up saying itunes could not detect device unknown error OxE8000065. Please help i have very inportant phone calls this morning

    thank you so so so so much that worked

  • Unknown Error -48 HELP ME i can't save my iTunes library

    whenever i try to transfer music to my iTunes Library, it transfers fine, and i can listen to it for then. However once i close iTunes, then open it back up, none of my music is there anymore, and i get an error message that says "the iTunes music library file could not be saved. an Unknown error occurred (-48). i have no idea how to get my music files to save, i even have all the music in the default my music folder that it says in the advanced options in iTunes, so please help me, i can't figure this out.

    Hello ArtyJP,
    You can give this a shot to correct the permissions on your computer. I know you have Windows 8, the Windows 7 will still get you in the right place.
    iTunes: Missing folder or incorrect permissions may prevent authorization
    http://support.apple.com/kb/ts1277
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • ITunes cant open-unknown error (-50) HELP

    My Itunes8 was working just fine and then all of a sudden i kept getting "The itunes applications could not be opened. An unknown error occured (-50)." i tried repairing the program, uninstalling it and then reinstalling it but i keep getting the same thing. if someone knows the solution to this please i need your help. i have no clue what this means and ive been searching the internet for days to find a solution. i need my itunes or else my ipod is useless i tell you useless.

    What happens if you try to start Quicktime? iTunes cannot work if QUicktime doesn't.
    If QUicktime does not launch go to your control panel and try to start QUicktime preferences. Give the text of any error message in full.
    Have installed any of the following:
    ACE & K-Lite mega codecs package, QT alternative, Storm codec, WinAVI video converter
    They are bad news for Quicktime.
    If you Quicktime works normally, work through the following troubleshooting article for iTunes.
    XP
    http://support.apple.com/kb/TS1421
    Vista version
    http://support.apple.com/kb/TS1717

  • ITunes showing unknown error 1418 - Help!!

    Ok, so I got my new 5th Generation iPod for my birthday to replace my iPod mini. I put all my old music onto it and listened to it today with no problems.
    However, I'd bought 2 albums from iTunes last night and was annoyed to find that they had not synched onto the iPod.
    When I got home I plugged my iPod in and it started saying "do not disconnect" straight away...when it was finished I dragged one of the albums I'd bought so that it would synch onto the iPod - this is where the problems started:
    1. It started saying that a music file on the iPod itself was corrupted and unreadable.
    2. I ejected the iPod and tried again, and again...it would always show "do not disconnect" and was untouchable in iTunes. It would still work fine when not plugged in though.
    3. When I last plugged it in iTunes claimed to not be running properly and had to be shut down. I also restarted the whole computer.
    4. I have now decided to restore the iPod to its factory settings to remedy the corrupted file situation but when the restore process is taking place a message comes up saying that the iPod cannot be restored due to an unknown error 1418.
    5. My iPod now says "do not disconnect" in an MSDOS-style screen (it's all gone black and white and fonts are smaller than usual) when it is connected and when I disconnect it it just says that it must be restored and plugged in...so it's all a viscious circle.
    I'm sorry this has been so long but I wanted to include as much info as possible so that someone might help??!
    PC   Windows XP   iTunes 7.0.2.16

    Having read another post with a similar issue I'm going to try to disconnect my iPod while the restore bar shows up on the screen, then reconnect it...
    Does anyone have any other suggestions or tips/hints to try?
    I already have tried what the site said to do re. error 1418 but nothing worked and am now getting desperate!

  • Itunes store unknown error -50 help needed

    i've recently become unable to access the music, podcasts, and ping sections of the itunes store from my imac (3.06 ghz intel core 2 duo).
    over the same network, i can access all areas of the itunes store from other devices such as my iphone, ipad, macbook and macbook pro.
    when trying to access the music, podcasts or ping sections of the itunes store, i get an error that reads"
    'we could not complete your itunes store request. an unknown error occurred (-50). there was an error in the itunes store. please try again later'
    i've been thru every, and i mean every, apple article available and have done everything suggested (included advanced and isolated) several times and the error remains.
    we have 4 users on this imac. 3 users shared the same itunes account and apple id (mine) until recently. both of my daughters opened their own apple id's and itunes accounts to use gift cards they were given. i've been thru the account info on each account and all seems ok. at the same time, i enabled parental controls. i've since disabled parental controls to try and fix this issue.
    the issue remains.
    i've emailed apple itunes store technical support and followed all of their recommendations, which mirrored the online apple articles.
    the issue remains.
    this imac is running lion with all software updates including itunes 10.5.3 (3)
    can anyone please, please offer any advice or assistance?
    thanks in advance.

    i've been thru every, and i mean every, apple article available and have done everything suggested (included advanced and isolated) several times and the error remains.
    Have you tried everything here > iTunes Store: "Error (-50)" when downloading purchased content
    If you have anti virus software installed, disable that and turn off the Firewall in System Preferences > Security & Privacy

  • Random selections of mp4 videos won't sync, convert for iPhone option in iTunes comes up with unknown error 2002, help please!

    I've been having massive issues copying mp4 video files onto my iPhone 4 from my windows 7 (64 bit) pc.
    I converted a large number of avi files into mp4 using aiseesoft movie converter and most of them work just fine.
    However about a quarter of the files with no Obvious difference in size and converted the same way will not sync.
    Instead a message appears saying these cannot be played on the iPhone.
    Also when then trying to use the iTunes convert for iPhone function It fails for unknown error 2002.
    Any help on why this is happening and how to stop it would be greatly appreciated.
    Thanks

    When the videos are in the Movie library, try using the Create IPod and iPhone Version in the Afvanced tab of iTunes.

  • Unknown error (-69) HELP!!!!

    when I try to update my iPod this error appears: ""attempting to copy to the disk "MY IPOD" failed. an unknown error occurred (-69).""
    So i cleared all the songs of my iPod and tried moving them manualy but the error message still popped up. So i tried syncing it again but the error message came up. Now i only have 300 songs on my iPod out of my 1000 and something I have on iTunes.
    How do I stop this error message and update my iPod again??

    See if this helps: iTunes displays a -69 error when syncing iPod

  • Cant connect iphone 4s cause unknown error (0xE8000012)  HELP

    Yesterday I restored my computer and now i redownloaded itunes and everthying but i cant connect and i get the unknown error 0xE8000012 when i try to connect. I got my itunes to normal by dragging my music folder onto a hard drive before and just replaced it later after installing itunes. Please help. Before it was working perfectly fine. If it helps, My phone is 4s 32 gigs iOS 5.1.1

    http://support.apple.com/kb/TS3221

  • Quicktime Unknown Error -50 - Help

    I keep getting this error message when I try to open any Quicktime files on my hard drive or any HD content like movie trailers and such.
    "Error -50 :an unknown error occured"
    Does anyone know what this means?
    I have tried uninstalling and reinstalling Quicktime 3 times but I still get the same error message.
    Any and all help will be greatly appreciated.

    I can't speak to anyone else's problem- but mine was plainly working too long and being Senor El Estupido. Running Compressor out of FCP via batch monitor. QT 7.45, MacBook Pro, OSX 10.5.2 error -50! I must tel the king!
    After doing several freaked out things (re-installing QT, destroying plists, permissions repair, restarts, PRAM reset, etc.) I realized I had no in->out in the FCP timeline. No, really. Embarassing, and now that the queue is running I am goin to get some adult beverages and SLEEP.

  • Unknown Error (-69) HELP MEEE!!

    My ipod will upload up to 200 songs, and then i get this window pop up saying some unknown error (-69) Anyone can help?

    Hej, I had the same problem. with error -69 and a 'frozen' Ipod. Solved reseting the Ipod and by installing all uninstalled updates for windows xp. Try that if it isn't fixed.

  • Unknown error (1604) help!

    lets start from the beginning...
    for the last few days my ipod has been playing up, the touch screen keeps freezing and it is very slow, last night it simply stopped working and wouldn't turn on, so i plugged it into my computer and it told me to restore... i clicked restore and it began the process of restoring, but it then said there was an 'unknown error (1604)' and that the ipod could not be restored...
    theres the story, now if anyone can help it will be greatly appreciated...
    thanks!

    Dont necessarily wasnt to just keep adding to the string but I had the same problem and called Tech Support. Bottom line is that they told me to take it to a store and if they couldnt fix it they would replace it. Tech suooprt thought it had something to do with basic software corrupted. I would also retry to restore it and it would go through the process but I would have the same basic problem. Going to store tomorrow 3/15 and will let you know how I make out.

Maybe you are looking for

  • What is wrong with my iphone4? and how can i turn it back on?

    About a week ago, i was using my iphone that I've had about 6 months, no problems. It was working perfectly fine and then out of nowhere it shut itself off. I plugged it in, nothing happened. I pressed the home and lock button, and held them in, and

  • How to force BI Publisher to output header without any record in CSV or XML format?

    When the output format is CSV or XML, it seems that Oracle BI publisher does not use the template. When there is no record returned, it only display "ROWSET" in the report. No column names are displayed in the report. If the output format is one of t

  • Table for C form Details in sales order

    Hi Experts, what is the table for details of C, H, I, etc forms against sales order. Thanks, Anu

  • Change Permissions Of All Files/Folders At Once?

    I changed my User Name by deleting my old Account and creating this new one and now my thousands of Files and Folders have to each have their Ownership be manually switched from "unknown" to my new Name before being rewritable (and sometimes even jus

  • What is system Copy

    Hello all, I need to know what system copy is.I am in development area so will not be able to understand some of the terminology if jargons are used.I need to know, What happens when a new system is set up by sytem copy.Is the only repository replica