Edit non-functional in Rel. 2 SQL Workshop Object Browser

Using IExplorer 6. Recently upgraded to HTMLDB Rel. 2. Thus far everything I've tried works fine except for the Object Browser code display and editing function.
First problem: the code display for Packages, Functions, Views etc. does not wrap.
Second problem: the edit icon does nothing. Code display is single line with red background (tried creating and then editing a view to make sure it wasn't a privilege problem). I see javascript:toggleCodeArea('e') when I mouse-over the edit button but clicking on it does nothing.
Has anyone else encountered this? Any hints on troubleshooting it?
Thanks,
Fred Pierce

I knew I should have searched on "Red Screen" 8-)
Unfortunately the AddType solution isn't working for me. The documentation isn't specific about where to add those lines, i.e. I've tried it in marvel.conf both outside and inside the definition, and in the httpd.conf file in the mime types but neither has had an effect (yes, I restart the http server each time). As others have observed, it does work in Firefox.
If you could clarify where in the marvel.conf file the AddType is supposed to go that would be helpful.
I'm having the same problem on two different systems, so whatever I'm doing wrong, I'm consistant about it.
Thanks,
fdp

Similar Messages

  • Unable to edit some functions in APEX Sql Workshop

    Hi
    Users are able to edit some procedures/functions in APEX SQL Work shop. ( Object Browser - functions - EDIT)
    When we press edit we get cursor in the code area and can edit some procedures, But for some procedures when we click edit we don't get cursor in the code area and we are not able to edit the functions/procedures.
    I am using fairfox browser.This is happening with only some. Is there any security.grants issue???
    Thanks
    Sree

    Hi
    This is happening with some procedures, For others this works fine.In IE I get red block in code area.
    EDIT is working for some procedures so I think may not be the browser issue.
    Thanks
    Sree

  • Download function in SQL Workshop - Object Browser

    I am an APEX newbie, trying to download the data from a view into a .csv file. I am doing this in SQL Workshop, in the Object Browser - I click the 'download' link at the bottom of the page and it allows me to dump the data to a .csv file - no problem. My issue is this: it is only downloading the first 500 rows. How can I tell it to download all rows?
    Thanks in advance for your help...
    Kenny

    Try this...
    In object browser,
    1. Click Data (next to Table link on top).
    2. Then click on Query.
    a. If you are selecting all rows, check on the Check All checkbox. If not select the appropriate columns.
    b. Then click Query
    3. Now you will see the Display option on the top.
    4. Select number of rows from drop down.
    5. Click Go
    6. Now download.
    Hope this helps!
    Thanks!

  • Unable to view image in HTMLDB   SQL Workshop Object Browser

    Table: DEMO_IMAGES
    Image Id:
    Image Name: Bill.JPG
    Mime Type: image/pjpeg
    Image: Unable to display page region ORA-00932: inconsistent datatypes: expected NUMBER got BLOB
    Debug:
    1: begin
    2: wwv_flow_sw_page_calls.edit_row(:OBJECT_NAME,:OB_SCHEMA,:F4500_P47_ID);
    3: end;
    Any help appreciated.. Bill

    HI,
    Check in the object browser, whether there is any group element. if all your components are grouped, then they will appear under that group. if you click on any component which is grouped the property window of the group will be displayed.
    if you want to see the propery of each individual component, in the object browser-- expand the node and double click the component to see its properties.
    hope this helps
    uma

  • What is the red block on left of Materialized View in SQL Object Browser

    Hi
    In APEX 4.0 i have a few Materialized Views - all work fine, but when I view them in the SQL Workshop Object Browser, a little red block appears on the left hand side of the MV name.
    I'm curious to know what this might mean.
    Thanks
    Mike

    Hi Jari
    That is what is puzzling me, because if I examine the Details tab of the particular MV it shows as VALID.
    The same shows when I run in SQL:-
    select status
    from all_snapshots where NAME = 'MV_NAME';
    The status is valid.
    It is not a problem - just puzzling?!
    Thanks anyway.
    Mike

  • SQL Workshop Script editor in RED..not able to see any code

    Hi,
    I have created a Package in the apex.oracle.com SQL workspace. package got created successfully.
    But when I navigate to Home>SQL Workshop>Object Browser and try to see the package spec/body content..the editor/notepad is completly RED in color.
    any idea what may be the reason??.
    Thanks,
    Deepak

    This is a [long standing problem in some browsers/configurations|http://forums.oracle.com/forums/search.jspa?threadID=&q=%22Script+editor%22+AND+RED&objID=f137&dateRange=all&userID=&numResults=15&rankBy=10001]. There's nothing you can do about it except switch to a supported browser, or use an alternative tool like [SQL Developer|http://www.oracle.com/technology/products/database/sql_developer/index.html] when working with PL/SQL.

  • Compile via object browser gives ORA-01031 insufficient privileges but...

    Hello,
    Last week I upgraded my APEX version from 2.2 to 3.01; I didn't find any problems up to now. Via the home>SQL Workshop>object browser screen, packages then edit package I modified a package. When I hit the 'compile' button, I got the message: ORA-01031: insufficient privileges.
    When I do 'alter package <package_name> compile [body]' via the home>SQL workshop>SQL commands screen the package is compile succesfully.
    To me this looks like a bug... same (apex) user, same priviliges...
    Has anybody an idea why I can't compile via the object browser screen, receiving the ORA-01031 message, but why I can compile the same package via sql-commands screen.
    The user I am logged on with in APEX is the owner of the package.
    Thanks in advance for your assistance.
    best regards,
    Jan.
    Message was edited by: jan
    J. Hulsing

    Linda,
    Connect as SYSTEM and:
    grant create procedure to XXXXXXX;
    ...where XXXXXXX is the schema name. A DBA would need to do this, of course.
    Scott

  • Selecting  views in object browser crashes IE browser

    in HTMLDB v2 navigate as follows:
    SQL Workshop > Object Browser
    in the select list (which defaults to Tables) select Views. This crashes the browser!!
    Have installed the MS script debugger and this pops up the message:
    A Runtime error has occured. Do you wish to debug?
    Line: 50
    Error: Object Required
    The problem occurs for all options in the select list which do not have any objects of that type created in the schema. (ie if no views are created then it will crash. If you then create a view this option works fine)

    Hi
    I have the exact same symptoms as described in this thread.
    I thought I had found the solution, but I use the HTTP Server that is included with Oracle RDBMS version 9.2. This config doesn't have any marvel.conf file. But I think this is the same as httpd.conf in my configuration (?). I had the AddType rows in there but they did not have any dots before "xbl" and "htc". So I changed the rows to:
    AddType text/xml .xbl
    AddType text/x-component .htc
    ... and restarted the HTTP Server but I still get the runtime error as you describe it.
    Any ideas of what to do?
    regards // Frederic

  • Edit schema objects with sql workshop

    I am trying to setup the ability for admin type user to log in via
    HTMLDB and use the sql workshop to create / change objects in
    the owning schema.
    But I can't seem to get it right.
    I have a schema, this was prexisting before HTMLDB
    BOB which contains hundreds of objects. From the outside world, the users would log in as BOB with BOB's password to trouble shoot and develop PL/SQL - say with Toad or pl/sql developer.
    We have 2 htmldb applications that run from BOB and work great (HTMLDB is great!)
    The number of people needing access to BOB has increased dramatically.
    I have created HTMLDB users that log into the BOB HTMLDB workspace and can via all the table data and the like.
    But when they go to look at PL/SQL the screen is red and there is no wrapping of lines and no scroll bar to see everything.
    So, I assumed it is priveleges - I granted everything, same thing. I ran a select user from dual from the sql scripts screen and it comes back as HTMLDB_PUBLIC_USER.
    I have tried logging into the workspace with the BOB oracle user password - won't work (invalid credentials). I created an HTMLDB BOB user and it still hits the database as HTMLDB_PUBLIC_USER.
    Is it possible somehow to "link" Bob HTMLDB user to BOB oracle user so that when the user logs into HTMLDB sql work shop (even if it is as BOB) they can edit PL/SQL, triggers etc?
    So, basically - log into the database using a database user/pass but have access to the wonderful sql work shop and utilities tools?
    I have tried messing with the DAD etc, but doesn't seem to work.
    I have checked the documentation, can't find anything.
    Help please.

    Hi,
    you have a typo there. You need a "." before the xbl and htc.
    See here for the full config:
    Alias /i/ "/u05/oracle/oraweb/marvel/images/"
    AddType text/xml .xbl
    AddType text/x-component .htc
    <Location /pls/htmldb>
      SetHandler pls_handler
      Order deny,allow
      Allow from all
      AllowOverride None
      PlsqlDatabaseUsername HTMLDB_PUBLIC_USER
      PlsqlDatabasePassword PSWD
      PlsqlDatabaseConnectString MYSERVER:MYPORT:BOBSID ServiceNameFormat
      PlsqlDefaultPage htmldb
      PlsqlDocumentTablename wwv_flow_file_objects$
      PlsqlDocumentPath docs
      PlsqlDocumentProcedure wwv_flow_file_manager.process_download
      PlsqlAuthenticationMode Basic
      PlsqlNLSLanguage AMERICAN_AMERICA.US7ASCII
    </Location>Regards,
    ~Dietmar.
    P.S.: Make sure to clear the browser cache before retrying.
    Message was edited by:
    daust_de

  • Java Stored Procedure via Function Give 0RA 600 from SQL Workshop and App

    Hi,
    Anyone experienced stored procedures or functions failing when called from APEX app or SQL Workshop ( ora 600 ) yet they work fine when called from SQLPlus?
    Sqlplus connected as my apex workspace schema owner:
    select net_services.test_db_connection_via_ldap(
    'APEXPRD1', 'test1', 'test1', null ) as result from dual;
    RESULT
    The database connection attempt was SUCCESSFUL
    From Apex Sql Worshop:
    select net_services.test_db_connection_via_ldap(
    'APEXPRD1', 'test1', 'test1', null ) as result from dual;
    ORA-00600: internal error code, arguments: [16371], [0x434B08150], [0], [], [], [], [], [], [], [], [], []
    NOTE: Same result when run in response to button push on page in application.
    Apex Version: 3.2.1.00.10
    Oracle Version: 11.1.0.7.0
    NOTE: I am using the embedded plsql gateway; was going to try NOT using it to see if it was shared server related (seemed to be from trc files)
    Any ideas?
    Since the code works from sqlplus, I know that it's good: Here some snippets
    -- ========================================================================================
    public class NetServices extends Object {
    public static String doTestDbConnectionViaLdap
    String piDbConnUrl,
    String piUserName,
    String piUserPassword
         String vResult = null;
    try
         Connection conn = null;
         OracleDataSource ods = new OracleDataSource();
         ods.setUser( piUserName );
         ods.setPassword( piUserPassword );
         ods.setURL( piDbConnUrl );
         conn = ods.getConnection();
         conn.close();
         vResult = "The database connection attempt was SUCCESSFUL";
    } catch ( SQLException e )
         int vErrCode = e.getErrorCode();
         String vErrMsg = e.toString();
              if ( vErrCode == 1017 ) {
              vResult = "The database connection attempt FAILED! Incorrect Username or Password";
         } else if ( vErrCode == 17433 ) { // Null Username or Password
              vResult = "The database connection attempt FAILED! You must provide both a Username and a Password";
         } else if ( vErrCode == 17002 ) {
              vResult = "The database connection attempt FAILED! Net Service Name was Not Found";
         } else if ( vErrCode == 17067 ) { // NULL Net Service Name
              vResult = "The database connection attempt FAILED! You must provide a Net Service Name";
         } else {
              vResult = "The database connection attempt FAILED! Error " + vErrCode;
    return vResult;
    } // method: doTestDbConnectionViaLdap
    -- ========================================================================================
    function do_test_db_connection_via_ldap
    pi_db_conn_url IN VARCHAR2,
    pi_user_name IN VARCHAR2,
    pi_user_password IN VARCHAR2
    return VARCHAR2
    is -- PRIVATE to the net_services package
    language java -- NOTE: See cr_java_class_NetServices.sql for actual java implementation
    name 'NetServices.doTestDbConnectionViaLdap
    ( java.lang.String, java.lang.String, java.lang.String ) return java.lang.String ';
    -- ========================================================================================
    function test_db_connection_via_ldap
    pi_net_service_name IN VARCHAR2,
    pi_user_name IN VARCHAR2,
    pi_user_password IN VARCHAR2,
    pi_search_base IN VARCHAR2
    return VARCHAR2
    is -- PUBLIC procedure
    v_url      VARCHAR2(256);
    begin
    g_err_source := 'NET_SERVICES.test_db_connection_via_ldap';
    g_err_action := 'build_jdbc_conn_url_using_oid';
    /*     NOTE: We don't want to assert the parameters because we don't want to raise
    an exception;
    -- Get the jdbc connection url that uses oid info
    v_url := build_jdbc_conn_url_using_oid( pi_net_service_name, pi_search_base );
    return( do_test_db_connection_via_ldap( v_url, pi_user_name, pi_user_password ) );
    end test_db_connection_via_ldap;
    -- ========================================================================================
    Thanks in advance for your consideration.
    Troy

    Troy:
    You could be right in your guess that the error is related to MTS. Search Metalink for '16371'. Why not switch your APEX app to use OHS and test whether the error persists. ?
    varad

  • Use SQL Workshop SQL Scripts function

    When I tried the following 5 steps,
    I cannot enter the ddl in the SQL editor window.
    The fact is that I cannot enter anything.
    Anyone can point out what is wrong with my procedure??????
    Thanks!
    Create the HT_EMP Table
    To create the HT_EMP table and the appropriate associated objects:
    1. Click SQL Workshop on the Workspace home page.
    2. Click SQL Scripts.
    3. When the SQL Scripts Repository appears, click Create.
    The Script Editor appears.
    4. In Script Name, enter HT_EMP
    5. In the Script Editor, enter the following DDL:
    CREATE TABLE ht_emp (
    emp_id NUMBER primary key,
    emp_first_name VARCHAR2(30) not null,
    emp_middle_initial VARCHAR2(1),
    emp_last_name VARCHAR2(45) not null,
    emp_part_or_full_time VARCHAR2(1) not null check (emp_part_or_full_time in
    ('P','F')),
    emp_salary NUMBER,
    emp_dept VARCHAR2(20) check (emp_dept in
    ('SALES','ACCOUNTING',
    'MANUFACTURING','HR')),
    emp_hiredate DATE,
    emp_manager NUMBER references ht_emp,
    emp_special_info VARCHAR2(2000),
    emp_telecommute VARCHAR2(1) check (emp_telecommute in ('Y')),
    rec_create_date DATE not null,
    rec_update_date date)
    /

    You need to upload the file to the SQL scripts area of ApEx. If you upload it to the static files area it's not going to be treated as a SQL script.
    Barring that as the problem - did you verify the contents of the script file on your workstation before you uploaded it - to make sure that the script actually contained the correct contents of the script?
    I've never had any significant problems with script uploads and running scripts in ApEx that couldn't be traced back to operator error. :>)
    Try explaining in detail the steps that you took to try to make this work - then we'll know where to start.
    Earl
    Message was edited by:
    Earl

  • Cannot Edit in Object Browser using Firefox 1.5.04

    Hello Everyone,
    I've run into a problem on my installation of XE (Windows 2000, latest patches, 1.5GB RAM). In Firefox (1.5.04), when I go into Object Browser and bring up a stored procedure or function, the code doesn't show in the editor window. I get a single dark green line at the top of the edit area, but no code displays. The edit button greys out when I click it, and all of the other buttons are unresponsive.
    I've cleared my cache, exited and restarted Firefox, and rebooted the machine, all to no effect.
    It does work okay in IE6, however. I did a forum search and found some threads about other Firefox quirks, but they all appear to be from pre-production versions of XE, and I'm running the latest version I know of: Home, Administration, About Database reports the following:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    Any ideas or pointers would be much appreciated!
    John MacLerran, Idaho State University

    Jer,
    The only extensions it shows are DOM Inspector (1.8.0.4), and Talkback (1.5.0.4). They must be defaults because I don't remember installing them.
    I removed both of those, restarted FireFox, and cleared the cache again -- that didn't change anything.
    Thanks

  • How to distinguish built-in SQL functions of PL/SQL?

    I m having a hard time to figure out which functions are used ONLY in SQL statements and which are used in regular expr(ie, variable assignment,). Can anyone show me a list of each or perhaps a URL to look for?
    I have searched through either the developer's guide and reference but couldn't find any appropriate indication in one place that make it clear.
    For instance, I thought I can use CAST function in a variable assginment like the following:
    declare
    cursor myCur is SELECT Value_varchar2(1) FROM table WHERE id = 1;
    myRec myCur%ROWTYPE;
    var_a NUMBER(1);
    begin
    OPEN myCur;
    FETCH myCur INTO myRec;
    CLOSE myCur;
    var_a := CAST(myCur.Value_varchar2(1) AS NUMBER(1));
    DBMS_OUTPUT.PUT_LINE('var_a = ' || TO_CHAR(var_a));
    end;
    . It seems like CAST function can ONLY be used in SQL statement, but no doc so far states that?!
    Edited by: HappyJay on 2010/05/12 12:05

    Sorry to bother you, Bob!
    I think I might already found the list. Is it the following list?
    ---------------------- QUOTED FROM Oracle® Database PL/SQL Language Reference 11g Release 2 (11.2)Part Number E10472-06
    SQL Functions in PL/SQL Expressions
    In PL/SQL expressions, you can use all SQL functions except:
    Aggregate functions (such as AVG and COUNT)
    Analytic functions (such as LAG and RATIO_TO_REPORT)
    Data mining functions (such as CLUSTER_ID and FEATURE_VALUE)
    Encoding and decoding functions (such as DECODE and DUMP)
    Model functions (such as ITERATION_NUMBER and PREVIOUS)
    Object reference functions (such as REF and VALUE)
    XML functions (such as APPENDCHILDXML and EXISTSNODE)
    These conversion functions:
    BIN_TO_NUM
    These miscellaneous functions:
    CUBE_TABLE
    DATAOBJ_TO_PARTITION
    LNNVL
    NVL2
    SYS_CONNECT_BY_PATH
    SYS_TYPEID
    WIDTH_BUCKET
    PL/SQL supports an overload of BITAND for which the arguments and result are BINARY_INTEGER.
    When used in a PL/SQL expression, the RAWTOHEX function accepts an argument of data type RAW and returns a VARCHAR2 value with the hexadecimal representation of bytes that comprise the value of the argument. Arguments of types other than RAW can be specified only if they can be implicitly converted to RAW. This conversion is possible for CHAR, VARCHAR2, and LONG values that are valid arguments of the HEXTORAW function, and for LONG RAW and BLOB values of up to 16380 bytes.
    ----------------------

  • Copy and Paste in an Application (like sql-workshop)

    Hey,
    i would like to implement a functionality to copy & paste (similar to sql workshop) data from an excell sheet into a formular.
    by submitting this formular i want to create a set of data after the 'tab' dividing.
    its not comma seperated. because its coming from an excelll-sheet.
    Does anybody know a solution
    PS: Or how i read an array to the tab sign and put this string in a select statement.
    greets phil
    Message was edited by:
    user557004

    Hi,
    How about the issue now, is it solved?
    This issue might be caused by her user profile. What the result would be if using another user account to log on her computer to test this issue.
    Also do you have the same problem when you open excel in Safe Mode?
    Try opening Excel without any Add-ins or hidden workbooks:
    Press and hold the CTRL key, and then click the excel program.
    Best Regards,
    Wind

  • Calling Java function thru PL-SQL

    Dear all
    As i am New to JAVA ,Can you plz Tell how we can call Java function thru PL-SQL?
    To activate / deactivate function will be called from the database plug-ins. No need for GUI.
    Using the URL ,The objective is to automate this function.
    Many Thanks
    Edited by: khaja on Jan 18, 2009 12:50 PM

    Khaja,
    Please refer to http://download.oracle.com/docs/cd/B19306_01/java.102/b14187/chthree.htm#CACICFFB
    Please try to avoid asking questions for which you can easily find the answer yourself.
    I had to look this up, and found it in less than 2 minutes.
    Sybrand Bakker
    Senior Oracle DBA

Maybe you are looking for

  • Reformat external drive from mac os to windows

    the windows partition on my mac book pro is close to full. i would like to use an external drive formatted for windows for my growing number of pc games (gw,tdu,fsx,dirt - which run great on the mac book pro windows partition btw). i tried to reforma

  • Short dumps in middle ware

    Hi, The problem is when ever we are unlocking the inbound queues in middle ware we are getting MESSAGE_TYPE_X dumps. FYI Short text of error message: Error in message 7AFE06661FFD4C6F8D5BA0391C9EF92A of type ZPCR_WRITE in service MESSAGE CDB SERVICE.

  • Is there an apple store question forum?

    Hi, i was wondering if there was any forum about the apple store itselve, becouse i can't find any and I was wondering about something with my delivery. Wen i ordered my ipod it said delivery date 5 days and the day after it said 2 day on site, now o

  • Getting an error message on App Store saying ConnectionManager::invoke::Failed to find service connection URL... What does this mean??

    When I'm about to install an app I get this message. It ask me to retry and put my password again. After 3 attempts it ask me to reset my password.. I already did a password reset. I'm also connected to wifi.... Please help

  • Ipod not picking up converted Dvd's

    Hello, right now I purchased Super DVD to iPod Converter. I converted it and imported it into Itunes. Following that, I plug in my Ipod in which it updates. It seems to skip the dvd. I go to convert selection and it says it's already in the right for