"catastrophic failure" in Teststand database viewer using mySQL

Hello all,
I am using Teststand 3.1 and mySQL version 5.0.3 I have everything set up and teststand seems to be logging results to the database. The reason I say this is because I can see the data using a mySQL query browser. The problem is when I try to use the Teststand database viewer I get a "Catastrophic Failure". I right click on a field from the database and say view data and I get the failure. Any ideas on what this problem is and/or how to fix it?
Thanks in advance.
EHat

EHat -
I just debugged this problem last week using MYSQL source for their ODBC driver. This appears to be a bug in their ODBC driver.
Basically the MS DataGrid control is trying to access catalog info from a handle that has not yet been connected to the database. Internally in MYSQL a function table is null and a dereference occurs which causes an access violation. Even though the MS control should be better behaved, the MYSQL driver should be returning an error if the table is null, not crashing.
For the next version of TestStand we will workaround this problem. I have an updated DatabaseViewer that you can try attached to this posting.
Scott Richardson
National Instruments
Attachments:
DatabaseViewer.zip ‏138 KB

Similar Messages

  • Dreamweaver 8 errors on Application - Databases - Viewing Table (MySQL)

    I have the database setup for DW8 to use and it works it just gives me errors when I go into Application-Databases and open up a table to inspect the keys inside it.
    Dreamweaver 8.0.2 with CF8extensions
    Coldfusion 8,0,1,195765
    mysql 5.0.67
    win2000pro sp4
    It pops up "SQL type not recognized: "int unsigned"
    Also it gives tells me "Required" text next to each key in the table

    xmousex wrote:
    > I completely mirrored this setup on a windows 2000 pro
    machine and had zero
    > problems getting it all hooked up and running in about
    15 minutes. Given that
    > no one here has demonstrated having even a clue on the
    answer, I'm going to
    > conclude that Dreamweaver and Mysql do not work together
    on windows XP home.
    You're free to come to that conclusion, but you would be
    totally wrong.
    David Powers
    Author, "Foundation PHP for Dreamweaver 8" (friends of ED)
    Author, "Foundation PHP 5 for Flash" (friends of ED)
    http://foundationphp.com/

  • JOB execution fails due to Access failure to procedures and views using certificates (encryption)

    Job execution fails using SQLServerAgent account but runs successfully under another windows personal account.
    Both have same security access on server and DB.
    The Windows account is mapped to dbo on the database .
    The package uses procedures and views which are using encryption by certificates.
    Please advice on how to provide security so that job runs from the agent

    Hi Prady26,
    If the SQL Server Agent Service account and the proxy account generated based on a Windows user account have the same permissions on both the SQL Server database and the File System of the server, it may be related to the protection level of the package.
    If the package is set to encrypt with UserKey, the job will fail unless it runs under the security context of the Windows user that designs the package in BIDS/SSDT. You can check the
    ProtectionLevel of the package in the BIDS/SSDT to see if it is EncryptSensitiveWithUserKey or EncryptAllWithUserKey, if it is, re-deploy/reinstall the package and set the package protection
    level to “Relay on server storage for encryption”.
    If the issue persists, post the error message in the job history for further analysis.
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • What is the use of Database View, maintenace , projection and Help view

    hello friends,
    I created tables..and set check table relation.
    how to create Database View, maintenace , projection and Help view
    phani

    Hi,
    have a look at this.
    4 type of views
    database
    maintainance
    help
    projection view
    check this link as well
    (https://forums.sdn.sap.com/click.jspa?searchID=9904886&messageID=4885135)
    Database views are implemented with an equivalent view on the database.
    Projection views are used to hide fields of a table (only projection).
    Database views should be created if want to select logically connected data from different tables simultaneously.
    Database views implement an inner join.
    Application programs can access the data of a database view using the database interface. (Just as we write select queries on database tables, we can write them for views as well.)
    Includes in Database Views
    An entire table can be included in a database view. In this case all the fields of the included table will become fields of the view (whereby you can explicitly exclude certain fields).
    To include one of the tables in the view, enter character * in field View field, the name of the table to be included in field Table and character * again in field Field name on the View fields tab page of the maintenance screen of the view.
    You can also exclude individual fields of an included table. If you do not want to include a field of the included table in the view, enter - in field View field, the name of the included table in field Table and the name of the field to be excluded in field Field name.
    Inserts with Database Views
    If a database view contains only one single table, data can be inserted in this table with the view .
    You have the following options for the contents of the table fields not contained in the view:
    If the field is defined on the database with NOT NULL as initial value, the field is filled with the corresponding initial value.
    If the field is defined on the database as NOT NULL without initial value, an insert is not possible. This results in a database error.
    If the field is not defined on the database as NOT NULL, there will be a NULL value in this field.
    A maintenance view permits you to maintain the data of an application object together.
    The maintenance status determines which accesses to the data of the underlying tables are possible with the maintenance view.
    Read only: Data can only be read through the view.
    Read, change, delete, insert: Data of the tables contained in the view can be
    changed, deleted, and inserted through the view.
    Read and change: Existing view entries can be changed. However, records
    cannot be deleted or inserted.
    Read and change (time-dependent views): Only entries whose non-time
    dependent part of the key is the same as that of existing entries may be
    inserted.
    Maintenance View ( SE54 )
    You can use a maintenance view to maintain data, which is distributed over several tables, at the same time.
    Maintenance views enable a business-oriented approach to looking at data, while at the same time, making it possible to maintain the data involved. Data from several tables can be summarized in a maintenance view and maintained collectively via this view. That is, the data is entered via the view and then distributed to the underlying tables by the system.
    Creating maintenance View:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ecdf446011d189700000e8322d00/frameset.htm
    regards,
    vipul

  • How to delete a record in Database View?

    HI All,
    I have created a Database  View using tables LIKP,LIPS,VBUK,VBUP.
    In that view I am getting a extra record which is not exit in any tables
    but its getting in database view.
    I tried buffer memory refresh and even tried SE16n , SE11(thro CODE(DELE))..But record has not been
    deleted.
    Plz suggest wat shud i have to do to delete the record.
    Thanks in advance and help realy appriciate.
    Regards
    Steve

    >
    Steve Johnson wrote:
    > In that view I am getting a extra record which is not exit in any tables
    > but its getting in database view.
    Your intention should be in search of the root of that extra record. Not the deleting it without knowing anything.
    Sure, You have put join conditions correctly?
    Cheers

  • Issue When Creating a Database View

    Hi
           I am trying two join two tables using a database view through SE11 and this tables are related to SAP HR.
          As per the requirement we need to create a table join using SQVI in which  we are facing a issue where the transaction  is freezed as as we create a
          Table join using SQVI.
          So..
          Is their any alternative method to join two tables in HR ABAP apart from SQVI.
          When I try to create a DATBASE VIEW  in SE11  it says no relation exists even there is one primary key in both the tables.
          Can we do this using SE11 or is there any other way two join these tables or infotypes..for ex how we join p0008 and p0002
          I am new to this pls help me.(Sry for posting ths in ABAP DEV)..

    Hi,
    there is a difference between database tables and structures. Structures do no exist in the database, they are just a grouping of fields in ABAP dictionary. P0002 ans P0008 are structures that do not contain any data by definition.
    You can create SQVI quick view or database view using database tables PA0002 and PA0008.
    Check if all join conditions can be used in your case, you may change or delete join conditions using right-mouse-click.
    Regards
    Clemens

  • Diff  between maintence and database views

    pls  answer now,its urgent

    Hi
    Database Views
    Data about an application object is often distributed on several database tables. A database view provides an application-specific view on such distributed data.
    Database views are defined in the ABAP Dictionary. A database view is automatically created in the underlying database when it is activated.
    Application programs can access the data of a database view using the database interface. You can access the data in ABAP programs with both OPEN SQL and NATIVE SQL. However, the data is actually selected in the database. Since the join operation is executed in the database in this case, you can minimize the number of database accesses in this way. Database views implement an inner join (see Inner and Outer Join).
    If the database view only contains a single table, the maintenance status can be used to determine if data records can also be inserted with the view. If the database view contains more than one table, you can only read the data.
    Database views should be created if want to select logically connected data from different tables simultaneously. Selection with a database view is generally faster than access to individual tables. When selecting with views, you should also ensure that there are suitable indexes on the tables contained in the view.
    Maintenance View:
    Maintenance views offer easy ways to maintain complex application objects.
    Data distributed on several tables often forms a logical unit, for example an application object, for the user. You want to be able to display, modify and create the data of such an application object together. Normally the user is not interested in the technical implementation of the application object, that is in the distribution of the data on several tables.
    A maintenance view permits you to maintain the data of an application object together. The data is automatically distributed in the underlying database tables. The maintenance status determines which accesses to the data of the underlying tables are possible with the maintenance view.
    All the tables in a maintenance view must be linked with foreign keys, that is the join conditions for maintenance views are always derived from the foreign key  You cannot directly enter the join conditions as for database views.
    There are some restrictions for the attributes of the foreign keys with which the tables in a maintenance view can be linked
    A standardized table maintenance transaction is provided (SM30), permitting you to maintain the data from the base tables of a maintenance view together.
    Maintenance mechanisms, like screens and processing programs, must be created from the view definition with the transaction Generate Table View (SE54). This makes it possible to create easy-to-use maintenance interfaces in a simple manner.
    If it is helpful rewards points
    Reagards
    Pratap.M

  • Error in ADF-BC Database view instead of insert trigger

    I received the following errors when trying to insert. Any help or hint will be greatly appreciated.
    JBO-26041: Failed to post data to database during "Insert": SQL Statement "BEGIN INSERT INTO DEV_EQMT_HISTORY_BY_CODE(ID,D_E_ID,STATUS_KEY) VALUES (?,?,?) RETURNING ID, ROWID INTO ?, ?; END;".
    ORA-22816: unsupported feature with RETURNING clause ORA-06512: at line 1
    The followings are the tables and view I used:
    create table device_eqmt (
    id number(6),
    code varchar2(40)
    alter table device_eqmt
    add (constraint device_eqmt_pk primary key (id));
    create table device_eqmt_history (
    id number,
    d_e_id number(6),
    status_key number(6),
    alter table device_eqmt_history
    add (constraint device_eqmt_history_pk primary key (id));
    alter table device_eqmt_history
    add ( constraint device_eqmt_hist_de_id_fk
    foreign key (d_e_id)
    references device_eqmt(id)
    CREATE TRIGGER dev_eqmt_hist_bi
         BEFORE INSERT ON device_eqmt_history
    FOR EACH ROW
    BEGIN
    SELECT SHARED_SEQ.nextval
    INTO :new.ID
    FROM dual;
    END;
    create view dev_eqmt_history_by_code
    as select h.id,
    h.d_e_id,
    de.code,
    h.status_key
    from device_eqmt_history h, device_eqmt de
    where h.d_e_id = de.id
    CREATE OR REPLACE TRIGGER dev_eqmt_hist_by_code_insert
    INSTEAD OF INSERT ON dev_eqmt_history_by_code
    REFERENCING NEW AS n
    FOR EACH ROW
    DECLARE
    deid number;
    BEGIN
         SELECT de.id INTO deid FROM device_eqmt de WHERE de.code = :n.code;
         INSERT INTO device_eqmt_history (id, d_e_id, status_key)
         VALUES (:n.id, deid, :n.status_key);
    END;

    The Oracle database doesn't support the returning clause for database views using instead-of triggers. ADF BC inherently includes the returning clause, if in a relating EO you have the refresh-after-insert or refresh-after-update property set on for an attribute.
    Hope this helps.
    CM.

  • Can we poll for database view

    Can we poll for database view using Datbase Adapter?
    Thanks
    Vivek.

    It is recommended NOT to use triggers, without going into too much detail this link provides a very good examples of why not to use triggers
    http://www.oracle.com/technology/oramag/oracle/08-sep/o58asktom.html
    The reason the adapter provides functionality for polling is for the very reason of no dependency in the source system.
    cheers
    James

  • Error in extracting data from SAP using mySQL server database

    Hello Experts.
    We are now using MySQL server 2005 database for Nakisa OrgChart. We have already configured the SAPExtractor settings. Source-SAP has been provided and Test connection to destination database is successful. We manually created the database ExtractedData and AnalyticData in the MySQL management studio.
    We are getting the error upon starting the extraction
    Processing Function Read Table Function/BAPI Downloading Tables Organizational Assignment
    No Tables were downloaded for Read Table Function/BAPI . Function is flagged as critical.Terminating Extraction.
    Processing Stopped ! ! !
    Downloading from SAP completed.
    Processing Completed. 
    From CDS.log
    ERROR: Sap Authentication : Source {SAP.Connector}: Message {An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)}
    We would appreciate some assistance on this configuration
    Thanks,
    Angelo
    Accenture inc.
    SAP Basis

    Hello Luke,
    We have not done any modification of the downloadschema file. We receive message: The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.  when we open the file.
    The SAP account we used has SAP_AlLL, SAP_NEW authorizations. Are these authorizations sufficient to perform the data extraction?
    Thanks,
    Angelo

  • How to create ssas cube by using MySQL Database

    please tell me step by step process to create ssas cube by using MySQL database in my system, i have Sqlserver 2008 enterprise edition and MySql5.0

    There is an OLEDB provider for MySQL which you can get from here
    https://cherrycitysoftware.com/ccs/Providers/ProvMySQL.aspx otherwise you can also use SSIS to push the data straight into the Analysis Services database without needing to stage it in SQL Server. Also, as you can load data into AS using XMLA you could
    also write your own loader to extract data using ODBC and push it into AS using XMLA, essentially what I suspect SSIS does. However those latter solutions don't allow you to create a database on top of MySQL because you need an OLEDB (or .net) provider for
    that.
    In the simplest case, install the OLEDB provider and then in AS create a Data Source connection using that provider. Once you have done that you should be able to create a Data Source View using that connection enabling you to import the schema definitions
    for the tables/views in the MySQL database. From there you build dimensions and cubes etc. about which there is plenty of information on the web.
    http://bi-logger.blogspot.com/

  • Can we use MYSQL database with the UI5 application?

    Hey,
    I want to make an SAPUI5 application and there i have to use database to save the data.
    Then, i will retrieve the data from there. Can we use MYSQL as a database to save the data.
    If yes, then how we will retrieve the data from there?
    Regards
    VAIBHAV JAIN

    Hi Yury,
    There's a lot of new technologies in order to acchieve that. You could create this app components:
    1. Persistence layer. Hibernate/JPA connected to Relational ER Model in MySQL.
    2. Service layer. Restful Services. With Spring (Getting Started · Building a RESTful Web Service), Jersey (Jersey), etc.
    3. View Layer. SAPUI5. Consume your services.
    Hope this helps,
    Kind regards!

  • Using database views in ADF mobile client application

    Hi,
    I am using Jdeveloper 11.1.1.4 and WLS 10.3.4.
    I have developed a POC in ADF mobile client application both with and without synchronization. However, both work with entity objects based on tables.
    I need to use database views instead of tables. When I try to include entity object (based on views) in the view object, it shows an error saying "Only the entity objects based on tables can be selected"
    Please guide me if there is a work around for this.
    Also, please let me know if there is way to develop an ADF mobile client application skipping the use of entity objects at all and using view objects directly to specify the database query and fetch data from the database.
    Thanks in advance.
    Ansh
    Edited by: ansh on Mar 28, 2011 5:40 AM

    Hi, Ansh:
    Currently, out of box, ADF Mobile Client does not support synchronization against Database Views. This is because Mobile Server imposes some schema restrictions to ensure synchronization with multi-table views would work correctly. This schema restriction requires, for example, the view must have a primary parent table with key defined, and also all base table must be included in the data publication. These dependencies requires manual resolution and advanced planning, and is managed outside of the ADF Mobile Client/JDeveloper project.
    To continue development, you would need to create server Entity Objects directly against the base tables. You can then create the mobile ADF Business Component (EOs, VOs, etc). You can then create View Objects in your ADF Mobile Client application based on the database views, in order to retrieve the data you need exactly. In other words, instead of basing EO on the database view, create View Objects in the mobile applicaiton to mimic what you had in the View Object.
    Is there any other reason why you would need to access data via database views, instead of directly against base tables?
    Thanks,
    Joe Huang

  • Include or create a view in the database and use this view?

    Well, I need to get related data of the main table from another related tables, so one way to do that is to use the Include method in Entity Framework to get this related data.
    However, I am thinking in another option, create a view in the database and use this view in entity framework. In this way, I avoid the needed of the include, because I think that is expensive in resources. But I am no very sure about that.
    I would like to know if the use of views on entity framework is a good idea to improve the performace or is better to use the include.
    For example, if I use the include I have the advantage that I get only one the main record and all the related data I have in the navigation properties, so the info is more shorted.
    Which is the advanteges and disadvantages of both methods to get related data in entity framework?
    Thank so much.

    Hello ComptonAlvaro,
    >>I would like to know if the use of views on entity framework is a good idea to improve the performace or is better to use the include.
    If your view would use a Join syntax to query master-child relationship tables, it actually is similar with the Include() method which actually results a duplicate records from master table, you could check this
    link for detail description.
    >>Which is the advanteges and disadvantages of both methods to get related data in entity framework?
    One visible difference is that records from Views are not editable by default(if you want edit them, you could refer to this
    blog).
    In your case, my suggestion that you could use the lazying load which will load the matter table once and disable the trace if you only need to display data.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Using Windows 7 Professional, as soon at I try to start a system restore, I receive error message "Incorrect function. (0x80070001)" and "Catastrophic failure (0x80000FFFF)." How can I avoid this and perform my system restore?

    Windows Explorer has stopped responding for the most part and I found http://support.microsoft.com/kb/2694911 list of solutions. After working through all of the first options on the list, I tried a system restore three different points
    but got the same two errors: "Incorrect function. (0x80070001)" and "Catastrophic failure (0x80000FFFF)."

    Hi TAS,
    Regarding the error message, I recommend you try to this :
    "0x8000ffff" error message when you try to restore a Windows 7-based computer by using System Restore
    http://support.microsoft.com/kb/2695585/en-us
    If your issue persists, let me known.
    Best regards,
    Karen Hu

Maybe you are looking for