Error Connecting to Access 2007 database

Hi there,
We are seeing the below error when trying to Connect to Access 2007 using Crystal 2008, when using the
Access/DAO connection wizard ..
Logon failed
Details: DAO Error Code: 0xd0f
Source: DAO.Workspace
Description: Unrecognised database format 'path to database\crs project database.aaadb
When we go to open the Access 07 file we have to select all files\there is no Option for Access 2007
Maybe we need to install something additional?
Many thanks
Jon Kerr

Look for Product info for our next version to see if it added to supported platforms for the next release of Crystal Reports.
Update:
Confirmed that Microsoft is not enhancing the DAO engine so we will not be updating our connector either. ODBC and OLE DB work great.
Even More info form our Product Team:
Just to be really clear - Microsoft is not exposing Access 2007 format databases (.accdb files) via DAO. They have declared DAO dead and are not enhancing it. OLEDB is the preferred way to connect to Access 2007 files.
As noted in the Platform Support document for Crystal Reports 2008:
DAO technology cannot be used to access the Microsoft Office 2007 file formats: Microsoft Access 2007 .accdb, Microsoft Excel 2007 .xlsx (XML) and .xlsb (Binary). These file formats are supported using the Microsoft 2007 Office System drivers for ODBC and OLEDB.
Anyone can download the Microsoft 2007 Office System drivers for ODBC and OLEDB, here:
http://www.microsoft.com/downloads/details.aspx?FamilyID=7554F536-8C28-4598-9B72-EF94E038C891&displaylang=en
There is no charge for those drivers. Of course if you have Office 2007 installed, you donu2019t need to download the drivers.
Starting with Office 2010, there will be 64-bit versions of these drivers, which will help our 64-bit Visual Studio customers.
Edited by: Don Williams on Feb 4, 2010 12:12 PM
Edited by: Don Williams on Feb 8, 2010 5:59 AM

