Lost ODBC Connection from development environment

Using LV 7.1 and an Active-X based ODBC Connection scheme to a MySQL database which has worked flawlessly up until now.  I've just written an application which accesses the database to generate a 'recipe' for our operators to follow.  This is poked into a multicolumn listbox, and works perfectly from the compiled version.  However, when I'm running the very same program in the development envirnment, I will get an error which indicates I have lost the connection to the database.  Never happened from the built versions, and yes, I'm running exactly the same code.  This is irritating, as when I'm trying to debug the SQL pieces, the code crashes.  Happily, the compiled versions are working, but it makes me nervous when programs crash like this.
I am doing a listbox refresh every 60s or so, which involves accessing the database, reading a large chunk and displaying it. Im' also doing an ODBC conncetion check every 2s, and possibly some other database access depending on the operator input.  MySQL is set up so that I can have 100 threads open at once, and I never approach that.  I always open, do command, then close and destroy connections. 
All I can think of is that there is a difference in the timing and the database access between the developement environment and the compiled versions.
Any thoughts anyone? 

Hi,
Yes, that is exactly what I have done.  Built the executable which runs without problems.
I've also tried to strip the program down by simply running the piece which polls the database continually. This seemed to run fine until I ran another program which also accessed the same database. So, to summarize:
1.  The development environment program with single loop running accessing the database every 2s or so runs fine.
2.  The dev. env. app. running multiple loops possibly accessing the db concurrently crashes
3.  The same program as 2 but built into an application runs fine.
MSB

