CS5 Reports error with Google Javascript Code

I beleive I have found a bug in the Dreamweaver CS5 code syntax system,
<script type="text/javascript" src="http://www.google.com/jsapi?key=<?=GOOGLEAPIKEY;?>"></script>
This line generates an error in dreamweaver "There is a syntax on line x. Code hinting may not work until you fix this error." but there is no error!
Infact I found that mixing php with javascript in anyway causes this error to appear anyone else have the problem? How can I resolve it?
<script type="text/javascript" src="http://www.google.com/jsapi?key=<? echo "test";?>"></script>
generates the error as well!
In my experience it is happening with dreamweaver templates, the error doesn't show in the template file but any file using the template does.

Nope, sorry PZ,
I'm using the PHP Include from the DW CS5 menu and I get the error message as soon as I insert it.
ie. it has <?php
Hiran

Similar Messages

  • RE: [Adobe Reader] when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? i

    HelloThank's for your helpsI hope this document is helpfulBest Regards,
    Date: Sun, 22 Jun 2014 17:10:17 -0700
    From: [email protected]
    To: [email protected]
    Subject:  when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help me th
        when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help m
        created by Anoop9178 in Adobe Reader - View the full discussion
    Hi,
    Would it be possible for you to share the document?
    Regards,
    Anoop
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6485431#6485431
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
         To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Adobe Reader by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

    thank's for reply and your help
    i did the step's that you told me but  i still have the same problem
                                     i have the latest v.11.0.7
    i
    i disable the protected mode

  • When i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help me th

    when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ?
    if you can help me thank's
    [email address removed by host]

    thank's for reply and your help
    i did the step's that you told me but  i still have the same problem
                                     i have the latest v.11.0.7
    i
    i disable the protected mode

  • PeopleSoft XML Publisher report error with java.io.FileNotFoundException

    Hi,
    I have created two reports using XML Publisher in Peoplesoft Financials. The two reports are not related and they were submitted for processing separately. The first report completes without any issues. The second report results in error with the following message:
    09.11.17 ..(CIS_POTRPT.XML_FILE.Step03) (PeopleCode)
    [012309_091118154][oracle.apps.xdo.template.FOProcessor][EXCEPTION] IOException is occurred in FOProcessor.setData(String) with 'files/cis_potrpt.xml'.
    [012309_091118500][oracle.apps.xdo.template.FOProcessor][EXCEPTION] java.io.FileNotFoundException: files/cis_potrpt.xml (A file or directory in the path name does not exist.)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java(Compiled Code))
         at java.io.FileInputStream.<init>(FileInputStream.java:89)
         at oracle.apps.xdo.template.FOProcessor.getInputStream(FOProcessor.java:1316)
         at oracle.apps.xdo.template.FOProcessor.getXMLInput(FOProcessor.java:1100)
         at oracle.apps.xdo.template.FOProcessor.setData(FOProcessor.java:372)
         at com.peoplesoft.pt.xmlpublisher.PTFOProcessor.generateOutput(PTFOProcessor.java:53)
    2009-01-23-09.11.18.000418 AePcdExecutePeopleCode [174] Exception logged: RC=100.
    Error generating report output: (235,2309) PSXP_RPTDEFNMANAGER.ReportDefn.OnExecute Name:ProcessReport PCPC:51552 Statement:1153
    Called from:CIS_POTRPT.XML_FILE.GBL.default.1900-01-01.Step03.OnExecute Statement:8
    2009-01-23-09.11.18.000617 DoStepActions [1797] Exception logged: RC=100.
    Process 598607 ABENDED at Step CIS_POTRPT.XML_FILE.Step03 (PeopleCode) -- RC = 24 (108,524)
    In the process monitor detail > view log/trace page, the xml file is accessible so the file was generated to a valid directory.
    The weird thing is I was able to run this report without any issues few weeks ago although another user also ran into same error. The PeopleCode step that has been identified is essentially same in the two reports. I checked the app server and the directory does exist as well as the xml files for the two reports. The problem does not occur in test environment, just in production. Any help would be appreciated.

    We encounter the same problem. Did you get the answer for this issue? Thanks in advance.

  • Console error with GUI , return code -17

    Hi All,
    I have just finished the Installation of SAP IDES 4.7. Installation was sucessful, after that I Installed GUI 640. But when we are starting the Console it is starting without any error which also shows WP table details in run mode. When we logon to gui, console becomes "Yellow" and dispatch process stop with a return code -17.
    Please help.
    Thanks
    Jagat.

    Hi Kaushal,
    Thanks for ur reply. Actually when we started the installation process, and GUI, we have not provide the loopback adapter in the Primary DNS, but Loopback Adapter was properly configured with IP.
    Later on we realised and added the 127.0.0.1 in the Primary DNS. But its still not working. 
    The Log which u have asked for is attached.
    trc file: "dev_w0", trc level: 1, release: "620"
    ACTIVE TRACE LEVEL           1
    ACTIVE TRACE COMPONENTS      all, M

    B Sat Mar 04 10:18:27 2000
    B  create_con (con_name=R/3)
    B  Loading DB library 'C:\usr\sap\TEK\SYS\exe\run\dboraslib.dll' ...
    B  Library 'C:\usr\sap\TEK\SYS\exe\run\dboraslib.dll' loaded
    B  Version of 'C:\usr\sap\TEK\SYS\exe\run\dboraslib.dll' is "620.02", patchlevel (0.112)
    B  New connection 0 created
    M  systemid   560 (PC with Windows NT)
    M  relno      6200
    M  patchlevel 0
    M  patchno    251
    M  intno      20020600
    M  pid        2792

    M  ***LOG Q0Q=> tskh_init, WPStart (Workproc 0 2792) [dpxxdisp.c   1016]
    I  MtxInit: -2 0 0

    X Sat Mar 04 10:18:29 2000
    X  EmInit: MmSetImplementation( 2 ).
    X  <ES> client 0 initializing ....
    X  Using implementation std
    M  <EsNT> Memory Reset enabled as NT default
    X  ES initialized.
    M  calling db_connect ...
    C  Got ORACLE_HOME=D:\oracle\ora81 from environment

    C Sat Mar 04 10:18:30 2000
    C  Client NLS settings: AMERICAN_AMERICA.WE8DEC
    C  Logon as OPS$-user to get SAPTEK's password
    C  Connecting as /@TEK on connection 0 ...
    C  Attaching to DB Server TEK (con_hdl=0,svchp=06A497E8,svrhp=06A495F4)

    C Sat Mar 04 10:19:07 2000
    C  Starting user session (con_hdl=0,svchp=06A497E8,srvhp=06A495F4,usrhp=06A913AC)
    C  *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017
    [dboci.c      3718]
    C  *** ERROR => CONNECT failed with sql error '1017'
    [dboci.c      9536]
    C  Try to connect with default password
    C  Connecting as SAPTEK/<pwd>@TEK on connection 0 ...
    C  Starting user session (con_hdl=0,svchp=06A497E8,srvhp=06A495F4,usrhp=06A913AC)
    C  *** ERROR => OCI-call 'OCISessionBegin' failed: rc = 1017
    [dboci.c      3718]
    C  *** ERROR => CONNECT failed with sql error '1017'
    [dboci.c      9536]
    B  ***LOG BY2=> sql error 1017   performing CON [dbsh#2 @ 962] [dbsh    0962 ]
    B  ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dbsh#2 @ 962] [dbsh    0962 ]
    B  ***LOG BY2=> sql error 1017   performing CON [dblink#1 @ 419] [dblink  0419 ]
    B  ***LOG BY0=> ORA-01017: invalid username/password; logon denied [dblink#1 @ 419] [dblink  0419 ]
    M  ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead.c   1098]
    M  in_ThErrHandle: 1
    M  *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3, level 1) [thxxhead.c   8277]

    M  Info for wp 0

    M    stat = 4
    M    reqtype = 1
    M    act_reqtype = -1
    M    tid = -1
    M    mode = 255
    M    len = -1
    M    rq_id = -1
    M    rq_source = 255
    M    last_tid = 0
    M    last_mode = 0
    M    rfc_req = 0
    M    report = >                                        <
    M    action = 0
    M    tab_name = >                              <

    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Server sapsrv_TEK_00 on host sapsrv (wp 0)
    M  *  ERROR       tskh_init: db_connect
    M  *
    M  *  TIME        Sat Mar 04 10:19:07 2000
    M  *  RELEASE     620
    M  *  COMPONENT   Taskhandler
    M  *  VERSION     1
    M  *  RC          13
    M  *  MODULE      thxxhead.c
    M  *  LINE        8408
    M  *  COUNTER     1
    M  *
    M  *****************************************************************************

    M  Entering TH_CALLHOOKS
    M  ThCallHooks: call hook >SAP-Trace buffer write< for event BEFORE_DUMP
    M  ThCallHooks: call hook >ThrSaveSPAFields< for event BEFORE_DUMP
    M  *** ERROR => ThrSaveSPAFields: no valid thr_wpadm [thxxrun1.c   672]
    M  *** ERROR => ThCallHooks: event handler ThrSaveSPAFields for event BEFORE_DUMP failed [thxxtool3.c  235]
    M  Entering ThSetStatError
    M  Entering ThReadDetachMode
    M  call ThrShutDown (1)...
    M  ***LOG Q02=> wp_halt, WPStop (Workproc 0 2792) [dpnttool.c   345]

  • Need help with adjusting Javascript code to work in Adobe Edge (Countdown)

    Hello
    Im a newbie when it comes to working with Javascript and Adobe Edge and need a bit of help with adjusting some javascript code to work with Adobe Edge. A friend of mine helped me with making this javascript code: Edit fiddle - JSFiddle
    Its a simple countdown which counts down to a certain time at a certain date. What I aim to do is to add this code as a trigger on a text-element called "countdown" (within a symbol called "count").
    I have tried to do this as the code is, but it does not work. Anyone have any suggestions?
    Thanks!
    Mvh,
    Øyvind Hermans

    Hello again
    I have stumbled upon a problem with these animations; They crash the browser after viewing them a little while, usually less than 30 seconds in.
    Is this problem also occuring when you watch the animations?
    Is the countdown-code to much for the browsers to handle?
    Thanks in advance for your answers.
    Sincerely,
    Øyvind Hermans

  • Custom xml report errored with :emsg:was terminated by signal 4

    Friends,
    one of the custom report errored out with the below error:
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.UTF8
    stat_low = 84
    stat_high = 0
    emsg:was terminated by signal 4
    Program was terminated by signal 4
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 5443587.
    when browsing metalink I came across few notes and chmged the out put of Active users report to XML which also errored out, the same report was running fine in other environments. we just freshed this from PROD and nothing was changed.
    any ideas
    Thanks.

    Hi Guru,
    Application version is 11.5.10.2 and DB 10.2.0.3 running on AIX, Yes it is working on other test environments and production.
    here is the error from OPP log
    [3/18/10 10:35:17 AM] [UNEXPECTED] [2908896:RT5443609] java.io.FileNotFoundException: /<path>/o5443609.out (No such file or directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:129)
         at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:229)
         at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)
    [3/18/10 10:35:17 AM] [2908896:RT5443609] Completed post-processing actions for request 5443609.
    Looks like the output file was not generated as the request errored out.
    Thanks.

  • Error message: missing javascript code

    When trying to run a script in PE10 on windows 7 I get an error code saying "javascript code missing"
    Any ideas or help?
    Thanks

    That usually means the action can't find the script. In other words the path (location of the script when the action was recorded) to the script recorded in the action doesn't match the location
    the script is on your machine.
    Were there any instructions included as to how to install/run the actions on different operating systems?

  • Query Engine report error with Crystal Report 9 And MS SQL SErver 2000

    Hi,
    Currently I m doing a report with Crystal Report 9 and MS SQL as back End.I used a stored procedure to fetch data from DB.The Stored procedure works properly with query analyzer . But when I take report through application
    "Table Not Found" Error is coming.Later I Found that In stored procedure for certain conditions only this error comes.But I cant resolve it.
    Can any One check any pblm with this query
    ELSE IF ISNULL(@intSourceID,0) = 10 Or ISNULL(@intSourceID,0) = 11 Or ISNULL(@intSourceID,0) = 12 Or ISNULL(@intSourceID,0) = 13 Or ISNULL(@intSourceID,0) = 14  
    BEGIN
    IF ISNULL(@intSchemeID,0) <> 0  
    BEGIN
    Select* From table
    END 
    ELSE IF ISNULL(@intSchemeID,0) = 0  
    BEGIN
    Select 
    END 
    END
    When I comment the above codes , report works fine....
    Can any one help me....plz....I m in such a critical situation...

    Hi,
    Currently I m doing a report with Crystal Report 9 and MS SQL as back End.I used a stored procedure to fetch data from DB.The Stored procedure works properly with query analyzer . But when I take report through application
    "Table Not Found" Error is coming.Later I Found that In stored procedure for certain conditions only this error comes.But I cant resolve it.
    Can any One check any pblm with this query
    ELSE IF ISNULL(@intSourceID,0) = 10 Or ISNULL(@intSourceID,0) = 11 Or ISNULL(@intSourceID,0) = 12 Or ISNULL(@intSourceID,0) = 13 Or ISNULL(@intSourceID,0) = 14  
    BEGIN
    IF ISNULL(@intSchemeID,0) <> 0  
    BEGIN
    Select* From table
    END 
    ELSE IF ISNULL(@intSchemeID,0) = 0  
    BEGIN
    Select 
    END 
    END
    When I comment the above codes , report works fine....
    Can any one help me....plz....I m in such a critical situation...
    Refer the above statement highlighted in BOLD. That statement is WRONG. Select what ???? Try any one of the below statement,
    select ''
    --or
    select 0
    --or
    select null
    Regards, RSingh

  • A Problem with the JavaScript Code can anybody help me

    Hi every body,
    I prepared a html page using the following code, which i grab it from some web site, and used it in my web project,
    but the code that is not working and it is showing some javascript error, can anybody correct it for me please, the code is as follows
    <html>
    <head>
    <title>Contact Form</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <style type="text/css">
    // CSS goes here
    </style>
    <script language="JavaScript">
    function checkForm()
       var cname, cemail, csubject, cmessage;
       with(window.document.msgform)
          cname    = sname;
          cemail   = email;
          csubject = subject;
          cmessage = message;
       if(trim(cname.value) == '')
          alert('Please enter your name');
          cname.focus();
          return false;
       else if(trim(cemail.value) == '')
          alert('Please enter your email');
          cemail.focus();
          return false;
       else if(!isEmail(trim(cemail.value)))
          alert('Email address is not valid');
          cemail.focus();
          return false;
       else if(trim(csubject.value) == '')
          alert('Please enter message subject');
          csubject.focus();
          return false;
       else if(trim(cmessage.value) == '')
          alert('Please enter your message');
          cmessage.focus();
          return false;
       else
          cname.value    = trim(cname.value);
          cemail.value   = trim(cemail.value);
          csubject.value = trim(csubject.value);
          cmessage.value = trim(cmessage.value);
          return true;
    function trim(str)
       return str.replace(/^\s+|\s+$/g,'');
    function isEmail(str)
       var regex = /^[-_.a-z0-9]+@(([-_a-z0-9]+\.)+(ad|ae|aero|af|ag|
    ai|al|am|an|ao|aq|ar|arpa|as|at|au|aw|az|ba|bb|bd|be|bf|bg|
    bh|bi|biz|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|
    ch|ci|ck|cl|cm|cn|co|com|coop|cr|cs|cu|cv|cx|cy|cz|de|dj|dk|
    dm|do|dz|ec|edu|ee|eg|eh|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|
    gd|ge|gf|gh|gi|gl|gm|gn|gov|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|
    hr|ht|hu|id|ie|il|in|info|int|io|iq|ir|is|it|jm|jo|jp|ke|kg|
    kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|
    ma|mc|md|mg|mh|mil|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|museum|
    mv|mw|mx|my|mz|na|name|nc|ne|net|nf|ng|ni|nl|no|np|nr|nt|nu|
    nz|om|org|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|pro|ps|pt|pw|py|qa|
    re|ro|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|
    su|sv|sy|sz|tc|td|tf|tg|th|tj|tk|tm|tn|to|tp|tr|tt|tv|tw|tz|
    ua|ug|uk|um|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|yu|za|
    zm|zw)|(([0-9][0-9]?|[0-1][0-9][0-9]|[2][0-4][0-9]|[2][5][0-5])\.){3}([0-9][0-9]?|[0-1][0-9][0-9]|[2][0-4][0-9]|[2][5][0-5]))$/i;
    return regex.test(str);
    </script>
    </head>
    <body>
    <form method="post" name="msgform">
    <table width="500" border="0" align="center" cellpadding="2" cellspacing="1" class="maincell">
    <tr>
    <td width="106">Your Name</td>
    <td width="381"><input name="sname" type="text" class="box" id="sname" size="30"></td>
    </tr>
    <tr>
    <td>Your Email</td>
    <td>
    <input name="email" type="text" class="box" id="email" size="30">
    </td></tr>
    <tr>
    <td>Subject</td>
    <td><input name="subject" type="text" class="box" id="subject" size="30"></td>
    </tr>
    <tr>
    <td>Message</td>
    <td><textarea name="message" cols="55" rows="10" wrap="OFF" class="box" id="message"></textarea></td>
    </tr>
    <tr align="center">
    <td colspan="2"><input name="send" type="submit" class="bluebox" id="send" value="Send Message" onClick="return checkForm();"></td>
    </tr>
    <tr align="center">
    <td colspan="2"> </td>
    </tr>
    </table>
    </form>
    </body>
    </html>

    function isEmail(str)
       var regex = /^[-_.a-z0-9]+@(([-_a-z0-9]+\.)+(ad|ae|aero|af|ag|
    ai|al|am|an|ao|aq|ar|arpa|as|at|au|aw|az|ba|bb|bd|be|bf|bg|
    bh|bi|biz|bj|bm|bn|bo|br|bs|bt|bv|bw|by|bz|ca|cc|cd|cf|cg|
    ch|ci|ck|cl|cm|cn|co|com|coop|cr|cs|cu|cv|cx|cy|cz|de|dj|dk|
    dm|do|dz|ec|edu|ee|eg|eh|er|es|et|eu|fi|fj|fk|fm|fo|fr|ga|gb|
    gd|ge|gf|gh|gi|gl|gm|gn|gov|gp|gq|gr|gs|gt|gu|gw|gy|hk|hm|hn|
    hr|ht|hu|id|ie|il|in|info|int|io|iq|ir|is|it|jm|jo|jp|ke|kg|
    kh|ki|km|kn|kp|kr|kw|ky|kz|la|lb|lc|li|lk|lr|ls|lt|lu|lv|ly|
    ma|mc|md|mg|mh|mil|mk|ml|mm|mn|mo|mp|mq|mr|ms|mt|mu|museum|
    mv|mw|mx|my|mz|na|name|nc|ne|net|nf|ng|ni|nl|no|np|nr|nt|nu|
    nz|om|org|pa|pe|pf|pg|ph|pk|pl|pm|pn|pr|pro|ps|pt|pw|py|qa|
    re|ro|ru|rw|sa|sb|sc|sd|se|sg|sh|si|sj|sk|sl|sm|sn|so|sr|st|
    su|sv|sy|sz|tc|td|tf|tg|th|tj|tk|tm|tn|to|tp|tr|tt|tv|tw|tz|
    ua|ug|uk|um|us|uy|uz|va|vc|ve|vg|vi|vn|vu|wf|ws|ye|yt|yu|za|
    zm|zw)|(([0-9][0-9]?|[0-1][0-9][0-9]|[2][0-4][0-9]|[2][5][0-5])\.){3}([0-9][0-9]?|[0-1][0-9][0-9]|[2][0-4][0-9]|[2][5][0-5]))$/i;
    return regex.test(str);
    Remove all enter sequences inbetween lines in the above function. It vl work.
    All d Best :-)

  • 500 error with no JSP code

    I'm using Orion as my server. I've got an app with a couple of JSP's. One JSP is welcome.jsp and runs JSP code fine. The other is navigation.jsp and it doesn't have ANY JSP code at all, but it still produces an internal 500 error when I browse to it....
    Any suggestions?

    A 500 error code usually indicates that there was some problem with the server itself. For example, Tomcat will report 500 if it is unable to find the Java compiler it needs.
    I'm not at all familiar with Orion, and never heard of it before today, but you may want to see if they included some sample JSP code, and if so, test to see if that code works. You might also double check that you've followed all of the instructions they set forth. In particular, pay attention to where to find error messages (usually in a log file).
    One potential gotcha that seems to plague lots of developers is spaces in file names. If you installed Orion in something other than the default directory, and your preferred directory has a space somewhere in the path name, it's possible that the Orion developers didn't take that into account and as a result, some of their stuff works correctly and some doesn't.

  • Report error with the input form using the VC BI integration wizard

    Hello All,
    I've created a report using the BI integration wizard in visual composer. I've configured the query with the 'Free Form' query template also I've defined the filters there. This is working fine and giving me the report output. When I deploy this , I could see
    a start point for the data service.
    But instead of the start point with the default values for the filters , I want to have an input form for the users to enter the field values. I added the input form in place of start point. But it's not working even though it doesn't give any error while deploying this report. It gives the following error when I run this report.
    " Data service error occurred,cannot execute OLAP queryCannot get data set: Cannot get data set".
    Could anybody help on this.
    Thanks
    Alok

    Hi Sandeep,
    I'm already draging it from the query input port. Are you referring a different way? How I could have the input variables in the query which I'm creating using the BI integration wizard.  To get this input variable I'm trying to add the input form.
    Am I doing anything wrong here ?
    Pls help.
    Thanks
    Alok

  • Error with output file code in utl (v_out_file)

    v_out_file := utl_file.fopen (r_dca.directory_name, 'GradChallenge' || TRIM(TO_CHAR(SYSDATE,'YYYYMMDD')) || '.txt', 'W');
    I was just wondering guys, the error occurs 'r_dca.directory_name'. There is an issue with r_dca, I am just stuck on what to name to put to replace it.
    the complete code is specified below
    Create or replace
    PROCEDURE Grad_Five
    IS
    v_out_file UTL_FILE.FILE_TYPE;
    v_out_directory all_directories.directory_path%type;
    v_out_filehandle UTL_FILE.FILE_TYPE := NULL;
    v_out_buffer varchar2(32767);
    v_header VARCHAR2(32759 BYTE);
    r_users varchar2(32759 BYTE);
    r_dca number;
    BEGIN
    -- Output file
    v_out_file := utl_file.fopen (r_dca.directory_name, 'GradChallenge' || TRIM(TO_CHAR(SYSDATE,'YYYYMMDD')) || '.txt', 'W');
    -- Header
    v_header := sysdate;
    utl_file.PUT_LINE(v_out_file,v_header,TRUE);
    FOR r_users IN
    ( SELECT
    USERS.ID,
    USERS.LOGINNAME,
    USERS.FORENAME,
    USERS.SURNAME
    FROM USERS
    LOOP
    BEGIN
    UTL_FILE.PUT_LINE (v_out_file,
    r_users.ID|| ',' || r_users.LOGINNAME|| ',' ||r_users.FORENAME|| ',' ||r_users.SURNAME);
    END;
    END LOOP;
    FOR r_users in
    ( SELECT COUNT (ID) from Users )
    LOOP
    BEGIN
    UTL_FILE.fclose (v_out_file);
    END;
    END LOOP;
    COMMIT;
    END GRAD_FIVE;
    Would appreciate help, Thank you again.

    Here's something that might help:
    (Example 1)
    http://docs.oracle.com/cd/B19306_01/appdev.102/b14258/u_file.htm
    You need to:
    1. Create a directory:
    CREATE DIRECTORY EXAMPLE_DIR AS '<OS_DIR_PATH>';
    Eg: CREATE DIRECTORY EXAMPLE_DIR AS '/temp';
    2. Reference the previously created directory:
    v_out_file := utl_file.fopen ('EXAMPLE_DIR', 'filename.extension', 'W');
    My guess is that r_dca.directory_name does not point to a directory object (Step 1) but to an absolute OS path.
    Also make sure you grant the appropriate rights on you directory:
    Eg:
    GRANT READ ON DIRECTORY EXAMPLE_DIR to <your_user>;
    Edited by: RMi on Feb 2, 2012 6:07 AM

  • OBIEE 11.1.1.5.0 Report Error with BIConsumer or BIAuthor Users

    Hi All,
    I have encountered an error in one of my report
    [nQSError: 22038] Function REPORT_AGGREGATE requires at least one measure column in its first argument.
    The strange thing is the same report works fine with BIAdministrator users but throws this error only for BIConsumer or BIAuthor users.
    There is no permission set in report properties.
    Did any one else see this error?. What is the solution for this?.
    Thanks in advance

    did you checked that perticular Column or Table have any restriction for BIAuthor role and Consumer roles in RPD Business filters
    Manage->Identity

  • Trapping sync errors with eVB sync code??

    Hi,
    Is there any way to 'trap' errors that occur when syncing from within an app that is using the sample eVB sync code?
    I'm talking about displaying the same type of error messages msync shows when an error occurs.
    Thanks.

    Hi there,
    The best answer I've come up with so far is to look at what gets written in the file \syncerr.txt on the device, then delete it, so that after the next sync you know that all the errors in the file relate to that sync.
    I haven't implemented this in practice yet, it's just my best guess and I'm putting off doing it until later in my project.
    Does anyone from Oracle have a better answer?
    At the moment, I'm trapping the fact that the sync didn't work using this code:
    On Error Resume Next
    Dim mySync As MSync.sync
    ' Omitted stuff to set up sync parameters etc
    mySync.Sync
    If (Err.Number <> 0) Then
    MsgBox "Sync failed!"
    Else
    MsgBox "Sync completed!"
    End If
    But this doesn't tell me why, hence the theory of looking in \syncerr.txt
    Simon.

Maybe you are looking for

  • Problem in Crystal Report 2008 selectionFormula

    Post Author: saro_j CA Forum: Crystal Reports Hi, I am having a strange problem in Crystal report 2008. Earlier I was using VS 2005 Crystal report. Then we purchased Crystal report 2008. When I open the VS 2005 projects it asks the reports to convert

  • After editing file in ACR 8.6 (Mac) , the file (NEF and XMP) modification dates are not updated

    With both my Mac's, reset Photoshop C  (2014) to previous version 2014.0. Now find that after editing file in ACR 8.6 (Mac) , the file (NEF and XMP) modification dates are not updated. Reloaded camera raw, etc., but still find modification dates are

  • T61 screen won't display images

    My T61 turns on, the backlight comes on, but images do not appear, not even the boot images with the manufacturer's name. If I wait the amount of time it would take to load to the desktop, I can use the keyboard to navigate to My Computer and open th

  • Drill-down in web template

    Hi Friends! In my web template I have a tabscrip with three reports, with three diferents infoproviders. I need create a 0MATERIAL drill-down , which filter the reports according this selection. How must I custiomize the drill-down? Thanks in advance

  • A few tips to get me started ..

    Hi there I've been away from JAVA a few years, and I think it is time to get started again. I know the JAVA basics, and I made a Java applet chess game once. I am planning to start a new project: a slot machine game. I was thinking about a scenario w