Can't open a Report in Forms

hi everybody
I hope all of you are fine.
Actually I'm now on training of learning Oracle Forms & Reports and I made an application and I put in the Forms a report to get the medicines info so after starting the Forms it loaded to Firefox Browser and after pressing on Report I get an error that tells "FRM-41214: Unable to run report" and I can't load the report.
actually I started the server and it's in Ready so it works fine and I can see the reports working from Reports Builders through a browser but the Forms can't see the report and it gave me that error "FRM-41214: Unable to run report". Other thing the OC4J is working.
The system that I'm working on:
- Windows Vista ultimate edition.
- Oracle 10g 2R, DB, Forms, Reports.
The default browser for Forms Builder is Firefox and the default browser for Reports Builder is IE.
Any help please to solve my problems I'll be appreciated

Hi
First of all please tell us with which bulitin are you calling the report.post the whole code you use to call the report.
Thanks
--Ajay Sharma
Edited by: Ajay Sharma on May 30, 2009 5:35 AM

Similar Messages

  • I can't open a report created in win XP on win2000

    I can't open a report created in win XP on win2000
    I created a report in winXP on SCOTT schemas and I tried at home to reopen the report.
    I receive an error like UNABLE TO OPEN .....REP-0110.
    I tried these reports on another computer with WINXP and they perfectly worked.
    Only win2000 has this problem? Can I solve this problem without installing WinXP?
    Thank you

    there should be no difference, except if you reports versions on those two machines are different. have you tried the other way around, create a file on win2000 and try to open it on XP ? maybe the file gets corrupted during transfer or something.
    thanks,
    ph.

  • Can you open a report in Excel/Word desktop instead of the web pugin?

    using run_report_object( and web.show_document,
    how or can you get a report to open in the desktop/full version of MS Excel/Word instead of the web plugin versions?
    I can get the browser to open a report in pdf with my desktop adobe reader, but not with an rtf or xml/delimited desformat.
    Currently I don't pass a mimetype when opening as a pdf, but I do pass one in the url when i am destypes of xml, delimited and rtf,
    as this is the only way i have found out how to open the reports in word/excel.
    I'm in the process of upgrading from forms 6 client/server to 10g developer suite, so this is my try with a web based system.
    Does anyone have any suggestions, or where I should look.
    Below I listed my code from a procedure.
    the first part of the procedure is alot of converting, but if you skip down to the part between the 2 sets of double lines this fairly standard.
    PACKAGE BODY pmc_lib IS
    -- Procedure to run the report.
    procedure run_reports(v_report_name in varchar2, -- Report Name with or w/o a path.
    v_commode in number default synchronous, -- commode
    v_execmode in number default runtime, -- execute mode
    v_file_sys in number default filesystem, -- dummy
    v_param_list in paramlist, -- parameter list
    v_show_modes in varchar2 default null) is -- used for testing,
    -- if set to anthing but null, the report properties will display
    -- on the screen through an alert prior to printing.
    v_errorcode number;
    v_errortext varchar2(600);
    v_initialized boolean := false;
    v_prop_reportserver varchar2(200);
    v_report_path varchar2(200);
    v_user varchar2(100);
    v_user_sessionid number;
    v_forms_version varchar2(100);
    v_default_report_server varchar2(200);
    v_default_server_domain_path varchar2(200);
    v_connect_string varchar2(3) := get_application_property(connect_string);
    v_user_name varchar2(35) := get_application_property(username);
    report_id report_object;
    reportserverjob varchar2(100);
    v_jobid varchar2(100);
    rep_status varchar2(100);
    v_url varchar2(500);
    v_url2 varchar2(500);
    v_parameter_value varchar2(100);
    v_destype_param_value varchar2(100) := null;
    v_desformat_param_value varchar2(100) := null;
    v_desname_param_value varchar2(100) := null;
    v_value_n number := 0;
    v_param_type number := text_parameter;
    v_prop_execmode number;
    v_prop_commode number;
    v_prop_destype number;
    v_prop_filename varchar2(200);
    v_prop_source_block varchar2(200) := null;
    v_prop_query_name varchar2(200) := null;
    v_prop_desname varchar2(200) := null;
    v_prop_desformat varchar2(200) := null;
    v_prop_reportserver varchar2(200) := null;
    v_prop_other varchar2(200) := null;
    v_mimetype varchar2(200) := null;
    v_selected_mimetype varchar2(200) := null;
    report_not_generated exception;
    report_id_not_found exception;
    BEGIN
    v_forms_version := get_application_property(version);
    v_prop_reportserver := get_report_object_property('report1', report_server);
    v_report_path := null;
    v_user := v_user_name || '/' ||
    get_application_property(password) || '@' ||
    v_connect_string;
    if v_connect_string = 'NNN' then
    v_default_server_domain_path := 'pmcoracapp01.aapmc.com/reports/rwservlet';
    v_default_report_server := 'rep_pmcoracapp01_frhome1';
    else
    v_default_server_domain_path := 'oradevsrv.aapmc.com/reports/rwservlet';
    v_default_report_server := 'rep_oradevsrv_frhome1';
    end if;
    v_initialized := true;
    -- Check to see what version of forms is running.
    if substr(v_forms_version, 1, 1) <> '6' then
    -- Check to see if WEB version is running
    -- This may be an unnecessary check.
    if (get_application_property(user_interface) = 'WEB') then
    report_id := find_report_object('report1');
    -- id_null won't work on a report_id in Version 6, may put back in 10g once version 6 is gone completly
    -- if id_null(report_id) then
    -- raise report_id_not_found;
    -- end if;
    -- Because of Convertions from old system the following are needed.
    -- 1) If 'execmode' is runtime, then change it to batch.
    if v_execmode = runtime then
         v_prop_execmode := batch;
    else
         v_prop_execmode := v_execmode;
    end if;
    -- 2) If Report name has an attached path, then remove it.
    v_value_n := instr(lower(v_report_name), 'k:\pmc\new\');
    if v_value_n = 0 then
         v_prop_filename := v_report_name;
    else
         v_prop_filename := substr(v_report_name, v_value_n + 11);
    end if;
    -- From looking at the FORMS, 'destype' parameter is always passed in from the FORM.
    -- It is either 'preview' or 'file'.
    -- This is here for the converstion from Forms 6 to 10g.
    -- If for some reason destype has not been passed in as a parameter, you will get a FORM error,
    -- saying the parameter does not exists.
    begin
    -- 3) If 'destype' is one of the following, then change it to cache.
    get_parameter_attr(v_param_list, 'destype', v_param_type, v_destype_param_value);
    if lower(nvl(v_destype_param_value, 'null')) in ('preview', 'file', 'null') then
    v_prop_destype := cache;
    -- 3a) If 'destype' was = 'file' then check the 'desformat' and 'desname'.
    if lower(nvl(v_destype_param_value, 'null')) = 'file' then
    -- 3b) Get 'desformat' value
    get_parameter_attr(v_param_list, 'desformat', v_param_type, v_desformat_param_value);
    -- 'delimited' was not working, so change all 'delimited' to 'delimiteddata'.
    if lower(nvl(v_desformat_param_value, 'null')) = 'delimited' then
         v_desformat_param_value := 'delimiteddata';
    end if;
    -- 3c) If 'desformat' is NOT one of the following, then change it to pdf.
    if lower(nvl(v_desformat_param_value, 'null')) not in ('pdf', 'xml', 'rtf', 'delimiteddata') then
    v_prop_desformat := 'pdf';
    else
    v_prop_desformat := lower(v_desformat_param_value);
    end if;
    -- 4) Get 'desname' property.
    get_parameter_attr(v_param_list, 'desname', v_param_type, v_desname_param_value);
    v_prop_desname := lower(v_desname_param_value);
    end if;
    else
    v_prop_destype := lower(v_destype_param_value);
    end if;
    exception
    when others then
    null;
    end;
    -- If a desformat is rtf, xml, or delimited then get a mimetype to pass to the url
    if lower(v_prop_desformat) = 'rtf' then
    v_mimetype := '&mimetype=application/msword';
    elsif lower(v_prop_desformat) = 'xml' then
    v_mimetype := '&mimetype=application/vnd.ms-excel';
    elsif lower(v_prop_desformat) = 'delimiteddata' then
    v_mimetype := '&mimetype=application/vnd.ms-excel';
    end if;
    -- 6) If the Following are not set within the Report Object then
    -- set them to the following defaults.
    -- These are al required to be set for the Report Object to Function.
    -- These are the defaults for AAPMC.
    v_prop_execmode := nvl(v_prop_execmode, batch);
    v_prop_commode := nvl(v_prop_commode, synchronous);
    v_prop_destype := nvl(v_prop_destype, cache);
    v_prop_desformat := nvl(v_prop_desformat, 'pdf');
    v_prop_reportserver := nvl(v_prop_reportserver, v_default_report_server);
    -- Set All Report_Object Properties
    set_report_object_property(report_id, report_execution_mode, v_prop_execmode);
    set_report_object_property(report_id, report_comm_mode, v_commode);
    set_report_object_property(report_id, report_destype, v_prop_destype);
    set_report_object_property(report_id, report_filename, v_prop_filename);
    set_report_object_property(report_id, report_source_block, v_prop_source_block);
    set_report_object_property(report_id, report_query_name, v_prop_query_name);
    set_report_object_property(report_id, report_desname, v_prop_desname);
    set_report_object_property(report_id, report_desformat, v_prop_desformat);
    set_report_object_property(report_id, report_server, v_prop_reportserver);
    set_report_object_property(report_id, report_other, v_prop_other);
    -- Run Report_Object
    reportserverjob := run_report_object(report_id, v_param_list);
    v_jobid := substr(reportserverjob, length(v_prop_reportserver) + 2, length(reportserverjob));
    -- If Report Status is not 'FINISHED', then loop till it is.
    if reportserverjob is not null then
    rep_status := report_object_status(reportserverjob);
    while rep_status in ('RUNNING', 'OPENING_REPORT', 'ENQUEUED') loop
    rep_status := report_object_status(reportserverjob);
    end loop;
    if rep_status <> 'FINISHED' then
    raise report_not_generated;
    end if;
    -- Create 1st part of url.
    v_url := 'http://' || v_default_server_domain_path || '/getjobid' || v_jobid || '?server=' || v_prop_reportserver;
    -- Check for mimetype.
    if v_mimetype is not null then
    v_url := v_url || v_mimetype;
    end if;
    -- Final part of url.
    v_url2 := 'javascript:window.open("' || v_url || '", "", "fullscreen=no, titlebar=no, location=no, toolbar=no, menubar=no, status=no, resizable=yes"); self.close()';
    -- This is the built-in that calls a new browser window
    web.show_document(v_url2,'_blank');
    else
    raise report_not_generated;
    end if;
    end if;
    -- Destroy the parameter list.
    destroy_parameter_list(v_param_list);
    else
    -- This section if for Client Server, Version 6 of forms.
    -- It will do the same as before the conversion.
    -- It is only used before the complete conversion.
    if v_report_name is null then
    return;
    end if;
    v_value_n := instr(v_report_name, 'k:\pmc\new\');
    if v_value_n = 0 then
         v_prop_filename := 'k:\pmc\new\' || v_report_name;
    else
    v_prop_filename := v_report_name;
    end if;
    run_product(reports,
    v_prop_filename,
    v_commode,
    v_execmode,
    filesystem,
    v_param_list,
    null);
    end if;      
    -- create history record of the report being run
    insert into pmc_report_history values(
    s_pmc_report_history.nextval,
    v_prop_filename,
    v_user_name,
    sysdate,
    v_forms_version,
    v_jobid,
    v_destype_param_value,
    v_desformat_param_value,
    v_desname_param_value,
    v_prop_destype,
    v_prop_desformat,
    v_prop_desname,
    v_mimetype,
    v_window_open_params);
    commit;
    exception
    when report_id_not_found then
    show_user_alert('ERROR: Cannot Find Report Object!', null);
    when report_not_generated then
    show_user_alert('ERROR: Report Not Generated!', null);
    when others then
    v_errorcode := SQLCODE;
    v_errortext := SQLERRM;
    show_user_alert('ERROR : ' || v_errorcode || ' = ' || v_errortext, null);
    end;
    end;

    What you could try is downloading the report to the client pc using WEBUTIL_FILETRANSFER.URL_TO_CLIENT, then open the locally save file using something like:
    CLIENT_HOST('cmd /c rundll32.exe url.dll,FileProtocolHandler "localfilename"');

  • Can we call 10g Report from Form-6i???

    Hi buddies.....Can we call a report developed in 10g reports from a 6i Form using Run_Report_Object???

    Hi,
    you can run the reports in 6i. There won't be any problem. I have checked with the RDF file.
    I don't know whether the REP file which is generated in 10g can be opened in 6i or not.
    Regards,
    Manu.
    If this answer is helpful or correct, please mark it. Thanks.

  • How can others open more than one form? [Was: Sandra]

    How do you use Forms Central? I am the only account that can open more than one form. I have added all the people in contacts. When they login, they have the upgrade option for more than one form. We have an order number and end user id. Thanks for the help.

    Hi,
    It sounds like you have a paid account and the other users have free accounts.
    You will have to share the form with the other users, please see this link for more detailed on how to share a form with others:
    http://forums.adobe.com/docs/DOC-3351
    All the free account users should be able to open all the forms that you have shared with them. Free users can only create one form on their own.
    Hope this helps,
    Thanks
    Lucia

  • How can i run a reports from forms

    Oracle forms 9i
    Hai All
    I am using oracle forms 9i.
    From the forms i need to generate a reports how can i generate a reports from there
    Regards
    Srikkanth.M

    there are hundreds of examples in this forum. Do a search

  • Can't open XL Reporter with Vista

    Whenever I try to open XL Reporter it hangs while connecting and then throws the error:
    "Unable to connect to XL Reporter. Error! Server communication failed!
    Cause: Server (local)
    The connect information provided in MetaInfo.xml is wrong.
    (Please contact the administrator to change ChangeDbPassword."
    I am using Windows Vista and have Office 2007. I have checked the box "Trust access to the VBA project object model" in Trust Center Settings.
    I removed the client completely, deleted the XLR folder and reinstalled. Same error. I opened the ConnectionManager.exe in the XLR folder. I can't connect there with (local) as the db. If I change it to my machine name\SQLEXPRESS then I connect. However, when I go back to open XL Reporter from within Business One, I get the same error.

    You may check these threads:
    Unable connect to XLR in 2007
    Re: Unable to connect XL Reports
    Unable to connect XL reporter.
    XL Reporter error
    Thanks,
    Gordon

  • Can't open a report in unix

    Hi,
    when i open a report in unix by using rwbld60 , it is saying that you are using older version of report builder you might have lose the functionality,
    if i still click on continue the report is automatically closing off.
    so what is solution to get that report open and need to do some changes it is an urgent.
    please help me.

    Hi,
    rwbld60 is for Oracle Report 6i. The report you are trying to open was developed using a newer version of Report Builder though. Simply look for rwbuilder in ORACLE_HOME/bin/ instead of rwbld60 or install the newer version of Oracle Report Builder if you don't have it yet. Note, that you may have several Oracle Homes in your development environment so check them all or do a search for rwbuilder in your system. You have to use the same version of Developer Suite that was used for creating your report.
    Regards,
    Julius Z

  • Can not open a report in XLTX format

    I have created several BPC reports and save them in XLTX format,  one of them can not be opened with the following message "Excel cannot open file because the file  format or extension is not valid," anybody has this kind experience and know hot to fix it?

    Jianbai,
    Known issues with BPC and Office Excel 2007 and opening with 2003.
    You might want to check a client machine where this occurs to see if they still have excel 2003 installed also with Excel 2007
    There is a Work around you can try: We recommend installing the office compatibility pack via the following URL:
    http://www.microsoft.com/downloads/details.aspx?FamilyId=941b3470-3ae9-4aee-8f43-c6bb74cd1466&displaylang=en
    a) Install 'Compatibility Pack for the 2007 Office system' file on
        client machine which has Office 2003.
    b) Change file extension 'xls' or 'xlt' to 'xlsx'.
    c) Open template.
    Note: Please be careful with the file format while saving it from Excel 2007. Even though the file extension is xls, it doesn't mean the format is really 2003 compatible.
    Let me know if this help resolve this issue.
    Thanks,
    Sharon
    BPC-NW Engineer

  • Can't open a saved interactive form

    I have developed an interactive form using ABAP WebDynpro. While I have the form displayed (with or without having filled in any values), I use the "save" button on the standard Adobe toolbar (i.e. not anything I programmed myself) to save the form to my hard drive. The form shows up in the directory on my hard drive with a size of around 80K.
    When I subsequently try to open the file, either by double clicking the file name or from within Adobe Reader, the file doesn't open AND Adobe starts sucking my computer's resources until my pc crashes.
    I thought maybe I had a version problem. I was using Adobe Reader 8.1.2, so I upgraded to the latest version, 9.0.0; but it doesn't make any difference.
    Does anyone have any ideas?
    Thanks,
    Margaret

    Chintan,
    Thanks for your suggestion. I haven't tried it yet - busy with some other problems - but I will try it soon and update this thread.
    Can I take this to mean that I should expect to be able to save an interactive form to my desktop and then re-open it later with no problem?  It certainly seems that it ought to work that way.
    Margaret

  • Can I call a Report from FORMS??

    I know that it is possible to create a button in a form, and when that button is pressed, the report is shown.
    Now can anyone help me do it??
    I've read some information but I am still not being able to figure out the code, to the trigger WHEN-BUTTON-PRESSED..
    Please, really important.
    Thanks, and I have the 10g..

    Tiago,
    check teh Reports integration whitepaper at otn.oracle.com/products/forms. This paper exists for Forms 6i, 9i and 10g.
    Frank

  • URGENT!!!!!!!how can i open a url in forms (plataform client/server)

    I have a item that is a url and I want that when the user click
    in this item open the coresponding ulr.
    Can you help me?
    Thank you

    if you use win 32 and you have no information of which browser
    is a default one in your computer and where it is located.
    1.Attach D2KWUTIL.PLL library to your form <br>
    2.Try to use win_api_shell.startfile(document =>
    'c:\start_page.html'); <br>
    3.in start_page.html you automatic connect to the whatever site
    you want <br>
    regards,

  • HT2506 How can I open uscis.gov/files/form/n-400.pdf with Preview?

    Problem (A)
    When I try to open some PDFs, such as uscis.gov/files/form/n-400.pdf with OS X Preview, I get the error message:
    "Please wait...
    If this message is not eventually replaced by the proper contents of the document, your PDF viewer may not be able to display this type of document.
    You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by visiting http://www.adobe.com/go/reader_download.
    For more assistance with Adobe Reader visit http://www.adobe.com/go/acrreader.
    Windows is either a registered trademark or a trademark of Microsoft Corporation in the United States and/or other countries. Mac is a trademark of Apple Inc., registered in the United States and other countries. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries."
    Apple presents Preview as being a better substitute for Adobe Reader, but in this case it does not work at all. (I think this may relate to PDFs with entry fields in them.)
    Problem (B)
    If I set the documents having this problem to be opened with Adobe Reader instead of Preview, the next time I save them from Adobe Reader, they are reset to open with Preview again.
    I thus have to always do Open with… for them, or else set all my PDF documents to be opened with Adobe Reader.
    Can anyone offer any workarounds for problem (A) or (B)?
    Does anyone know Apple's position on problem (A)? Will they eventually fix Preview so that it opens PDF documents such as the one above, or will Preview only ever work on a sub-set of PDF documents?
    If Adobe is refusing to provide Apple the information needed to open certain types of PDF documents, does anyone know Adobe's position on this?
    Thank you

    What version O/S do you have?  10.7.4 is latest.
    I have something for you to try.  I'm reading that Lion supports two different types of file-type association.  That is, in addition to a global ".PDF opens with Preview" you can also have a file-by-file setting to over-ride the global one and have it open is something else - like Adobe Reader.
    So, how about you test this out to see if its true?
    First chainge your global .PDF back to Preview:
    http://osxdaily.com/2009/10/25/change-file-associations-in-mac-os-x/
    Or reset everything  back to defaults:
    http://forums.macrumors.com/showthread.php?t=1282118
    Then when you come accross something that won't open in Preview, use this to set just that file to open in Adobe Reader:
    http://osxdaily.com/2011/08/15/easily-set-file-association-in-mac-os-x-lion-usin g-always-open-with-app/
    There is also a utility for controlling the file-type settings - but - I don't know if it supports this new feature:
    http://www.macupdate.com/app/mac/14618/rcdefaultapp
    (if this a new feature and hasn't been around all along and I just didn't know about it)

  • Can't open PC reports..please help!

    I just went to work for a new company and need to be able to open reports at home from my computer...which I can't. The company says their reports are hard to open with a Mac. I thought Mac was now compatible with MicroSoft. I have a G5 and use both Safari & Interent Explorer. I don't want to have to go by a PC just for the reports that I need to get weekly.....any suggestions?

    Besides office you can try with OpenOffice or NeoOffice, both capable of opening Excel files, both freeware and quite reliable (based on Sun's Star Office). If you need to learn more :
    http://www.openoffice.org/
    http://www.planamesa.com/neojava/en/index.php
    and of course, AppleWorks can also do that...if you have one around!

  • Is it possible to open a report or form from a package on the DB?

    Please help..
    Marty

    Wrong forum. You probably won't get the best answers here.
    Please help..Why you would want a Database server to be the client participant in a Form is beyond my understanding. You might want to restate what you are trying to accomplish.
    For a report, you have some options, something like this could be pulled off inside a stored procedure
    SELECT utl_http.request( 'http://your_report_server?args_that_output_to_file_not_cache' )
    INTO buffer
    FROM DUAL;
    Where you don't care about buffer, since the report has been initiated.

Maybe you are looking for