Similar Messages

  • Connectting from developer 6 to 8.1.6

    I am trying to install developer 2000 version 6 on the same server where oracle 8.1.6 resides. Can anybody help me how to establish connection from developer suite to the database? That will be great help.
    null

    Initialize x in onLoad
    onClipEvent (load) {
    accel1 = 0.8;
    rate1 = 0.1;
    trace(_x);
    _root.xkoord1 = 0;
    x = 0
    Lon Hosford
    www.lonhosford.com
    Flash, Actionscript and Flash Media Server examples:
    http://flashexamples.hosfordusa.com
    May many happy bits flow your way!
    "Euclides" <[email protected]> wrote in
    message
    news:e7unk6$4kg$[email protected]..
    > The next code works fine with Flash Player 6 and Action
    Script 1 but I'm
    > trying
    > to get it work on Flash Player 8 and Action Script 2.
    >
    > Any help, thanks in advance.
    >
    >
    > onClipEvent (load) {
    > accel1 = 0.8;
    > rate1 = 0.1;
    > trace(_x);
    > _root.xkoord1 = 0;
    > }
    > onClipEvent (enterFrame) {
    > x = x*accel1+(_root.xkoord1-_x)*rate1;
    > _x = _x+x;
    > if (Math.abs(_root.xkoord1-_x)<1) {
    > _x = _root.xkoord1;
    > }
    > }
    >

  • ODBC: connect from oracle to filmaker pro 7 to extract data

    sorry for the cross post, i posted this in th ODBC forum, but that's in the windows.net subhead, so idunno.
    here is is again:
    we have a filemaker pro server and some of the data needs to be imported weekly into an oracle database.
    my understanding is this can be done and it is roughed out in the "FileMaker 7 ODBC and JDBC Developer's Guide"...available here if anyone is interested:http://filemaker.custhelp.com/cgi-bin/filemaker.cfg/php/enduser/std_adp.php?p_faqid=5337
    however, i know nothing about oracle, but i don't need to since there are people on staff to deal with that. i am presenting this connection option as the best way for the oracle guys here to get the data they need. the other option is for them (non-filemaker savvy people) doing exports and importing them into oracle. they don't want to do this because they don't like filemaker. i believe this whole process would be easier if i keep the oracle guys in what they know and love, oracle. once the extract was properly set up it could be done as cron job. all done.
    so my question is, how would one accomplish this?
    broad strokes that i could give to the oracle people to direct them.
    i figure they could build a small custom app to do this, but i have no idea what is involved with that. or, perhaps the oracle application has the ability to run scripts?
    any pointers would be helpful.
    thanks!

    You can use Filemaker's built-in ODBC capability to push data from the FMP database into Oracle. Then you as a FMP developer can take responsibility for getting the data into Oracle and the Oracle guys don't have to deal with FMP at all.
    You will need an ODBC driver for Oracle, and an ODBC DSN configured for connecting to the Oracle database. Then you will need to write a simple FMP script that traverses the FMP records you want to push and generate a SQL string that you pass to the Execute SQL script step. Here is an example:
    Go to Record/Request/Page [First]
    Loop
    Execute SQL [No dialog; DSN: myDSN;
    Calculated SQL Text: "UPDATE products_description
    SET products_viewed=" & myFMPDatabase::Products_Viewed
    & " WHERE products_id=" & myFMPDatabase::Products_ID]
    Go to Record/Request/Page [Next; Exit after last]
    End Loop
    This assumes that you have an account with write access to the Oracle database, you understands its schema, and have enough knowledge of SQL to write simple INSERT / UPDATE statements.
    Jonathan Monroe
    Actual Technologies - ODBC for Mac OS X
    http://www.actualtechnologies.com
    [email protected]

  • Error Page shown while runnning a Test page from Development environment

    Hi,
    I have set the development environment for JDeveloper with OA Extension.
    I completed the setup steps for "You are Customer,Consultant or Support Rep".
    I have created a new Database Connection for the DB server and obtained "Success" status on clicking "Test Connection" buton in the Dtabase Connection wizard.
    When I run the Test JSP(Tutorial.jpr),I get an error page.
    It shows following exception with a lengthy stack trace.
    oracle.apps.fnd.framework.OAException:
    Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-01003: no statement parsed
    A reply about solution for this issue would be of great help.
    Thanks,
    Gowtam

    FYI,
    Could not lookup message because there is no database connection
    Thanks

  • Creating or copying application express users from development environment

    Hello,
    Hope someone can answer my question soon.
    I am kind of new to the application express development and to Oracle database too ( about 8 month). I developed an application on development environment at my work. Now it's time to deploy this application to test and production environment. This application is secured so I had an ACL page were I setup 2 users that they can view and edit data, and I setup myself as an admin for this application.
    I succsessfully deployed the application on the test and production environment but I cannot login and not other users. How do I setup or to copy same users from Development to production environment.
    I am using apex 3.0.1 and database 10g.
    on Development I have workspace called development and the schema is DEV. For production I have a workspace called production and the schema called prod. So I am dealing with different 2 workspaces and 2 different schemas but one database instance.
    Thank you in advance for your assistance.
    Kind Regards,
    Sofia.
    Edited by: user633945 on Oct 15, 2008 3:36 PM

    Hello,
    APEX has a utility to export the workspace and the users. In the application, go to export/import --> export --> workspace users (this is not the default view, and you’ll need to choose it). This will generate a SQL script you can import into the source instance.
    In general, it’s best to keep the same environment in the development (test) and production instances – The same workspace ID, name, and application ID. These are pre-condition to be allowed to import single page/components between the instances. Otherwise you will have to import the entire application, each time you need to update the application.
    In case you can’t maintain the same environment in your instances, you’ll need to manually edit the exported script. If the workspace already exist, you need to delete the ‘Workspace’ section. Then you’ll need to edit the user details, setting the default schema correctly.
    Hope this helps,
    Arie.

  • Ingres ODBC connectivity from AIX

    Post Author: iwakley
    CA Forum: Data Integration
    We were using BODI 11.5.1.5 with DataDirect Connect V5.1 and the Ingres 32bit ODBC driver which was all working ok.
    To get over a problem with handling "smart quote" characters (as inserted by MS Word/Excel) from a SQL Server data source in an Oracle UTF8 destination we had to upgrade to BODI 11.7.3.2 and DataDirect Connect64 V5.2. We have installed the Ingres 64bit ODBC driver and updated the odbc.ini to reference the 64bit driver rather than the 32bit version but this doesn't work. Using the Ingres tools we can test ODBC connectivity to the database and this all seems to be working. The problem seems to be that the DataDirect Connect64 ODBC Driver Manager is unable to load the Ingres 64bit ODBC driver. Has anyone out there managed to get this working?

    Post Author: iwakley
    CA Forum: Data Integration
    We were using BODI 11.5.1.5 with DataDirect Connect V5.1 and the Ingres 32bit ODBC driver which was all working ok.
    To get over a problem with handling "smart quote" characters (as inserted by MS Word/Excel) from a SQL Server data source in an Oracle UTF8 destination we had to upgrade to BODI 11.7.3.2 and DataDirect Connect64 V5.2. We have installed the Ingres 64bit ODBC driver and updated the odbc.ini to reference the 64bit driver rather than the 32bit version but this doesn't work. Using the Ingres tools we can test ODBC connectivity to the database and this all seems to be working. The problem seems to be that the DataDirect Connect64 ODBC Driver Manager is unable to load the Ingres 64bit ODBC driver. Has anyone out there managed to get this working?

  • ODBC connection from Oracle to PostgreSQL

    Hello All,
    I need to connect from Oracle 10g to PostgreSQL.
    Oracle 10.2.0.1 Standard Edition on Windows NT and PostgreSQL on another server.
    I have some docs that say what to do (configuring the hsodbc etc), but 'am not sure on what all things to be installed(and where)
    Where do i get the ODBC DRIVER for postgreSQL?
    Is plsqlODBC(http://www.postgresql.org/ftp/odbc/versions/) the driver ?
    Does oracle provide any driver (Generic ODBC driver ?, if so where do i get it from ? i have searched oracle dowload)
    Do i need to install these ODBC drivers on both Oracle as well as PostgreSQL servers ?
    TIA,
    JJ

    Oraqcle does NOT probvide any "generic" odbc driver nor an ODBC driver that can connect to any other foreign database. Oracle only provides an ODBC driver for Oracle.
    Have a look at: http://www.postgresql.org/download/products/2
    it contains all necesary info.

  • PostgreSQL ODBC connection from Crystal reports, currency domain

    Hello,
    I'm attempting to get Crystal reports working with PostgreSQL with an
    ODBC connection, via psqlODBC. I can successfully establish the
    connection easily. However, I have a domain called "currency", that
    handles currency values:
    CREATE DOMAIN currency
    AS numeric(10,2);
    ALTER DOMAIN currency OWNER TO manager;
    fields of currency appear as "strings" in Crystal reports, and they
    lack fixed precision ( the value 1.00 appears as 1, for example). Why
    might this be? How can I get it to appear as a numeric type, which I
    can find the sum of, etc?
    Thanks,
    Sternocera

    If the currency field is appearing as a string in the crystal then you can convert it to currency by creating a formula using the function CCur().
    Try creating a formula like this
    CCur({currency field})
    Now you can calcualte the sum on this formula.
    Regards,
    Raghavendra

  • ODBC connect from Oracle to MySQL!

    Dear All,
    I know its not very much related to the subject of this forum but DBA's often have to perform such tasks.
    I am in process of developing replication between Oracle and MySQL. For this I have planned to create materialized views in oracle that query MySQL database.
    I am using Oracle 11gR1 on Linux for Oracle Server and MySQL is on windows based server version is 5.1.
    I am stuck at the very first step that is to create a database link between Oracle and MySQL.
    On Oracle's server, I did the following:
    Installed unixODBC rpm (Installed successfully)
    Installed mysql-connector-odbc (Installed successfully)
    when i write this command odbcinst -j it gives the following information
    unixODBC 2.2.11
    D|RIVER........... : /etc/odbcinst.ini ; (my comments : Files exists)
    SYSTEM DATA SOURCE : /etc/odbc.ini (my comments : File exists )
    USER DATA SOURCE : /root/.odbc.ini (my comments : File DO NOT exists)
    Now i tried to add the following entry in the file /etc/odbc.ini
    [bssdata]
    Driver = MySQL ODBC 3.51 Driver
    DATABASE = bssdata
    DESCRIPTION = views_on_bssdata
    PWD =
    PORT = 3306
    SERVER = 192.168.0.68
    UID = root
    Now when i try to check the connectivity with the command:
    isql -v bssdata root
    Error: data source name not found, and no default driver specified.
    ERROR: Could not SQLConnect
    Anyone have tried this before, please help me out of it.
    Regards, Imran

    Hope these links help you :
    http://www.pythian.com/news/1554/how-to-access-mysql-from-oracle-with-odbc-and-sql/
    http://sysinfo.bascomp.org/2008/03/setting-oracle-heterogenous-service-mysql-to-oracle/
    http://www.idevelopment.info/data/Oracle/DBA_tips/Heterogeneous_Services/HETERO_2.shtml
    http://www.dba-oracle.com/t_heterogeneous_database_connections_sql_server.htm
    Regards
    Rajesh

  • Invalid session : connecting from developer 6i to sql server 2000

    Hi ,
    I am facing the following problem for connecting to sql server
    2000 from oracle forms 6i.
    Oracle developer 6i(form builder 6.0.8.11.3)
    sql server 2000
    o/s windows 2000 server
    plus80.exe <username>/<password>@odbc:<dsn_name>
    SQL*Plus: Release 8.0.6.0.0 - Production on Tue Oct 24 17:36:56
    2000
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    ORA-00022: invalid session id; access denied
    Error accessing PRODUCT_USER_PROFILE
    Warning: Product user profile information not loaded!
    You may need to run PUPBLD.SQL as SYSTEM
    Server not available or version too low for this feature
    ORA-00022: invalid session id; access denied
    Connected to:
    Oracle Open Client Adapter for ODBC 6.0.5.29.0
    Microsoft SQL Server 08.00.0194
    SQL>
    pls help
    Thanks in advance
    Yogesh

    Hello ,
    this forum must have a attachment option , so it very easy for others to update their development
    Now how can i paste the procedure it have 6 - 8 pages and when i paste it, the words merge or join with others word, it become very difficult to read,,
    anyhow
    mail me i send the document
    [email protected]

  • JDBC-ODBC connectivity from JSP page

    hi
    i am trying to connect a jsp page with database using jdbc-odbc driver. i have created a dsn with the name 'test' that connects to a database 'test' in SQL server. the following lines has been added to the web.xml file placed in the \WEB-INF folder
    <context-param>
    <param-name>
    javax.servlet.jsp.jstl.sql.dataSource
    </param-name>
    <param-value>
    jdbc:odbc:text, sun.jdbc.odbc.JdbcOdbcDriver
    </context-param>
    i have also placed the rt.jar file in the \WEB-INF\lib folder. but, when i run the jsp page and ty to make any database interaction, an expection occurs
    java.lang.ClassNotFoundException : sun.jdbc.odbc.JdbcOdbcDriver
    please help

    I think you need to download the JDBC/ODBC driver jar file into your project. For example, if you need a JDBC driver for the Oracle database, you search google for 'oracle jdbc driver'. Its driver is something like classes14.jar. I suggest you create and test your database connection pool in a servlet so you will have an easier time debugging any issues in getting it to work.
    Also, as the previous post points out, JSP is for displaying data and submitting user input back to the servlet. Put all your business logic in the servlet, put any data you get from the database in request scope by the servlet, dispatch to the JSP page so it can be displayed. This is a crude example. For a better design read up on MVC (Model View Controller) design.

  • Lost wireless connection from WRT54G

    I've been using my wireless router for about a year without issue, but now I can no longer connect wirelessly. I'm on a MAC OS 10. I am able to connect wired.
    I've used the article "Encountering difficulty connecting a wireless computer/s to the Internet when connected to a Linksys router" and when I try to check the router's settings via IP, I get a 'no results' response.
    Thanks!  

    Thanks for the help. My MAC is not recognizing my wireless router. I can see other wireless routers in my neighborhood, but not mine. I've reset both the moden and router, as well as rebooted my MAC. Even if I hardwire the router to my computer I can't go online. I can if I connect directly through the modem via Ethernet. The IP for the router matches from the device to the settings on my MAC, but still it does not find it.

  • Deploye to QA (test) from development environment

    Hello all,
    I have a project (main dw project name) with multiple folders, each folder represents a project (like data mart and other file processing with different functionality of the DW).
    I am having the problem is deploying to QA(test) environment, which should be all codes as in development.
    Could you please let me know how do I do the export and import on the folder and related objects (variable and KM).
    I did try with folder only, but missed all variables(over 20) and all KM (around 10), now I need to do the export on these 30 files.
    Is it possible to this individual folder to be migrated through solutions,
    any help would be greatly appreciated.
    Thanks,

    Hello Bhabani,
    what is smart export/import, and how do I do that and what it does?
    Yes, if i do drag the complete project to the solution then it will take all component associated with it (variable/folder/km etc)
    But I want only one folder the project has multiple folders, I am looking for a method to deploy one folder with all related objects (variables and KMs)
    any help would be greatly appreciated.
    thanks

  • Can a SQL view see data from an ODBC connection?

    Hi.  I currently have an application that pulls data from a custom SQL view in my SQL database.  This custom application can not be changed, so it expects to see the data exactly as presented by my custom SQL view.  This works fine
    when the data resides in SQL, but I am not sure if it is possible when the data resides outside of SQL.  I’d like to connect to another type of database via an ODBC connection from my SQL database, and still utilize my custom SQL view.  I would prefer to NOT
    use the SQL database as a warehouse, and simply use it to pass data.
    Is this possible?   Thank you for reading.

    Hi Robet,
    According to your description, you want to create view in SQL Server to pass data from OBDC database to custom application, right?
    In this case, we can create linked server to access an ODBC database when you are using an ODBC data source. Linked servers can use the OLE DB Provider for ODBC without using an ODBC data source. You can refer to the link below to see the details.
    http://technet.microsoft.com/en-us/library/ms191462(v=sql.105).aspx
    Regards,
    Charlie Liao
    TechNet Community Support

  • Unable to establish a connection to Oracle 9I database from Developer Forms

    I've installed the Oracle 9I database in the Windoes NT server with SID = ORA9i. Using the SQL*plus coming with oracle 9I database, I can connect to the database. I've also installed the Developer with Forms 6I and Reports 6I in the same computer. I tried to establish a connection to the Oracle 9I from Developer through "Oracle Net8 Easy Config". After giving the settings, when I do a connection test, it is giving the error "TNS Could not resolve the Service Name".
    the following is the entry in the 'tnsnames.ora' file
    TEST9I.WORLD =
    (DESCRIPTION =
    (ADDRESS_LIST = ((PROTOCOL = TCP)(Host = ntserver)(Port = 1521))
    (CONNECT_DATA = (SID = ORA9i))
    Can somebody tell me how to make a connection from Developer (Forms6I and Reports 6I) to Oracle 9I database.
    Thank you.

    hi matz,
    i tried this one too, but it is not working. giving the same error. if i've making a connection thru the 'Oracle Net8 easy config', it is giving the following error at time of connection test.
    The test did not succeed.
    ORA-03106: fatal two-task communication protocol error
    There may be an error in the fields entered
    or the server may not be ready for a connection.
    You can check the server and retry, or continue.
    this is the message i'm getting. but i couldn't find any error in the fields i entered.
    if i'm editing the 'tnsnames.ora' file and make the connection, and when i open the Form builder and try to connect to the database, it is giving a memory error.
    the instruction at "0x67614f04" referenced memory at "0x000000160". The memory could not br "written".
    i don't know why it is happening. i can connect from the same forms to Oracle 8i database. is there any additional settings we need for Oracle 9i on windows platform?
    regards
    george

Maybe you are looking for

  • Using a "tv-tuner" card as video in

    We're a television station using Skype for on-air interviews as well as with one of our employees who does traffic reports out of her home office every morning.   Here at the station, we need to integrate the "camera" into our system so the other per

  • Exception in thread "main" java.lang.Error: Unable to find named traits: org.puremvc.as3.multicore.p

    Hi all, i try  to  use  pfi with a  project that i did with  air  in flash builder. I make my swf with ant  task     <target name="releasecompile" depends="init">     <echo>               Ant Task :: releaseCompile     </echo>         <java jar="${MX

  • 3GS pausing automatically however i play my music

    1st off i have read the other discussions and none of them seem to get my problem right. i use my iphone to play music;- through bluetooth in my car through the built in speakers while im in work on my docking station that use the big hole underneath

  • Can't run adobe application manager

    When clic on botton : open creative app on safari I receive a message saying I can't run adobe application manger. If I ask details it gives me a long list including this : KERN_INVALID_ADDRESS at 0x0000000000000025 What to do? Thanks

  • EF Extender 2x III teleconverter

    I am considering getting the Canon EF Extender 2x III to use with my Canon EF 100-400mm f/4.5-5.6 L IS USM lens.  I can't afford the Canon 800mm L lens, so I am thinking of the teleconverter.  In reading reviews I have seen some that say it is very s