Documaker 12.1 - ODBC - SQL Setup Error - Need  Help

Hi
We are facing issues while trying to checkout/read the resources from the SQL tables. We are getting an error "An error occured getting the file". We use "ODBC" driver for connecting to SQL database and the ODBC test connection seems to run succesfully. This doesn't seems to be a connectivity issue as we are able to see that the resources are listed in IDE.
Studio somehow is not able to read/load the data from the application data table. Do we need to set-up any access privileges for the database and tables to enable the DMStudio to access it.
Thanks in Advance.

Hi,
When you run the Create New Workspace wizard in Documaker Studio and select your DBMS type it tries to deploy the tables through our ODBC connection.
If successful it will then create the workspace with some minumum resources and query for other info like Font Cross-reference file, etc. and when done you have a complete workspace which includes INI, DFD configuration files specific to your choice of DBMS type. This workspace and it configuration files (e.g. fsiuser.ini, fsisys.ini, deflib\carfile.dfd, etc.) are needed for access to the workspace properly.
If the wizard is unsuccessful (for reasons such as permissions, access, etc.) it will let you generate a DDL and pass it off to the qualified personnel but it expects you to either leave the studio running and continue from there or to re-run the create workspace to complete the task and configuration. If you stop at the DDL stage and don't complete the task but try and use internal defaults for the configuration files the resource may appear to deploy but they will not load upon studio preview or attempt by the publishing engine to process with them because the internal configuration does not use the appropriated datatype for the database. This situation would be classified as improper or incomplete workspace creation.
I suspect you hit this problem. Going back and configuring a workspace to just talk to the database is not appropriate and can have undefined results.
Hope this helps,
-Steve