Similar Messages

  • Error when Connect to Access 2007 with password using OLEDB

    Hi there,
    I am seeing the below error when trying to Connect to Access 2007 with password using Crystal XI or Crystal 2008, when using the OLEDB to connection Access data.
    Logon failed
    Details: DAO Error Code: 0xd0f
    Source: DAO.Workspace
    Description: Unrecognised database format 'path to database\crs project database.aaadb
    Get though when I use Access 2007 without password setup.
    Many Thanks for any one can help.
    Daphne Li

    As a copy of this query has been posted to the CR design forum at 11:21, assuming this is indeed a design question.
    Thus setting this thread as answered.
    - Ludek

  • Cannot connect to Access 2007

    I got an exception error for connecting to Access 2007 (.accdb) . However, I can connect to the Access file with the .mdb file. I am using window vista. I would like to know is there anything I need to configure to be able to connect to the Access (.accdb).
    Error:java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
    How do I specify a driver?
    Thank You

    BB81 wrote:
    I do print them? what should I do. I have no idea how to connect to the database I have now. I am wandering whether I need to download a driver? where can I download it? Does sun offer a free download driver for connection to database using ODBC?
    Your code looks something like this.
    DB_URL+=filename.trim()+";DriverID=22;READONLY=true}";
    con = DriverManager.getConnection( DB_URL ,"","");
    Your code needs to look like this.
    DB_URL+=filename.trim()+";DriverID=22;READONLY=true}";
    System.out.println("DB_URL=[" + DB_URL +"]");
    con = DriverManager.getConnection( DB_URL ,"","");
    Once you have run that then you post all of the line that println() prints here. You copy and paste it (do NOT retype it.)
    Then you also post the full stack trace.

  • Can't connect to Access 2007 data with password using OLEDB

    Hi there,
    I am seeing the below error when trying to Connect to Access 2007 with password using Crystal XI or Crystal 2008, when using the OLEDB to connection Access data.
    Logon failed
    Details: DAO Error Code: 0xd0f
    Source: DAO.Workspace
    Description: Unrecognised database format 'path to database\crs project database.aaadb
    Get though when I use Access 2007 without password setup.
    Many Thanks for any one can help.
    Daphne Li

    Hi Daphne,
    Crystal can only use the top level password. If you have a system password I don't believe that will work, never has.
    Thank you
    Don

  • JSP and Access 2007 database

    i've been trying to look for codes on how to access the Access 2007 database (.accdb).
    i've done a previous JSP app with Access database, but it is of a lower version (.mdb).
    i need something like the following, but for the 2007 version. is it just a matter of changing the extension for both statements, or is there more to it?
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    String DBQ = request.getRealPath("sales.mdb");
    String database = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=" + DBQ + ";DriverID=22;READONLY=true";thanks.

    <%@page import="java.sql.*" %>
    <table boder="1">
    <%
    Statement statement;
    Connection conn;
    String url = "jdbc:mysql://localhost/dbName";
    String user = "username";
    String pass = "password";
    try {
        class.forName("com.mysql.jdbc.Driver");
        conn = DriverManager.getConnection(url, user, pass);
        statement = conn.createStatement();
    String query = "SELECT images FROM database";
    ResultSet results = statement.executeQuery(query);
    while(results.next()) {
    %>
        <tr>
            <td><img src="<%= results.getString("images") %>"></td>
        </tr>
    <% } %>
    </table>The while loop will loop through your result set and print the table row for each image it finds in the query.
    Hope this helps,
    Jon

  • Connection to Access 2007

    For the "jdbc:odbc:<driver> ...
    what is the correct specification for <driver>
    when trying to connect to a MS Access 2007 database?
    WORKING example, please! the more detail, the better ... thanks!

    Sorry, no stars for that reply.
    Lots of general information, but here is the crux of the problem:
    Your reference from planet-source-code.com gives this
    code:
    try {
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    // set this to a MS Access DB you have on your machine
    String filename = "d:/java/mdbTEST.mdb";
    String database = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=";
    database+= filename.trim() + ";DriverID=22;READONLY=true}"; // add on to the end
    // now we can get the connection from the DriverManager
    Connection con = DriverManager.getConnection( database ,"","");
    Well, that may work with previous versions of Access, but my
    question is about Access 2007. Access 2007 does NOT
    produce a .mdb file, but rather a .accdb file. So, this code
    will obviously fail (and it does!).
    Maybe I should give one star, because you pointed to lots of
    semi-useful general information, but it does NOT answer the
    question!

  • Connecting Dreamweaver to Access 2007 database

    Hi, I am relatively new to Dreamweaver CS3; I have built a
    database in MS Access 2007; I'm looking to do either of the
    following;
    1. Put the database form on the web, so users can enter
    information straight into the database or/
    2. Create a front end form in Dreamweaver and link it to my
    database
    Ideally, I would like to do #1
    This is an internet website, not an intranet website.
    Any help would be appreciated as I am growing frustrated.
    Thanks,
    Raymond!

    matthew stuart wrote:
    > I guess ASP may be the easiest to learn because all you
    need to do is insert
    > your windows XP disk an install IIS (Internet
    Information Services). This
    > enables you to serve ASP pages locally for testing.
    That makes ASP easy to install, but ease of installation does
    not
    necessarily mean ease of learning.
    > learning it
    > is a different kettle of fish which is why I say get a
    book. The current books
    > seem to be mainly php with MySQL, but the older books
    seem to be ASP with
    > Access or MySQL.
    There's a very good reason for that. Microsoft stopped
    developing ASP in
    2000. Although ASP is widely supported, and will continue to
    be for the
    foreseeable future, it's a technology that's going nowhere.
    Anyone just
    starting out to learn how to build a database-driven website
    would be
    better advised to learn one of the technologies that remain
    in active
    development. That means ASP.NET - which has a steeper
    learning curve
    than ASP - ColdFusion, or PHP.
    Another important consideration is which database to use.
    Access is not
    designed to be used on a website. It works fine for small
    websites that
    don't get many visitors, but it creates bloated files, and
    locks up when
    traffic increases. Although MySQL and Microsoft SQL Server
    are more
    difficult to learn, they are a much better option for a
    website.
    I'm biased in favour of PHP and MySQL because I write books
    about them,
    but I would seriously advise Jedi7 to choose anything other
    than Access/ASP.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Error -18351 when accessing TS database options

    I have not used the system in a month and now when I try to access the 'Database options' window in Teststand from the Configure menu I receive the following message:
    Details
    The type library information for 'TestStand API 2.0' was not found.
    Make sure the server is registered with the system.
    Error Code
    -18351; An error occurred reading an ActiveX Automation server type library.
    Location
    Step 'Create UUTResult' of sequence 'Edit Database Options' in 'Database.seq'
    Has anyone seen this before? I am using TS 3.1 on Win2K.

    Hey plf,
    Have you seen this Discussion Forum.   I think it is very similar to the error you are seeing.  Try the steps in there and if that fails then let me know and we'll see what else we can figure out. 
    You need to open the Database.seq file inside of this directory: C:\Program Files\National Instruments\TestStand 3.1\Components\NI\Models\TestStandModels\Database  and go to the Edit Database Options from the View drop down.  Then you can right click on Create UUTResult and click on Specify Module.  Yours should be similar to the one I'm attaching.  Check and make sure it is.
    Message Edited by Sam R on 02-09-2006 12:47 PM
    Message Edited by Sam R on 02-09-2006 12:48 PM
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~
    Attachments:
    SpecifyModule.jpg ‏1177 KB

  • CR4E plug-in   ERROR CONNECTIVITY  MS ACCESS DATABASE :data connection that isn't fully supported by this version of the Crystal Reports designer

    Post Author: arfetgas
    CA Forum: Data Connectivity and SQL
    Hi im trying to view a simple report , this report have some parameters from a MS Access database.I  configure  everything, The ODBCJDBC bridge, the dns System on Windows, etc... and the problem its  like this,  I connect the database, but the schema its empty  , i cant map, the dinamic parameters of my report, with my access database.I have this errors  : at same time 1. This report uses a data connection that isn't fully supported by this version of the Crystal Reports designer.  You can modify the report in the designer, but the following actions that access this connection will fail: Browse data, verify database, and report preview.  We recommend you set the datasource location to a JDBC or Java Result Set data source.  2. Java.lang.RuntimeException: WARNING: Blocked recursive attempt to close part com.businessobjects.crystalreports.integration.eclipse.jspeditor.CRJSPEditor while still in the middle of activating it    at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1247)    at org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:1367)    at org.eclipse.ui.internal.EditorPane.doHide(EditorPane.java:61)    at org.eclipse.ui.internal.PartStack.close(PartStack.java:543)    at org.eclipse.ui.internal.EditorStack.close(EditorStack.java:206)    at org.eclipse.ui.internal.PartStack$1.close(PartStack.java:122)    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:81)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:276)    at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)    at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$1.closeButtonPressed(DefaultTabFolder.java:67)    at org.eclipse.ui.internal.presentations.PaneFolder.notifyCloseListeners(PaneFolder.java:596)    at org.eclipse.ui.internal.presentations.PaneFolder$3.close(PaneFolder.java:189)    at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2159)    at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:320)    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)    at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)    at org.eclipse.jface.window.Window.open(Window.java:796)    at org.eclipse.ui.texteditor.AbstractTextEditor.handleEditorInputChanged(AbstractTextEditor.java:4403)    at org.eclipse.ui.texteditor.StatusTextEditor.handleEditorInputChanged(StatusTextEditor.java:220)    at org.eclipse.ui.texteditor.AbstractTextEditor.sanityCheckState(AbstractTextEditor.java:4555)    at org.eclipse.ui.texteditor.StatusTextEditor.sanityCheckState(StatusTextEditor.java:210)    at org.eclipse.ui.texteditor.AbstractTextEditor.safelySanityCheckState(AbstractTextEditor.java:4533)    at org.eclipse.wst.sse.ui.StructuredTextEditor.safelySanityCheckState(StructuredTextEditor.java:2945)    at org.eclipse.ui.texteditor.AbstractTextEditor$ActivationListener.handleActivation(AbstractTextEditor.java:921)    at org.eclipse.ui.texteditor.AbstractTextEditor$ActivationListener.partActivated(AbstractTextEditor.java:879)    at org.eclipse.ui.internal.PartListenerList$1.run(PartListenerList.java:72)    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)    at org.eclipse.core.runtime.Platform.run(Platform.java:857)    at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)    at org.eclipse.ui.internal.PartListenerList.firePartActivated(PartListenerList.java:70)    at org.eclipse.ui.internal.PartService.firePartActivated(PartService.java:73)    at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:171)    at org.eclipse.ui.internal.WWinPartService.updateActivePart(WWinPartService.java:124)    at org.eclipse.ui.internal.WWinPartService.access$0(WWinPartService.java:115)    at org.eclipse.ui.internal.WWinPartService$1.partDeactivated(WWinPartService.java:48)    at org.eclipse.ui.internal.PartListenerList2$4.run(PartListenerList2.java:113)    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)    at org.eclipse.core.runtime.Platform.run(Platform.java:857)    at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:53)    at org.eclipse.ui.internal.PartListenerList2.firePartDeactivated(PartListenerList2.java:111)    at org.eclipse.ui.internal.PartService.firePartDeactivated(PartService.java:116)    at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:165)    at org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:56)    at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:126)    at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3402)    at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:2946)    at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:265)    at org.eclipse.ui.internal.EditorPane.requestActivation(EditorPane.java:98)    at org.eclipse.ui.internal.presentations.PresentablePart.setFocus(PresentablePart.java:191)    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:92)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:272)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.handleMouseDown(AbstractTabFolder.java:342)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder$3.mouseDown(AbstractTabFolder.java:79)    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:178)    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)    at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)    at java.lang.reflect.Method.invoke(Unknown Source)    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)    at org.eclipse.equinox.launcher.Main.run(Main.java:1173)!ENTRY com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Error loading file prueba.rpt!STACK 0java.lang.Exception: Error loading file prueba.rpt    at com.businessobjects.integration.eclipse.shared.EclipseLogger.logMessage(Unknown Source)    at com.businessobjects.integration.eclipse.shared.EclipseLogger.handleMessage(Unknown Source)    at com.businessobjects.integration.capabilities.logging.LogManager.message(Unknown Source)    at com.businessobjects.crystalreports.integration.eclipse.wtp.CrystalReportsValidator.validateOneFile(Unknown Source)    at com.businessobjects.crystalreports.integration.eclipse.wtp.CrystalReportsValidator.validate(Unknown Source)    at com.businessobjects.crystalreports.integration.eclipse.wtp.CrystalReportsValidator.validateInJob(Unknown Source)    at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:75)    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Plug-in Provider:.... Business Objects!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Plug-in name:.... Crystal Reports Java Development Tools!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Plug-in ID:.... com.businessobjects.crystalreports.integration.eclipse!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Version:.... 1.0.4.v1094!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE The error was detected in com.businessobjects.crystalreports.integration.eclipse  Please PEOPLE OF BUSINESS OBJECTS  ,  I need some support , I think the problem its in your plug in09 April 2008 , let me how much time i need to wait Your support , maybe , ill try  jasper Reports, or Birth, it depends on You people of BO  any req  -
    >   [email protected] thanks to people  that can help ...           

    Post Author: arfetgas
    CA Forum: Data Connectivity and SQL
    Hi im trying to view a simple report , this report have some parameters from a MS Access database.I  configure  everything, The ODBCJDBC bridge, the dns System on Windows, etc... and the problem its  like this,  I connect the database, but the schema its empty  , i cant map, the dinamic parameters of my report, with my access database.I have this errors  : at same time 1. This report uses a data connection that isn't fully supported by this version of the Crystal Reports designer.  You can modify the report in the designer, but the following actions that access this connection will fail: Browse data, verify database, and report preview.  We recommend you set the datasource location to a JDBC or Java Result Set data source.  2. Java.lang.RuntimeException: WARNING: Blocked recursive attempt to close part com.businessobjects.crystalreports.integration.eclipse.jspeditor.CRJSPEditor while still in the middle of activating it    at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1247)    at org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:1367)    at org.eclipse.ui.internal.EditorPane.doHide(EditorPane.java:61)    at org.eclipse.ui.internal.PartStack.close(PartStack.java:543)    at org.eclipse.ui.internal.EditorStack.close(EditorStack.java:206)    at org.eclipse.ui.internal.PartStack$1.close(PartStack.java:122)    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:81)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:276)    at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)    at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$1.closeButtonPressed(DefaultTabFolder.java:67)    at org.eclipse.ui.internal.presentations.PaneFolder.notifyCloseListeners(PaneFolder.java:596)    at org.eclipse.ui.internal.presentations.PaneFolder$3.close(PaneFolder.java:189)    at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2159)    at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:320)    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)    at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)    at org.eclipse.jface.window.Window.open(Window.java:796)    at org.eclipse.ui.texteditor.AbstractTextEditor.handleEditorInputChanged(AbstractTextEditor.java:4403)    at org.eclipse.ui.texteditor.StatusTextEditor.handleEditorInputChanged(StatusTextEditor.java:220)    at org.eclipse.ui.texteditor.AbstractTextEditor.sanityCheckState(AbstractTextEditor.java:4555)    at org.eclipse.ui.texteditor.StatusTextEditor.sanityCheckState(StatusTextEditor.java:210)    at org.eclipse.ui.texteditor.AbstractTextEditor.safelySanityCheckState(AbstractTextEditor.java:4533)    at org.eclipse.wst.sse.ui.StructuredTextEditor.safelySanityCheckState(StructuredTextEditor.java:2945)    at org.eclipse.ui.texteditor.AbstractTextEditor$ActivationListener.handleActivation(AbstractTextEditor.java:921)    at org.eclipse.ui.texteditor.AbstractTextEditor$ActivationListener.partActivated(AbstractTextEditor.java:879)    at org.eclipse.ui.internal.PartListenerList$1.run(PartListenerList.java:72)    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)    at org.eclipse.core.runtime.Platform.run(Platform.java:857)    at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)    at org.eclipse.ui.internal.PartListenerList.firePartActivated(PartListenerList.java:70)    at org.eclipse.ui.internal.PartService.firePartActivated(PartService.java:73)    at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:171)    at org.eclipse.ui.internal.WWinPartService.updateActivePart(WWinPartService.java:124)    at org.eclipse.ui.internal.WWinPartService.access$0(WWinPartService.java:115)    at org.eclipse.ui.internal.WWinPartService$1.partDeactivated(WWinPartService.java:48)    at org.eclipse.ui.internal.PartListenerList2$4.run(PartListenerList2.java:113)    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)    at org.eclipse.core.runtime.Platform.run(Platform.java:857)    at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:53)    at org.eclipse.ui.internal.PartListenerList2.firePartDeactivated(PartListenerList2.java:111)    at org.eclipse.ui.internal.PartService.firePartDeactivated(PartService.java:116)    at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:165)    at org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:56)    at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:126)    at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3402)    at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:2946)    at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:265)    at org.eclipse.ui.internal.EditorPane.requestActivation(EditorPane.java:98)    at org.eclipse.ui.internal.presentations.PresentablePart.setFocus(PresentablePart.java:191)    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:92)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:272)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.handleMouseDown(AbstractTabFolder.java:342)    at org.eclipse.ui.internal.presentations.util.AbstractTabFolder$3.mouseDown(AbstractTabFolder.java:79)    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:178)    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)    at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)    at java.lang.reflect.Method.invoke(Unknown Source)    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)    at org.eclipse.equinox.launcher.Main.run(Main.java:1173)!ENTRY com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Error loading file prueba.rpt!STACK 0java.lang.Exception: Error loading file prueba.rpt    at com.businessobjects.integration.eclipse.shared.EclipseLogger.logMessage(Unknown Source)    at com.businessobjects.integration.eclipse.shared.EclipseLogger.handleMessage(Unknown Source)    at com.businessobjects.integration.capabilities.logging.LogManager.message(Unknown Source)    at com.businessobjects.crystalreports.integration.eclipse.wtp.CrystalReportsValidator.validateOneFile(Unknown Source)    at com.businessobjects.crystalreports.integration.eclipse.wtp.CrystalReportsValidator.validate(Unknown Source)    at com.businessobjects.crystalreports.integration.eclipse.wtp.CrystalReportsValidator.validateInJob(Unknown Source)    at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:75)    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Plug-in Provider:.... Business Objects!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Plug-in name:.... Crystal Reports Java Development Tools!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Plug-in ID:.... com.businessobjects.crystalreports.integration.eclipse!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE Version:.... 1.0.4.v1094!SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788!MESSAGE The error was detected in com.businessobjects.crystalreports.integration.eclipse  Please PEOPLE OF BUSINESS OBJECTS  ,  I need some support , I think the problem its in your plug in09 April 2008 , let me how much time i need to wait Your support , maybe , ill try  jasper Reports, or Birth, it depends on You people of BO  any req  -
    >   [email protected] thanks to people  that can help ...           

  • CR4E plug-in ERROR CONNECTIVITY MS ACCESS DATABASE :data connection that isn't fully supported by this version of the Crystal R

    Hi im trying to view a simple report , this report have some parameters from a MS Access database.
    I  configure  everything, The ODBCJDBC bridge, the dns System on Windows, etc...
    and the problem its  like this,
    I connect the database, but the schema its empty  , i cant map, the dinamic parameters of my report, with my access database.
    I have this errors  : at same time
    1. This report uses a data connection that isn't fully supported by this version of the Crystal Reports designer.  You can modify the report in the designer, but the following actions that access this connection will fail: Browse data, verify database, and report preview.  We recommend you set the datasource location to a JDBC or Java Result Set data source.
    2. Java.lang.RuntimeException: WARNING: Blocked recursive attempt to close part com.businessobjects.crystalreports.integration.eclipse.jspeditor.CRJSPEditor while still in the middle of activating it
        at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1247)
        at org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:1367)
        at org.eclipse.ui.internal.EditorPane.doHide(EditorPane.java:61)
        at org.eclipse.ui.internal.PartStack.close(PartStack.java:543)
        at org.eclipse.ui.internal.EditorStack.close(EditorStack.java:206)
        at org.eclipse.ui.internal.PartStack$1.close(PartStack.java:122)
        at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:81)
        at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)
        at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:276)
        at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)
        at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$1.closeButtonPressed(DefaultTabFolder.java:67)
        at org.eclipse.ui.internal.presentations.PaneFolder.notifyCloseListeners(PaneFolder.java:596)
        at org.eclipse.ui.internal.presentations.PaneFolder$3.close(PaneFolder.java:189)
        at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2159)
        at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:320)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
        at org.eclipse.jface.window.Window.open(Window.java:796)
        at org.eclipse.ui.texteditor.AbstractTextEditor.handleEditorInputChanged(AbstractTextEditor.java:4403)
        at org.eclipse.ui.texteditor.StatusTextEditor.handleEditorInputChanged(StatusTextEditor.java:220)
        at org.eclipse.ui.texteditor.AbstractTextEditor.sanityCheckState(AbstractTextEditor.java:4555)
        at org.eclipse.ui.texteditor.StatusTextEditor.sanityCheckState(StatusTextEditor.java:210)
        at org.eclipse.ui.texteditor.AbstractTextEditor.safelySanityCheckState(AbstractTextEditor.java:4533)
        at org.eclipse.wst.sse.ui.StructuredTextEditor.safelySanityCheckState(StructuredTextEditor.java:2945)
        at org.eclipse.ui.texteditor.AbstractTextEditor$ActivationListener.handleActivation(AbstractTextEditor.java:921)
        at org.eclipse.ui.texteditor.AbstractTextEditor$ActivationListener.partActivated(AbstractTextEditor.java:879)
        at org.eclipse.ui.internal.PartListenerList$1.run(PartListenerList.java:72)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.eclipse.core.runtime.Platform.run(Platform.java:857)
        at org.eclipse.ui.internal.PartListenerList.fireEvent(PartListenerList.java:57)
        at org.eclipse.ui.internal.PartListenerList.firePartActivated(PartListenerList.java:70)
        at org.eclipse.ui.internal.PartService.firePartActivated(PartService.java:73)
        at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:171)
        at org.eclipse.ui.internal.WWinPartService.updateActivePart(WWinPartService.java:124)
        at org.eclipse.ui.internal.WWinPartService.access$0(WWinPartService.java:115)
        at org.eclipse.ui.internal.WWinPartService$1.partDeactivated(WWinPartService.java:48)
        at org.eclipse.ui.internal.PartListenerList2$4.run(PartListenerList2.java:113)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at org.eclipse.core.runtime.Platform.run(Platform.java:857)
        at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:53)
        at org.eclipse.ui.internal.PartListenerList2.firePartDeactivated(PartListenerList2.java:111)
        at org.eclipse.ui.internal.PartService.firePartDeactivated(PartService.java:116)
        at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:165)
        at org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:56)
        at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:126)
        at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3402)
        at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:2946)
        at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:265)
        at org.eclipse.ui.internal.EditorPane.requestActivation(EditorPane.java:98)
        at org.eclipse.ui.internal.presentations.PresentablePart.setFocus(PresentablePart.java:191)
        at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:92)
        at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)
        at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:272)
        at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.handleMouseDown(AbstractTabFolder.java:342)
        at org.eclipse.ui.internal.presentations.util.AbstractTabFolder$3.mouseDown(AbstractTabFolder.java:79)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:178)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
        at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
    !ENTRY com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788
    !MESSAGE Error loading file prueba.rpt
    !STACK 0
    java.lang.Exception: Error loading file prueba.rpt
        at com.businessobjects.integration.eclipse.shared.EclipseLogger.logMessage(Unknown Source)
        at com.businessobjects.integration.eclipse.shared.EclipseLogger.handleMessage(Unknown Source)
        at com.businessobjects.integration.capabilities.logging.LogManager.message(Unknown Source)
        at com.businessobjects.crystalreports.integration.eclipse.wtp.CrystalReportsValidator.validateOneFile(Unknown Source)
        at com.businessobjects.crystalreports.integration.eclipse.wtp.CrystalReportsValidator.validate(Unknown Source)
        at com.businessobjects.crystalreports.integration.eclipse.wtp.CrystalReportsValidator.validateInJob(Unknown Source)
        at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:75)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    !SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788
    !MESSAGE Plug-in Provider:.... Business Objects
    !SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788
    !MESSAGE Plug-in name:.... Crystal Reports Java Development Tools
    !SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788
    !MESSAGE Plug-in ID:.... com.businessobjects.crystalreports.integration.eclipse
    !SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788
    !MESSAGE Version:.... 1.0.4.v1094
    !SUBENTRY 1 com.businessobjects.crystalreports.integration.eclipse 4 4 2008-04-02 15:30:13.788
    !MESSAGE The error was detected in com.businessobjects.crystalreports.integration.eclipse
    Please PEOPLE OF BUSINESS OBJECTS  ,  I need some support , I think the problem its in your plug in
    09 April 2008 , let me how much time i need to wait Your support , maybe , ill try  jasper Reports, or Birth, it depends on You people of BO
    any req  -
    >   [email protected]
    thanks to people  that can help ...

    There are some other solutions possible.
    1. Get another driver. The only one known is java only so it wont crash. But is not not free.
    2. Use a proxy driver. That means that another app actually does the database work. If it crashes you just start it again (which you can do in your main code.) That way it won't take down your server. There are commercial jdbc drivers that claim MS Access but are are really just proxy implementations as an option in this area.

  • Error Connecting to Access DB

    I'm connecting to an MS access db using
    String url = "jdbc:odbc:MS Access Database;DBQ=epistol-old.mdb";
    try {
         connectiondb = DriverManager.getConnection(url);
    Now this works perfectly fine on most computers. But users who are running non-english versions of windows (german, spanish etc..) are reporting getting the "java.sql.SQL.Exception:[Microsoft][ODBC Driver Manager) The source
    name wasn't found and there was no default driver" error. The file is in the right place. I don't have any way to test this as I don't have access to a non-english system. Has anyone had a similar problem and know anything about this? or is there another way I can connect to a access db that won't have this problem?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    I was reading up a little more on this and I thought that possibly they user doesn't have odbc installed on their system. Does any one know of a way I can tell them to check?

  • Error connecting applet with oracle database

    hi all,
    here i m running the following code .
    it executes the following query "Select * from emp";
    the number in the text filed decides the column number to be displayed.
    import java.awt.*;
    import java.applet.*;
    import java.sql.*;
    /*<applet code=project.class width=300 height=200>
    </applet>*/
    public class project extends Applet
    Statement stmt=null;
    Connection conn = null;
    TextField t1;
    public void init()
    t1 = new TextField(2);
    add(t1);
    t1.setText("0");
    public void paint(Graphics g)
    int x=0,y=0,z=0;
    String s1,s2,s;
    try{
    DriverManager.registerDriver(new oracle.jdbc.OracleDriver());
    catch(Exception e)
    try{
    conn = DriverManager.getConnection
    ("jdbc:oracle:thin:@anant:1521:student", "scott", "tiger");
    stmt = conn.createStatement();
    catch(Exception e)
    s1 = t1.getText();
    x = Integer.parseInt(s1);
    try{
    ResultSet rset = stmt.executeQuery("select * from emp");
    while (rset.next())
    s2 = (rset.getString(x));
    g.drawString(s2,100,100);
    stmt.close();
    catch(Exception e){}
    public boolean action(Event event,Object obj)
    repaint();
    return true;
    i m getting following error.
    Exception in thread "AWT-EventQueue-1" java.lang.NoClassDefFoundError: oracle/jdbc/OracleDriver
    at project.paint(project.java:23)
    at java.awt.Container.update(Container.java:1730)
    at sun.awt.RepaintArea.updateComponent(RepaintArea.java:239)
    at sun.awt.RepaintArea.paint(RepaintArea.java:216)
    at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:254)
    at java.awt.Component.dispatchEventImpl(Component.java:4031)
    at java.awt.Container.dispatchEventImpl(Container.java:2024)
    at java.awt.Component.dispatchEvent(Component.java:3803)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    this error comes when i run every jdbc applet.
    can anyone suggest any solution.

    Mintu,
    You said:
    i do have to access to jdbc driversNo, you don't. Otherwise you wouldn't be getting that error message.
    Good Luck,
    Avi.

  • Error connecting to Oracle 11g Database

    Hi All
    I am testing .NET connectivity to Oracle 11g and I am not successful for a while.
    I've tried to connect to database using library included in Oracle 10.2.0.3 Client and as a result I've got "invalid username or password" error. Then I've tried to use ORAC 11.1.0.5.10beta. I successfully connected to the server, but when I try to exec any query my program hangs.
    Both of them work correctly with Oracle 9i database.
    Also I've tried Microsoft .NET provider and it connects and executes queries fine (though 3 times slower).
    How do you think what is reason or how can I find the reason?

    Hi All
    I am testing .NET connectivity to Oracle 11g and I am not successful for a while.
    I've tried to connect to database using library included in Oracle 10.2.0.3 Client and as a result I've got "invalid username or password" error. Then I've tried to use ORAC 11.1.0.5.10beta. I successfully connected to the server, but when I try to exec any query my program hangs.
    Both of them work correctly with Oracle 9i database.
    Also I've tried Microsoft .NET provider and it connects and executes queries fine (though 3 times slower).
    How do you think what is reason or how can I find the reason?

  • Error Connecting to Oracle 9i Database

    Ok I have a semi large program and a part of it connects to an Oracle 9i databse. I am using Visual Age for Java IDE and I am getting an error of
    "java.sql.SQLException: [Microsoft][ODBC driver for Oracle][Oracle]ORA-00917: missing comma"
    Of course the prog compiles but something is wrong with the my connectivity/
    Below is my code listed below for jsut the Class that opens the Database Connection if you need further information please respond back
    Thanks
    p
    //Code Below//
    package musicmatch_library_test;
    import java.io.*;
    import java.util.*;
    import java.sql.*;
    public class SQLOutput
         private BufferedReader inFile;
         private PrintWriter sqlStream;
         private GUI g = Main.getGUIInstance();
         private FileChange fc = Main.getFileChangeInstance();
         private String url;
         protected ArrayList driveAL = new ArrayList();
         protected ArrayList folderAL = new ArrayList();
         protected ArrayList genreAL = new ArrayList();
         protected ArrayList artistAL = new ArrayList();
         protected ArrayList composerAL = new ArrayList();
         protected ArrayList albumTitleAL = new ArrayList();
         protected ArrayList trackNumAL = new ArrayList();
         protected ArrayList songTitleAL = new ArrayList();
    * SQLOutput constructor comment.
    public SQLOutput()
         super();
    * Insert the method's description here.
    * Creation date: (2/20/2003 8:28:50 PM)
    public void writeSQLFile()
         url = "jdbc:odbc:mainDb";
         String insert = "insert into LibraryInfo ";
         String begColNames = "(artistname, cdtitle, songtitle,track genre) values (";
         String endColNames = ");";
         try
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");          //load DB driver
              Connection con = DriverManager.getConnection(url,"fake", "fake"); //create DB connection
              Statement stmt = con.createStatement();                    //create instance of connection to run DB commands
                                                                               //instance of an active connection to create a Statement object
              sqlStream = new PrintWriter (new FileWriter(g.returnOpenOrSave().getParent().toString()+"/sqlWrite.txt"));
              //inFile = new BufferedReader(new FileReader(g.returnOpenOrSave()));
              //String line = inFile.readLine();
              int c =0;
              while(c!=songTitleAL.size())
                   sqlStream.println(insert + begColNames+artistAL.get(c) + ','+ albumTitleAL.get(c) + ',' + songTitleAL.get(c) +',' + trackNumAL.get(c) +',' + genreAL.get(c) + endColNames);
                   stmt.executeUpdate(insert + begColNames+artistAL.get(c) + ','+ albumTitleAL.get(c) + ',' + songTitleAL.get(c) +',' + trackNumAL.get(c) +',' + genreAL.get(c) + endColNames);
                   //line = inFile.readLine();
                   c++;
              }//end for
              //inFile.close();
              //g.returnSavedFileName().delete();          //delete saved file
              sqlStream.close();
              con.close();
              stmt.close();          
         catch(FileNotFoundException e)
              System.out.println("cant read input file");
         catch(IOException e)
              System.out.println("file error #2");
         catch(ClassNotFoundException e)
              System.out.println(e);
         catch(SQLException e)
              System.out.println(e);

    i don't think its your connection. You must be hitting the DB otherwise you would not be getting an ORA error returned wrapped in an SQLException. I think its your pseudo-SQL, it simply says that you are missing a comma in an update string. Realistically, it could be that it is being misled into looking for a comma, probably because you have put a ';' at the end of your update string...

  • Connecting to Access 97 Database sporatically freezes my application, why?

    I have a program written in LabView 5.1 that interfaces with a DB to gather test data. This program was functioning fine for about 2 years and then all of a sudden started to have problems. There were no updates to the DB that I know of. The DB resides on a networked drive, the same one that it resided on for the 2 years it worked. Now I can sometimes (very rarely) get the test data from the DB without freezing. I have traced the program through and found that it is freezing on the SQLCIN.vi. This .vi is used in almost ever SQL function but it fails when the Connect.vi is using it. I have noticed that inside one of the Where Loops the DSN will not get passed to the Connect.vi about 3 times
    and then it finally get's passed and finds the data. The connect will not fail when there is no DSN specified but if it is going to fail it will only do so if the DSN was succesfully passed in. Even with the DB residing locally this problem persists. I have also downloaded and example that someone posted to this site of how tO access a .MDB file and performing several Reads with this sample program that freezes as well. I suspect that it may be drivers that are the problem, I am running on an NT4.0 SP5 machine, MDAC v1.5

    I haven't used the SQL Toolkit in a couple of years. I converted to LabSQL when I had similar problems. There's a couple of things you might try. First, if you don't do it on a regular basis, try compacting the Access Database or try some queries on a new database with only a small number of records. Second, try reinstalling Access. I had a couple instances where the local installation had gotten corrupted somehow. I also remember a problem with one of the NT service packs. You could try installing SP6 to see if that makes a difference. Lastly, MDAC 1.5 is pretty old. The latest version is 2.8 ubt I would try the other things first.

Maybe you are looking for

  • Disconnecting the credit card from my apple id

    Is there any posibility to not to link any of the crdit cards for apple id. Because i want to give my credit card info when iam purchasing apps at app store at that momoent. help me.....

  • Problem in moving to next record in  For Loop end loop construct

    Hi friends i have the followind code in my stored proc. I am reading each row in the temprec and then based on the variable "i_copy_notes" processing the record. If the value of the I_copy_notes" varialble is 1 then i need to move to next record. whe

  • Digital Cinema Desktop ?

    The option under view, for the Digital Cinema Desktop, is grayed out, I can't select it. I have an iMac and no monitors or camera connected. Any thoughts as to why I can't playback in full screen? Tom

  • How I detect mouse wheel movement?

    I never use this for now, and I want to intercept mouse wheel movement (up or down) for to change animation panels (divs) or to make another actions. Is not for a scroll of a large stage or div, it's only for to know when the user use the mouse wheel

  • Firefox won't open...keep getting "404 not found" WHY? HELP

    firefox won't open...keep getting "404 not found" WHY? HELP