Similar Messages

  • Windows Setup Error, Need Help

    so i just tried to install what i think was XP home edition on my MacBook. I picked the partitioned boot camp disk to install it to, and all went well until the setup was complete. After setup was finished copying files, my computer rebooted and came to a black screen that read something like "press any key to boot from disk. . . . ." then it displayed a message something like "disk error, press any key to restart." so i pressed a number of keys but nothing happened. i couldn't eject the disk or get anything to happen so i had to do a cold shut down. I rebooted and when it came to the black screen again i pressed a key before the error popped up and it took my directly back to the windows setup.
    so basically im stuck going through the setup. although now i cant get past the part that asks you which disk to copy windows to, because its already been setup on the boot camp disk. i cant eject the windows CD or figure out how to get back to the mac OS.
    Im pretty bad at computers so any help would be great, its either this or i take it to an apple store. Does anyone know what might be causing this problem?
    Thanks.

    Two things you might try. After turning the power off, hold down the switch below the scroll pad when you reboot. This should eject the install disk. Alternatively, when you start to do a cold boot after powering down, hold down the option key. You should eventually see icons for the possible operating systems. With the arrow keys move the cursor to the MacOS operating system, and then hit the return key. This should boot you in Leopard.

  • Acrobat Error - need help! - Acrobat 9 Pro

    When I try to open an acrobat files my it trys to Open EVERY acrobat file on my computer and does so until I get the following message
    "There was an error opening this document.  The maximum number of files are already open.  No other files can be opened or printed until some are closed"
    Then I have to force quit.
    This just started happending a few months ago
    I am on a Mac OSX
    I need help!  Any suggestions?
    Debbie

    I  have a 10.5.8
    I am not that technical so not sure what you mean about applejack etc.
    Thanks for helping!
    Debbie
    Date: Sat, 10 Apr 2010 13:03:28 -0600
    From: [email protected]
    To: [email protected]
    Subject: Acrobat Error - need help! - Acrobat 9 Pro
    What version of OS X? Some people have luck by clearing their caches. This can be done with Applejack in 10.5. Onyx will work in SL.
    >

  • HP LaserJet Pro MFP M125nw Driver Setup Error - Please Help - I can't Use My Printer

    Hi,
    I have just bought a new HP LaserJet Pro MFP M125nw Printer. But I can not install it. I can't use it, even one page written document.
    This is the error when setup appears:
    Please help me...

    Hi @NafirKeyh ,
    I see that you are experiencing issues installing the printer on Windows 7. I would really like to be able to help you resolve this issue.
    Try these steps to see if it will resolve the issue. Disabling the Startup programs and temporarily turn off the Antivirus Software should prevent any interference during the installation.
    Fatal Error 'Error 1603. A fatal error occurred during installation' (MSI Error 1603) Displays Durin...
    How is the printer going to be connected? (USB/Ethernet/Wireless)
    If you need further assistance, just let me know.
    Have a nice day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Exception error, Need Help!

    Need help!
    Why my java program work well under C:\, but can't under D:\Java today? It worked well even yesterday. I had tried the "Hello World", it can not work under D:\Java either.
    when I enter the "java d:\java\Hello" order(after javac of cause), those displays are here:
    Exception in thread "main" java.lang.NoClassDefFoundError: d:\java\Hello
    Caused by: java.lang.ClassNotFoundException:d:\java\Hello
    at java.net.URLClassLoader$1.run<URLClassLoader.java:200>
    at java.security.AccessController.doPrivileged<Native Method>
    at java.net.URLClassLoader.findClass<URLClassLoader.java:188>
    at java.lang.ClassLoader.loadClass<ClassLoader.java:306>
    at sun.misc.Launcher$AppClassLoader.loadClass<Launcher.java:276>
    at java.lang.ClassLoader.loadClass<ClassLoader.java:251>
    at java.lang.ClassLoader.loadClassInternal<ClassLoader.java:319>
    The Hello.java has no problem,and it worked well even yesterday!
    I just don't know what had happened.
    Someone who can help me please reply or email at [email protected]
    Thank you!

    The simple "Hello World" can work under Editplus, but can't under DOS.
    The error appears as the same. I don't know what I should do, could you tell me please?
    Thank you!First test whether environment variables had been set properlyor not
    To test :-
    1) Open cmd
    2) type java
    3) If it runs that means you have set it properly
    Then go to your program directory i.e d:\java\
    and type
    javac Hello.java //to compile it and then
    java Hello //To run it

  • General exception error need help!

    Experts,
    i am facing this problem. i connect to the net by proxy (through office Lan). none of the java applets work for me. Need help
    Java Plug-in 1.5.0_08
    Using JRE version 1.5.0_08 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\mkrishna
    network: Loading user-defined proxy configuration ...
    network: Done.
    network: Loading direct proxy configuration ...
    network: Done.
    network: Proxy Configuration: No proxy
    basic: Cache is enabled
    basic: Location: C:\Documents and Settings\mkrishna\Application Data\Sun\Java\Deployment\cache\javapi\v1.0
    basic: Maximum size: unlimited
    basic: Compression level: 1
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    basic: Registered modality listener
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@872380, refcount=1
    basic: Registered modality listener
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@872380, refcount=2
    basic: Registered modality listener
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@872380, refcount=3
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter@15212bc
    basic: Loading applet ...
    basic: Initializing applet ...
    basic: Starting applet ...
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter@97a560
    basic: Loading applet ...
    basic: Initializing applet ...
    basic: Starting applet ...
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter@1ea5671
    basic: Loading applet ...
    basic: Initializing applet ...
    basic: Starting applet ...
    basic: httpCompression = true
    network: Connecting http://150.101.78.39/dsmapp/catalog/classes/liste.jar with proxy=DIRECT
    network: Connecting http://150.101.78.39/dsmapp/catalog/classes/ZoneFavoris.class with proxy=DIRECT
    network: Connecting http://150.101.78.39/dsmapp/catalog/classes/ZoneFavoris.class with proxy=DIRECT
    network: Connecting http://150.101.78.39/dsmapp/catalog/classes/Outline.class with proxy=DIRECT
    network: Connecting http://150.101.78.39/dsmapp/catalog/classes/ZoneFavoris/class.class with proxy=DIRECT
    network: Connecting http://150.101.78.39/dsmapp/catalog/classes/ZoneFavoris/class.class with proxy=DIRECT
    load: class ZoneFavoris.class not found.
    java.lang.ClassNotFoundException: ZoneFavoris.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    basic: Exception: java.lang.ClassNotFoundException: ZoneFavoris.class
    java.lang.ClassNotFoundException: ZoneFavoris.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    basic: Modality pushed
    basic: Modality pushed
    basic: Modality pushed
    basic: Modality popped
    basic: Modality popped
    basic: Modality popped
    basic: Modality pushed
    basic: Modality pushed
    basic: Modality pushed
    basic: Modality popped
    basic: Modality popped
    basic: Modality popped
    network: Connecting http://150.101.78.39/dsmapp/catalog/classes/Outline/class.class with proxy=DIRECT
    load: class ZoneFavoris.class not found.
    java.lang.ClassNotFoundException: ZoneFavoris.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    basic: Exception: java.lang.ClassNotFoundException: ZoneFavoris.class
    java.lang.ClassNotFoundException: ZoneFavoris.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    basic: Modality pushed
    basic: Modality pushed
    basic: Modality pushed
    basic: Modality popped
    basic: Modality popped
    basic: Modality popped
    load: class Outline.class not found.
    java.lang.ClassNotFoundException: Outline.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    basic: Exception: java.lang.ClassNotFoundException: Outline.class
    java.lang.ClassNotFoundException: Outline.class
         at sun.applet.AppletClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.applet.AppletClassLoader.loadCode(Unknown Source)
         at sun.applet.AppletPanel.createApplet(Unknown Source)
         at sun.plugin.AppletViewer.createApplet(Unknown Source)
         at sun.applet.AppletPanel.runLoader(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
         at sun.applet.AppletClassLoader.getBytes(Unknown Source)
         at sun.applet.AppletClassLoader.access$100(Unknown Source)
         at sun.applet.AppletClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 10 more
    basic: Modality pushed
    basic: Modality pushed
    basic: Modality pushed
    basic: Modality popped
    basic: Modality popped
    basic: Modality popped

    Hi
    I think you need to configure proxy for the JRE
    If you are using windows Go to control panel , you will find an icon called java plugin. if you have installed multiple JRE you will find multiple icons . Select the one which is configured to browser.
    You will find a proxies tab in that window , add the proxy details there
    Hope this helps you
    Vijay

  • PL/SQL error, need help!

    Hello,
    I have a piece of Java code that errors out with an "ORA-01850: hour must be between 0 and 23" error. The get_alerts stored procedure returns no results (blank). Once it calls getObject(1), the error is thrown. There doesn't seem to be any issues with the PL/SQL code and I can't identify a data issue, either.
    callableStatement = connection.prepareCall("begin ? := utl_mas.get_alerts(?); end;");
    callableStatement.registerOutParameter(1, OracleTypes.CURSOR);
    callableStatement.setInt(2, memUID);
    callableStatement.execute();
    resultSet = (ResultSet) callableStatement.getObject(1); <----- ERROR
    This error makes no sense to me. I am stumped! Any help is appreciated.

    This error makes no sense to me.
    SQL> alter session set nls_date_format = 'dd-mon-yyyy hh24:mi:ss'
      2  /
    Session altered.
    SQL> select to_date('02-nov-2007 24:00:00')
      2  from dual
      3  /
    select to_date('02-nov-2007 24:00:00')
    ERROR at line 1:
    ORA-01850: hour must be between 0 and 23
    SQL> select to_date('02-nov-2007 23:59:59')
      2  from dual
      3  /
    TO_DATE('02-NOV-2007
    02-nov-2007 23:59:59
    SQL> select to_date('02-nov-2007 00:00:00')
      2  from dual
      3  /
    TO_DATE('02-NOV-2007
    02-nov-2007 00:00:00
    SQL> Cheers, APC
    Blog : http://radiofreetooting.blogspot.com/

  • Giving error in pl/sql while truncating need help

    Hi Gurus,
    I have a procedure to execute 5 truncate statements which is oftenly giving the error like "resource busy and acquire with nowait". I do not know the root cause of this. I tried with changing the scheduling time for that procedure eventhough it is giving the same error. Please suggest me. Advance Thanks.

    Simple answer, some other process has a lock on the table and you are not allowed to truncate the table.
    You can search the forum for the script to see who/what has the lock on the table. Here is one:
    Table locks
    There are a ton of threads related to like issues if you search for them.

  • Scholar92 - Strange error Need help please

    Lecori Salutem
    The program I have a problem with is supposed to extract info from a DB. It extracts the info perfectly but I cannot access the info with my get commands from other classes.
    When i fire the program it says " [Ljava.lang.String;@1ba34f2 ". Can anyone help me to solve this problem please.
    ////////CODE STARTS HERE
    import java.sql.*;
    import javax.swing.*;
    /** Description:
    *  Die program word gebruik om al die metadata en paths wat getabuleer is
    *  op die Music DB te access en te stoor.
    *  @author Benni( [email protected])
    public class SQLImport
        private Connection connSQL;
            int tel = 2; // ID in SQL tabel begin by "2"
            String [] tName = new String [100];
    String [] tArtist = new String [100];
    String [] tGenre = new String [100];
    String [] tMood = new String [100];
    String [] tPath = new String [100];
    String [] tJavaPath = new String [100];
    String [] tID = new String [100];
    String [] tTime = new String [100];
    public SQLImport( )
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    connSQL = DriverManager.getConnection("jdbc:odbc:DRIVER={Microsoft Access Driver (*.mdb)};DBQ=Music.mdb");
    JOptionPane.showMessageDialog(null, "Connection Successfully Established", "Notification",JOptionPane.INFORMATION_MESSAGE);
    catch (Exception sqlConnectionFailed)
    JOptionPane.showMessageDialog(null, sqlConnectionFailed, "ERROR:",JOptionPane.ERROR_MESSAGE);
    Statement statement = null;
    try
    statement = connSQL.createStatement( );
    catch (SQLException statementERROR)
    JOptionPane.showMessageDialog(null,statementERROR, "ERROR:",JOptionPane.ERROR_MESSAGE);
    char optionChoice;
    do
    optionChoice = getMenuChoice();
    if(optionChoice == 'A')
    try
    String querySQL = "SELECT * FROM tbl_ListedMusic ORDER BY ID ;";
    System.out.println(querySQL);
    ResultSet resultSet = statement.executeQuery(querySQL);
    while (resultSet.next( ))
    tID[tel] = resultSet.getString("ID");
    tName[tel] = resultSet.getString("TrackName");
    tArtist[tel] = resultSet.getString("TrackArtist");
    tTime[tel] = resultSet.getString("TrackTime");
    tGenre[tel] = resultSet.getString("TrackGenre");
    tMood[tel] = resultSet.getString("TrackMood");
    tJavaPath[tel] = resultSet.getString("TrackJavaPath");
    tPath[tel] = resultSet.getString("TrackPath");
    tel++;
    catch (SQLException infoImportError)
    JOptionPane.showMessageDialog(null,infoImportError, "ERROR:",JOptionPane.ERROR_MESSAGE);
    while (optionChoice != 'X');
    //NB! Strings are " " chars are ' '
    public String[ ] gettID( )
    return tID;
    public String[ ] gettName( )
    return tName;
    public char getMenuChoice( )
    String menu = "A) Import .mp3 info \n X) Exit";
    char choice = JOptionPane.showInputDialog(menu).toUpperCase( ).charAt(0);
    return choice;
    public static void main (String [ ] args)
    SQLImport sql = new SQLImport( );
    String [ ] blah = new String [10];
    blah = sql.gettID();
    System.out.println(blah);
    //Code ENDS
    How do I resolve the " [Ljava.lang.String;@1ba34f2   "  ? Much apreciated
    Regards,
    Bennu                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    This forum is about the Messaging Server email server and related products. I think you have posted this question in the wrong forum.

  • Failed to connect Error - Need Help, Please

    I installed , created the simple "Hello" program and it ran fine on the simulator.
    Then, I click the run OTA and now I'm in deep yogurt!
    I get the message:
    *** Error ***
    Failed to connect to device 0!
    Reason:
    Emulator 0 terminated while waiting for it to register!
    BUILD SUCCESSFUL (total time: 4 seconds)
    I just want to restore things to what they were before I selected Run OTA. I've been reading for the past 3 hours and haven't found out to restore. I even deleted and re-installed but, still get the same meassge (probably some saved java pref file...). Anyway, HOW TO RESTORE to a virgin setup????
    Thanks

    ... I read somewhere I need to reboot - I did and it took care of it.

  • Ssis package error need help to fix it. though disabled all triggers and droped all the foreign keys and truncated tables on pipeline constraints.

    [PartyName1 [6672]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
    An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0"  Hresult: 0x80004005  Description: "Transaction (Process ID 1414) was deadlocked on lock resources with another process and has been chosen as the
    deadlock victim. Rerun the transaction.".

    you need to provide Details about your package like what is source/destination.. any SQL query/where is the exact deadlock point.
    Please check the following links which may help you.
    http://blogs.technet.com/b/fort_sql/archive/2011/12/12/get-rid-of-deadlocks.aspx
    http://msdn.microsoft.com/en-us/library/ms191242.aspx
    Let us TRY this |
    My Blog :: http://quest4gen.blogspot.com/

  • SQL Statement error - Kindly help!

    Been scratchin my head but still can't figure why it's failing ..Trying to populate the space usage for the relevant tablespaces: Get the below error. Kindly advice?
    column free_space_mb format 9999999.999
    column allocated_mb format 9999999.999
    column used_mb format 9999999.999
    column tablespace format a12
    column filename format a20
    select ts.name tablespace, trim(substr(df.name, 1,100)) filename,
    df.bytes/1024/1024 allocated_mb,
    ((df.bytes/1024/1024) - nvl(sum(dfs.bytes)/1024/1024,0)) used_mb,
    nvl(sum(dfs.bytes)/1024/1024,0) free_space_mb
    from v$datafile df left outer join dba_free_space dfs
    on df.file# = dfs.file_id join v$tablespace ts
    on df.ts# = ts.ts#
    on df.name# = ts.name#
    and ts.name='DATA_TS'
    or ts.name='INDEX_TS'
    or ts.name='LOB_TS'
    group by ts.name, df.name, dfs.file_id, df.file#, df.bytes
    order by filename;
    ERROR at line 8:
    ORA-00933: SQL command not properly ended

    Hi,
    user568296 wrote:
    select ts.name tablespace, trim(substr(df.name, 1,100)) filename,
    df.bytes/1024/1024 allocated_mb,
    ((df.bytes/1024/1024) - nvl(sum(dfs.bytes)/1024/1024,0)) used_mb,
    nvl(sum(dfs.bytes)/1024/1024,0) free_space_mb
    from v$datafile df left outer join dba_free_space dfs
    on df.file# = dfs.file_id join v$tablespace ts
    on df.ts# = ts.ts#
    on df.name# = ts.name#
    and ts.name='DATA_TS'
    or ts.name='INDEX_TS'
    or ts.name='LOB_TS'
    group by ts.name, df.name, dfs.file_id, df.file#, df.bytes
    order by filename;
    ERROR at line 8:
    ORA-00933: SQL command not properly endedOn line 8 there is a 2nd ON clause for the same join. "AND" in place of "ON" would make syntaic sense, but filenames in v$datafile are usually superstrings of tablespace names in v$ablespace. That is, if ts.name (no # at the end) is 'DATA_TS', then df.name might be 'D:\ORACLE\ORADATA\DEVELOPMENT\DATA_TS01.DBF'.
    I don't think you need that condition at all. Try:
    select    ts.name                    tablespace,
           trim (substr (df.name, 1, 100))      filename,
           df.bytes/1024/1024                    allocated_mb,
           ( ( df.bytes / 1024 / 1024)
           - nvl ( sum (dfs.bytes) / 1024 / 1024
                  , 0
           )                         used_mb,
           nvl ( sum (dfs.bytes) / 1024 / 1024
               , 0
               )                         free_space_mb
    from                     v$datafile          df
    left outer join      dba_free_space          dfs     on     df.file#     = dfs.file_id
    join                   v$tablespace          ts     on     df.ts#          = ts.ts#
    --                                   AND     df.name          = ts.name     -- AND, not ON
                                       and     ts.name          IN ( 'DATA_TS'
                                                         , 'INDEX_TS'
                                                         , 'LOB_TS'
    group by  ts.name,
                 df.name,
           dfs.file_id,
           df.file#,
           df.bytes
    order by  filename;It's a bad idea to mix AND and OR at the same level in the same query. In this case, you can use the IN operator to avoid the need for OR. In other situations, use parentheses to isolate the ANDs from the ORs.

  • POST errors need help

    Can any one tell me what the POST error of 2 beeps pause 1 beep is realted to? The system begins to boot flashes video, video shuts off, cmos info flashes shuts off and give post error.

    Use just one stick of RAM in a green slot. Reset the Bios and be sure the machine is not pluged in when you do those things.
    Remove all unneeded hardware so that you don't have stuff in the box when you try to boot that is not needed to post.
    Find out which Bios you have when the screen first comes up.
    You need to know which CPU core you have. If it is a Clwhammer, Newcastle or Winchester then you need Bios version 3.3 If it is a San Diego, Venice or X2 then you need Bios version 9.1.
    Now that you have a system with the correct Bios you can then install your RAM in slots 2 and 4. You should then get a post into dual channel mode.
    Set in Bios first - Optimized Defaults. Make sure that you do not skip this step.
    Now setup the Bios to match the gear in the box. No overclockinmg as yet.
    Now get Windows cleanly installed with any drivers you may need.
    Now you are ready to install those other items you have in your hot little hands. One at a time.

  • Database Connection Error - Need Help

    I have a Crystal Reports report that "stopped working".  When I preview the report, I receive a Database Connection error.  I have a copy of the error posted at http://www.foreigncandy.com/crystalreportserror.jpg.
    Anyone have any ideas what's causing this?  We are new to SAP and Crystal Reports.
    Thanks
    Jeff Verdoorn - Systems Analyst
    The Foreign Candy Company, Inc.

    I'm not sure what database version you are looking for.  it's Crystal Reports 2008 version 12.
    Could it be a a problem with the setup of an item?
    Here's the SQL query:
    -- Create temporary table variable
    DECLARE @LineQuantities TABLE
         DocEntry int,
         DocDate datetime,
         ItemCode varchar(20),
         Quantity numeric(19,6),
         Last4WeekSales numeric(19,6),
         Last12WeekSales numeric(19,6),
         Week1Sales numeric(19,6),
         Week2Sales numeric(19,6),
         Week3Sales numeric(19,6),
         Week4Sales numeric(19,6),
         Week5Sales numeric(19,6),
         Week6Sales numeric(19,6),
         Week7Sales numeric(19,6),
         Week8Sales numeric(19,6),
         Week9Sales numeric(19,6),
         Week10Sales numeric(19,6),
         Week11Sales numeric(19,6),
         Week12Sales numeric(19,6)
    -- Fill table with list of invoice items and the week they were sold
    INSERT INTO @LineQuantities (DocEntry,DocDate,ItemCode,Quantity,Last4WeekSales, Last12WeekSales,
         Week1Sales,Week2Sales,Week3Sales,Week4Sales,Week5Sales,Week6Sales,Week7Sales,Week8Sales,Week9Sales,Week10Sales,
         Week11Sales,Week12Sales)
    SELECT invHead.DocEntry, invHead.DocDate, invLine.ItemCode, invLine.Quantity,
         CASE
              WHEN invHead.DocDate > DateAdd(Week,-4,GetDate()) AND invHead.DocDate <= DateAdd(Week,-0,GetDate()) THEN invLine.Quantity
              ELSE 0
         END AS 'Last Week 4 Sales',
         CASE
              WHEN invHead.DocDate > DateAdd(Week,-12,GetDate()) AND invHead.DocDate <= DateAdd(Week,-0,GetDate()) THEN invLine.Quantity
              ELSE 0
         END AS 'Last Week 12 Sales',
         CASE
              WHEN invHead.DocDate > DateAdd(Week,-12,GetDate()) AND invHead.DocDate <= DateAdd(Week,-11,GetDate()) THEN invLine.Quantity
              ELSE 0
         END AS 'Week -12 Sales',
         CASE
              WHEN invHead.DocDate > DateAdd(Week,-11,GetDate()) AND invHead.DocDate <= DateAdd(Week,-10,GetDate()) THEN invLine.Quantity
              ELSE 0
         END AS 'Week -11 Sales',
         CASE
              WHEN invHead.DocDate > DateAdd(Week,-10,GetDate()) AND invHead.DocDate <= DateAdd(Week,-9,GetDate()) THEN invLine.Quantity
              ELSE 0
         END AS 'Week -10 Sales',
         CASE
              WHEN invHead.DocDate > DateAdd(Week,-9,GetDate()) AND invHead.DocDate <= DateAdd(Week,-8,GetDate()) THEN invLine.Quantity
              ELSE 0
         END AS 'Week -9 Sales',
         CASE
              WHEN invHead.DocDate > DateAdd(Week,-8,GetDate()) AND invHead.DocDate <= DateAdd(Week,-7,GetDate()) THEN invLine.Quantity
              ELSE 0
         END AS 'Week -8 Sales',
         CASE
              WHEN invHead.DocDate > DateAdd(Week,-7,GetDate()) AND invHead.DocDate <= DateAdd(Week,-6,GetDate()) THEN invLine.Quantity
              ELSE 0
         END AS 'Week -7 Sales',
         CASE
              WHEN invHead.DocDate > DateAdd(Week,-6,GetDate()) AND invHead.DocDate <= DateAdd(Week,-5,GetDate()) THEN invLine.Quantity
              ELSE 0
         END AS 'Week -6 Sales',
         CASE
              WHEN invHead.DocDate > DateAdd(Week,-5,GetDate()) AND invHead.DocDate <= DateAdd(Week,-4,GetDate()) THEN invLine.Quantity
              ELSE 0
         END AS 'Week -5 Sales',
              CASE
              WHEN invHead.DocDate > DateAdd(Week,-4,GetDate()) AND invHead.DocDate <= DateAdd(Week,-3,GetDate()) THEN invLine.Quantity
              ELSE 0
         END AS 'Week -4 Sales',
         CASE
              WHEN invHead.DocDate > DateAdd(Week,-3,GetDate()) AND invHead.DocDate <= DateAdd(Week,-2,GetDate()) THEN invLine.Quantity
              ELSE 0
         END AS 'Week -3 Sales',
         CASE
              WHEN invHead.DocDate > DateAdd(Week,-2,GetDate()) AND invHead.DocDate <= DateAdd(Week,-1,GetDate()) THEN invLine.Quantity
              ELSE 0
         END AS 'Week -2 Sales',
         CASE
              WHEN invHead.DocDate > DateAdd(Week,-1,GetDate()) AND invHead.DocDate <= DateAdd(Week,-0,GetDate()) THEN invLine.Quantity
              ELSE 0
         END AS 'Week -1 Sales'
    FROM OINV AS invHead
         LEFT JOIN INV1 AS invLine ON invLine.DocEntry = invHead.DocEntry
    -- Create summary report from temporary table
    SELECT itm.ItemCode AS 'Item No.', itm.ItemName AS 'Item Description', itm.OnHand AS 'In Stock',
         itm.IsCommited AS 'Qty Ordered by Customers', itm.OnOrder AS 'Qty Ordered from Vendors', itm.LeadTime AS 'Lead Time',     
         CASE
              WHEN (Sum(sales.Last4WeekSales)/4) > Sum(sales.Last12WeekSales)/12 THEN Convert(int,(itm.OnHand/(Sum(sales.Last4WeekSales)/4)))
              ELSE  Convert(int,(itm.OnHand/(Sum(sales.Last12WeekSales)/12)))
         END AS 'Weeks of In Stock',
         Convert(numeric(8,2),(Sum(sales.Last4WeekSales)/4)) AS '4 Week Sales Average', Convert(numeric(8,2),(Sum(sales.Last12WeekSales)/12)) AS '12 Week Sales Average',
         Convert(varchar(10),Convert(numeric(8,2),(100*((Sum(sales.Last4WeekSales)/4) - (Sum(sales.Last12WeekSales)/12)) / (Sum(sales.Last12WeekSales)/12)))) + ' %' AS 'Percent Change',
         Convert(int,Sum(sales.Week1Sales)) AS 'Week -12 Sales', Convert(int,Sum(sales.Week2Sales)) AS 'Week -11 Sales', Convert(int,Sum(sales.Week3Sales)) AS 'Week -10 Sales',
         Convert(int,Sum(sales.Week4Sales)) AS 'Week -9 Sales', Convert(int,Sum(sales.Week5Sales)) AS 'Week -8 Sales', Convert(int,Sum(sales.Week6Sales)) AS 'Week -7 Sales',
         Convert(int,Sum(sales.Week7Sales)) AS 'Week -6 Sales', Convert(int,Sum(sales.Week8Sales)) AS 'Week -5 Sales', Convert(int,Sum(sales.Week9Sales)) AS 'Week -4 Sales',
         Convert(int,Sum(sales.Week10Sales)) AS 'Week -3 Sales', Convert(int,Sum(sales.Week11Sales)) AS 'Week -2 Sales', Convert(int,Sum(sales.Week12Sales)) AS 'Week -1 Sales'
    FROM @LineQuantities AS sales
         LEFT JOIN OITM AS itm ON itm.ItemCode = sales.ItemCode
    WHERE sales.Quantity > 0
    GROUP BY itm.ItemCode, itm.ItemName, itm.OnHand, itm.IsCommited, itm.OnOrder, itm.LeadTime
    ORDER BY itm.ItemCode
    Thanks
    Jeff

  • JDBC - mmMySQL error need help

    hi,
    i hope somebody can help me. I installed mmMySQL its an JDBC driver
    and as i tried to make a query with ORDERBY fieldname ASC i got an
    error:
    Syntax error or Access violation you have an error in your SQL syntax
    near xxx.
    Heres a code snippet would be thankfull for any help
    public static void showToplist(PrintStream printstream)
    String username="root";
    String password="mosesistdoof";
    String toplist="";
    int position;
    try
    Connection con =
    DriverManager.getConnection("jdbc:mysql://localhost/Chat?user="+
    username+"&password="+ password);
    Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery("SELECT * FROM user ORDERBY
    Punktzahl");
    rs.next();
    stmt.close();
    con.close();
    position=0;
    String Toplist=TemplateReader.JITTmpl("top", "chat");
    printstream.println(Toplist.substring(0,
    Toplist.indexOf("§toplist§")));
    while(rs.next())
    position++;
    printstream.println("<td width=\"15%\"><b><font
    color=\"#0000ff\">" + Integer.toString(position) + "</td><td
    width=\"41%\"><b><font color=\"#0000ff\">" + rs.getString("Username")
    + "</font></b></td><td width=\"44%\"><b><font color=\"#0000ff\">" +
    rs.getString("Punktzahl") + "</font></b></td>");
    printstream.println(Toplist.substring(Toplist.indexOf("§toplist§")
    + 4, Toplist.length()));
    catch(Exception MySQLException)
    System.out.println("SQLException: " +
    MySQLException.getMessage());

    Hi Gidror,
    You need to use "ORDER BY" clause instead of "ODERBY".
    Regards,
    Slava Imeshev
    "Gidror" <[email protected]> wrote in message
    news:[email protected]..
    hi,
    i hope somebody can help me. I installed mmMySQL its an JDBC driver
    and as i tried to make a query with ORDERBY fieldname ASC i got an
    error:
    Syntax error or Access violation you have an error in your SQL syntax
    near xxx.
    Heres a code snippet would be thankfull for any help
    public static void showToplist(PrintStream printstream)
    String username="root";
    String password="mosesistdoof";
    String toplist="";
    int position;
    try
    Connection con =
    DriverManager.getConnection("jdbc:mysql://localhost/Chat?user="+
    username+"&password="+ password);
    Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery("SELECT * FROM user ORDERBY
    Punktzahl");
    rs.next();
    stmt.close();
    con.close();
    position=0;
    String Toplist=TemplateReader.JITTmpl("top", "chat");
    printstream.println(Toplist.substring(0,
    Toplist.indexOf("§toplist§")));
    while(rs.next())
    position++;
    printstream.println("<td width=\"15%\"><b><font
    color=\"#0000ff\">" + Integer.toString(position) + "</td><td
    width=\"41%\"><b><font color=\"#0000ff\">" + rs.getString("Username")
    + "</font></b></td><td width=\"44%\"><b><font color=\"#0000ff\">" +
    rs.getString("Punktzahl") + "</font></b></td>");
    printstream.println(Toplist.substring(Toplist.indexOf("§toplist§")
    + 4, Toplist.length()));
    catch(Exception MySQLException)
    System.out.println("SQLException: " +
    MySQLException.getMessage());

Maybe you are looking for

  • Web cam code clarification

    Hi Saw this code listed on another site <img height=310 alt="Plymouth Webcam" src="C-Cheeta%20WEATHER_files/plymouth.jpg" width=412 border=2><BR> I'm assuming that this "web cam image" is simply a jpeg that is refreshed at a specific time interval??

  • Compatible  smart view version 11.1.2.1 with microsoft office 2010 x64

    Hello, My name's Antonio Marcos and i'm trying install smart view version 11.1.2.1 in version x64 the microsoft office 2010. The documentation, says its compatible, but when installing an error occurs. Anyone know how to solve this problem?

  • How to remove a FLVPlayback Instance?

    Hi...after searching everywhere it seems as though the best way to avoid multiple problems with playing multiple FLV's in sequence is to remove the FLVPlayback instance and then reattach one. Problem is....how do you do it...ha! I attach it to a mc u

  • Startup problem since updating to 10.5.8

    Mac pro 2 x 2,66 GHz, Nividia Geforce 7300 GT, 2 Displays, cinema 20" and Eizo Flex Scan 30" Since updating to 10.5.8. I have a start up problem, the mac starts very slowly,often when the desktop is build up on the main display, I get strange pattern

  • System Using Load Balancing

    Hi gurus, we have to do sso to ECC through portal we have ECC system with three instance ,i am going for  creating SAP System using Load Blancing, what is the value of server port should i enter. regards K Naveen Kishore.