IE7 and web.show_document

We run a forms application using 9.0.4 on IAS10gR1, JInitiator is 1.3.1.13. We often use web.show_document to display files (usually pdfs, but also other types) that are stored as blobs in the db or as files on the app server. From time to time users complain that this feature doesn't work anymore. In most cases this is caused by a popup blocker, either IE, or they use Firefox, or have installed Google's or Yahoo's toolbar with their popup blockers enabled.
But now we are facing problems with users that have installed IE7. When they try to show a file which should be displayed using web.show_document, a new window flickers shortly and then disappears, even with the popup blocker disabled.
Anybody out there with the same experience and (hopefully) a solution/workaround?
And yes, I know that IE7 is not yet certified.
Thanks in advance.
Gerald

We had the same problem opening files through web.show_document with IE7. It has to do with the Download settings in your Internet or LocalIntranet zones under Tools > Internet Options > Security > Select the zone > Custom level > Downloads group > Automatic prompting for file downloads setting.
These prohibit IE7 to ask the user about downloading a file. That's why the new browser window closes right away. You could either change the settings for Internet and lower the security for all sites, or add your Forms server to Local intranet or even TrustedSites and set these up properly.

Similar Messages

  • IE7 and Web control panel

    is anyone running win xp pro with IE7 and having problems getting to the control panel? all i should be doing is putting in http://192.168.1.1  right? it just thinks about it and then gives me a google search result.. yes i put this in the address bar and not do a google search
    anyone else have this problem? any fixes?
    thanks for your help!!

    Try opening a normal folder and typing it in the directory box. (looks just like address box)

  • Calling a report with web.show_document and put pdf in temp directory

    Hi,
    I need to call a report 10g with web.show_document in order to generate a .pfd file (not viewed by the user) as soon as the user press a button in a form.
    I have two problems. Firstly, after generate .pdf, it's opened a undesirable windows "process succefully" (I don't want that window). Secondly, in url parameter, I put:
    (...)DESTYPE=File&DESFORMAT=pdf&DESNAME=' || client_win_api.get_temp_directory
    the target directory to .pdf file might be the user temporary directory, and not c:\temp, because in Windows XP the user haven't some writing privileges.
    How there is spaces in temporary directory, like:
    C:\Documents and Settings\<user>\Local Configurations\Temp
    I supose that Get_temp_directory returns something that:
    C:\Documen~1\<user>\Local~1\Temp
    And web.show_document don't understand.
    Can anyone help me?
    Thanks a lot,
    medina.

    Hi Maahjoor,
    i have install windows xp on vmware having loop back adapter configure with ip 192.168.10.1.i am using oracle developer 10g suite and oracle 10g r2 database.
    i want to call a report using the following code on a button.i have attached the report to the form.
    i have started the report server by issuing rwserver server=repsrv.
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status varchar2(20);
    BEGIN
    repid := FIND_REPORT_OBJECT('ALL_EXPENSES');
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := RUN_REPORT_OBJECT(v_rep);
    WHILE rep_status IN ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    END LOOP;
    IF rep_status = 'FINISHED' THEN
    WEB.SHOW_DOCUMENT('http://192.168.10.1:8889/reports/rwservlet'||substr(v_rep,'_',-1)+1||'?'||'server=repsrv','_blank');
    ELSE
    Message('Error when running report');
    END IF;
    end;now when i run the command, i get this error
    frm-41214: unable to run the report
    frm-41219: cannot find the report.invalid id.
    argument 1 to builtin run_report_object acnnot be null.
    i thin the problem is with this line. WEB.SHOW_DOCUMENT('http://192.168.10.1:8889/reports/rwservlet'||substr(v_rep,'_',-1)+1||'?'||'server=repsrv','_blank');
    can anyone help? or a better piece of code?>
    I think you are mixing up the web.show_document usage for URL and with RUN_REPORT_OBJECT.
    I hope you have studied this document http://www.oracle.com/technetwork/products/migration/frm10gsrw10g-132606.pdf . It has the required examples and code.
    Cheers,

  • Web.show_document calling .htm files saved on disk....

    Hi ,
    Is it possible to call .htm files saved on disk - let's say c:\my_htmFiles on AppServer/DevSuiteServer using the web.show_document form's built-in...????
    I have tried the following:
    web.show_document('c:\my_htmfiles\first.htm','_blank') and
    web.show_document('file://c:\my_htmfiles\first.htm','_blank')
    but whereas in the web browser's file->open both of them work.... in web.show_document do not....
    Is it possible to do it....?????
    Note: I use Dev10g
    Thanks....
    Sim

    I 'll try it of course.... but is it possible to define multiple directories down this virtual directory.....????
    Assuming that there is the following dir structure:
    C:\dev10gr2/tools/web/html
           |
           |--------------------------------------------/app1
                                                         |---------------/subdir1
                                                         |---------------/subdir2
           |--------------------------------------------/app2
           |--------------------------------------------/app3Is it possible to define multiple dirs ....????
    Is there any doc which describes it with examples.....?????
    Thanks.......
    Sim

  • Problem with web.show_document with Jinitiator and Firefox

    Not sure Firefox 2.0 is officially certified with Forms 9.0.4.1 and Jinitiatorbut regardless we have some users who want to use this combination. Everything seems to work fine except for the calls to web.show_document which opens a new browser window and displays some html etc.
    The problem is that even though the client Forms JVM is Jinitiator (1.3.1.18 or .21) when the call to web.show_document occurs somehow the Sun Java Plugin starts and having the two JVM's at once causes a fatal crash in Firefox. Can anyone suggest a way to preven the second JVM from opening?
    When the user uses the Sun Plug as the client Forms JVM there is no problem as the second JVM does not open. Unfortunately some users insist on Jinitiator with Firefox hence the problem. -quinn

    James,
    This whole applet embedded in a browser model for webforms is driving us batty at times. The list of problems includes:
    1) Users are constantly tempted by browser controls and accidentally do all sorts of things to get them in trouble. This has included but not limited to using the navigation arrows, jumping off to read their email in the same window as the form and returning to a dead forms session, minimizing, resizing, blurring off to another window and then returning back by clicking on the title bar of the browser and wondering why the form doesn't tab etc.
    Sure hobbling the browser by opening with limited functionality is a possibility but not a complete solution.
    2) New versions of browsers seem to break something. Both IE 7 and Firefox 2 have their own problems with web.show_document, especially file associations such as CSV and DBF and trying to open things in Excel in IE7.Firefox seems to have less problems for some yet some some oddities like the one that started this thread (and 2.0 opening new windows in tabs by default instead of windows).
    3) JVM jigsaw puzzle. Is it Jinit or Sun, which versions? Which combinations of browser version and JVM works.
    4) General fragility of the whole architecture. Running a client JVM in a web browser on top of a PC Operating system connectiong to a forms server over a network embedded in a Java Container server on a full blown web server running on a unix operating system is pushing the bubble. Throw in the mix that any of these components can be combined in numerous ways makes one wonder how it works as well as it does.
    Still users randomly getting dropped connections to forms server (network gltches?). General sluggishness (poorly written forms?). Periods of users with unduplicatable errors primarily network related it would appear.
    General feel that it is not rock solid stable. Perusing metalink documents on performance and tuning gives too much and too general info to troubleshoot so just shrug shoulders and say 'network problem'.
    What's the solution? Java webstart would seem to help at least with the browser realted issues but is that supported and documented how to use yet. Also we'd lose web_show_document which is critical (could it be replaced by webutil calls to open browser?).
    -quinn

  • Using Forms 10.1.2.3 and JRE1.6.0_10, web.show_document pops window behind

    Hello everyone, we are using Forms 10.1.2.3 and JRE1.6.0_10. We have separateFrame=true. We noticed when we open another browser using web.show_document('xxxx','_blank'), for example to our online help, the window pops behind the Forms MDI window. In previous versions of java it always popped in front of it like you would expect. We are using XP and IE7. It also acted the same way on Vista with IE7 as well. Has anyone else encountered this or found a workaround?

    As far as the dll goes, our dll is written in C and uses I guess windows api calls to start whatever task we need. (I didnt write it). As far as the forms code goes, we use the webutil_c_api calls. Here's a sample of the function I call from forms:
    FUNCTION StartTask ( pStartin varchar2, pCommandline varchar2, perrormessage in out varchar2) return number IS
              StartIn varchar2(255) := pStartIn;
              Commandline varchar2(1000) := pCommandline;
              Errmsg varchar2(2000):='$$';
         rc pls_integer;
              f_handle WEBUTIL_C_API.FUNCTIONHANDLE;
              args Webutil_c_api.parameterlist;
              param1 Webutil_c_api.ParameterHandle;
              param2 Webutil_c_api.ParameterHandle;
              param3 Webutil_c_api.ParameterHandle;
         begin
              --debuglog('calling StartTask local');
              f_handle := WEBUTIL_C_API.register_function('ClientUtils.dll','StartTask');
              args := WEBUTIL_C_API.create_parameter_list;
         param1 := WEBUTIL_C_API.add_parameter(args,WEBUTIL_C_API.C_CHAR_PTR
              ,WEBUTIL_C_API.PARAM_INOUT,StartIn, 255);
              param2 := WEBUTIL_C_API.add_parameter(args,WEBUTIL_C_API.C_CHAR_PTR
              ,WEBUTIL_C_API.PARAM_INOUT,Commandline, 1000);
              param3:= WEBUTIL_C_API.add_parameter(args,WEBUTIL_C_API.C_CHAR_PTR
              ,WEBUTIL_C_API.PARAM_INOUT,Errmsg, 2000);          
              rc := WEBUTIL_C_API.Invoke_Int(     'ClientUtils.dll','StartTask',args);     
              perrormessage := WEBUTIL_C_API.GET_PARAMETER_STRING(args,param3);
         WEBUTIL_C_API.Destroy_Parameter_List(args);
         WEBUTIL_C_API.Deregister_Function(f_handle);                                                                                
         return rc;
         END;

  • Closing the browser windows created by web.show_document and javascript

    From Forms I am issuing a http request using web.show_document and javascript:window.open(). The http request makes a remote procedure call to a coldfusion component on a JRun appserver. I want this rpc to fire in the background so that the current forms browser window remains as is.
    The logic is as follows
    l_rpcURL := 'http://....just a standard URL.....'; -- edited for this thread
    l_jsURL := 'javascript:window.open("' || l_rpcURL || '","","fullscreen=no,titlebar=no,location=no,toolbar=no,menubar=no,status=no,resizable=no");self.close();';
    WEB.SHOW_DOCUMENT (l_jsURL,'_blank');
    The http request works fine but leaves a browser window behind. It's the one created by the javascript.window.open(). If I remove the self.close() from the javascript then I have two browser windows open, one from web.show_document and the other, as described previously, from the window.open().
    Any idea how I can force closure of the window opened by the window.open() ?
    Thanks

    Hi,
    did this occured afer installing service pack 2?
    A work around is The only solution that is to create a close.html file and calling this file in the code: Web.show_document('http://server:port/close.html','_self');
    <html>
    <body onload="closeit()">
    <script>
    window.close();
    </script>
    </body>
    </html>
    Monica

  • Web.show_document and File Save As

    Hello,
    I have a Perl CGI scrfipt on the server that I can call from a web brwoser. Its purpose is do save a file passed in to any locatgion on the PC.
    In the borowser I can use:
    http://devpong/cgi-bin/cap/savefile.cgi?dirpath=/capexp/to_SGP&fname=ZU060920.C78
    and I get a Save As dialog and it is written to that directory. Works very well.
    This is the Perl CGI code:
    use CGI ':standard';
    use CGI::Carp qw(fatalsToBrowser);
    my @fileholder;
    my ($web_keys)= ["dirpath", "fname", "mode"];
    my ($Param) = get_params($Param, $web_keys);
    # print_head($Param);
    # redirectwindow($Param);
    open(DLFILE, "$Param->{dirpath}/$Param->{fname}") || Error('open', 'file');
    @fileholder = <DLFILE>;
    close (DLFILE) || Error ('close', 'file');
    print "Content-Type:application/x-download\n";
    print "Content-Disposition:attachment;filename=$Param->{fname}\n\n";
    print @fileholder;
    I want to do the same thing from the Forms 6i application. In web.show_document I put in the exact same URL that works stand alone in the browser and have tried all of the seceond argument setting (_BLANK, etc.). Just for a millisecond a window opens then immidately closes. I have included a raise FORM_TRIGGER_FAILURE in the trigger to make it wait, but to no avail.
    I found a document that said if a URL works in the browser, it will work in web.show_document. That is not true for me.
    Do I need to build an html page first to open in the borwser from web.show_document?
    Does webutil_file have the ability to let the user choose the destination directory?
    What we did in the past was to make sure the file extension was not in the registry of the PC. Then the browser would force a Save As dialog. With XP SP2 this does not work without making several changes to the file types.
    That is why I would like a solution that does not rely on file type set up.
    Any suggestions will be appreciated.

    Well, it sounds like you want the server to tell the client that this content shouldn't be read from cache...
    Among the posible solutions:
    Apache can be configurated with modules like 'mod_expires' and 'mod_headers'.
    Or, you could write a JSP file that sets the appropriate http headers and streams your file accordingly. The http headers I think you're interested in:
    - cache-control (to prevent client caching)
    - content-disposition (to set the filename of the download)
    You might want to read this thread:
    http://p2p.wrox.com/topic.asp?TOPIC_ID=29405
    Cheers,
    Mel.

  • Web.Show_document and oracle session

    Hi,
    I am uploading a file on to Oracle Portal through web util. After this, I am calling the web.showdocument to view the uploaded file. But I am seeing only a blank page. This is the sequence flow.
    1. Forms call a procedure which will create a dummy record of the document to be uploaded. This insert is happening as an autonomous transaction.
    2. The Forms call webutil and uploads the document
    3. Then I am calling web.show_document to view the document. The browser is opening an empty page. But once I did an explicit commit, I can open and view the document successfully in the same way.
    I am using '_blank' option.
    So, what I infer from this is that web.show_document opens the browser with a new oracle session by passing authentication details internally. Is there any way view the document without doing an explicit commit?
    Thank you.
    Warm Regards,
    Raja.
    Message was edited by:
    Raja M

    Check
    [b]Mozilla Firefox Options
    File Types
    The Download Actions dialog, which can be opened by clicking the
    Manage... button, contains file types that you have downloaded.
    You can choose what Firefox should do when clicking on a specific
    file type by selecting the file type you want to modify and clicking the
    Change Action... button.

  • Problem when using WEB.SHOW_DOCUMENT and passing in lexical parameter

    Hi,
    I got a blank page with error "An error has occured while trying to use this document" when I tried to use web.show_document and passing a lexical parameter to 10g report on 10gAS. The URL in the web.show_document is:
    http://<srvname>:<portnum>/reports/rwservlet?server=repserver90&report=myrpt.rdf&destype=Cache&desformat=pdf&userid=<usr>/<pw>@<db>&where_clause=where%20product_type%20in%20('REPORT')
    If I change the desformat to htmlcss, it is fine to display the report. But doesn't work with desformat=pdf. The pdf file has been generated in the cache. Why can't it display on the screen.
    Also I tried to use double quote the value for where_clause. The pdf report showed up. But it ignored the where clause.
    Experts please help.
    Ying

    I use lexical parameters and they work fine, but I use a parameter list. The code is contained in a form that is called by all forms that wish to run a report. This way you only need the logic for printing in a single form. If you want the form, email me at [email protected]

  • Simultaneous preview AND distribution with WEB.show_document

    I would like to be able to run a report via web.show_document, showing it to the user AND, at the same time, distribute it to destination list.
    I can do preview (distribute=no) OR distribute (distribute=yes), but not both.
    Am I missing something?

    You are generating a text file you say. Is it a pure text file? Or is it html that you wnt the user to view in the browser?
    In what versions of IE is this happening in?

  • Troubles with web.show_document and internet explorer

    Hi folks, this is my problem
    I generate a text file on forms and then I use this to open the document in a new window
    web.show_document( nome_ver_, '_BLANK' );where nome_ver_ is a variable with the url
    Using mozila firefox this run fines and a new window is open and everything goes right.
    But in some machines with the internet explorer the new window appear and then close in milliseconds. I try different's versions of IE on the machine and still have the problem...
    Anyone see this bug?
    I try to disabled everything on secure on IE and still nothing...
    Sorry for my bad english and thanks in advance
    Luis

    You are generating a text file you say. Is it a pure text file? Or is it html that you wnt the user to view in the browser?
    In what versions of IE is this happening in?

  • Web.show_document and Firefox

    Hi,
    we are usin web.show_document in oracle forms 9 for showing
    scanned documents
    Call working fine in IE all versions, but in firefox ver.2.0.0.6 we are not able to see *.tif document. When we press the button nothing happens. Is there problem with firefox settings or in the call web.show_document function.
    Thank you very much for any answer.

    Check
    [b]Mozilla Firefox Options
    File Types
    The Download Actions dialog, which can be opened by clicking the
    Manage... button, contains file types that you have downloaded.
    You can choose what Firefox should do when clicking on a specific
    file type by selecting the file type you want to modify and clicking the
    Change Action... button.

  • Calling Reports from Forms (run_report_object and then Web.Show_document)

    Hi all,
    we are in the process to prepare a Forms-Migration from 6i to 10g and like probably most of the other Forms-Customers we also use Reports.
    We have setup a test-scenario with Forms/Reports Standalone Installation. So we have some Forms running and we are now starting to test reports.
    I have created a Test-Form to call run_report_object in the documented way. That means described in the white paper. set the parameters, then call the run_report_object BUILTIN and when the job is finished, I do a call to the Web.Show_Document BUILTIN with "getjobid". As destype I use "CACHE"
    So far so good, that works like a charm.
    But after seeing the output in the browser, I can use the URL as a template and only change the jobid and then I can see all other reports as well, whether the output is from me or not. Even worse if I change the URL to use the command "showjobs" I can see a nice list with all the output and can click and see all of them.
    Is there a way to secure this in an easy way.
    I have read the white papaer about securing the use of WEB.SHOW_DOCUMENT with a cookie, but that sounds to me that it is meant if I want to run the report with that builtin which isn't the case I am willing to run the Report with "RUN_REPORT_OBJECT" which is secure enough to me, but the output of all jobs can be seen from anybody.
    Because we use the Forms/Reports Standalone Installation (because of License-Costs, ...) Single-Sign_on is no option for us we only want a situation where we can do the same as before.
    Run a report, see the output and nobody else can see it.
    If anybody has an idea how to do it, that would be great.
    Thanks,
    Mark

    thanks for the answers,
    but I'm still thinking that there is no "easy" Migration-Solution for our request.
    Running a report and after doing whatever needs to be done (read, print, ...) and don't care about additional security because nobody else can read it.
    But that might be the price for the bunch of new features in the "Web"-World were you never know where your application runs and you have to secure a lot more stuff then before.
    Anyway I think we proceed with a combination out of the adviced Metalink Note : 437246.1. We can set the expiration-parameter, we cannot set diagnostic=NO because we use Run_Report_Object but we can change httpd.conf and we reject all calls to showmap, showjopbs, etc.
    I'm not sure whether we need the rewrite part, but we'll see.
    Thanks,
    Mark

  • Web.Show_Document and Shared Directories

    Hello,
    I want to use web.show_document to access a shared folder on a machine.
    Whenever I issues the web.show_document to \\workstation\folder\ the browser appends \\workstation\folder\ to the end of the application server URL (eg: http://appserver/servlet///workstation/folder/). Is there any way around this problem?
    Thanks,
    Jayesh Kavia

    web.show_document('file://c:\word\martin.doc','_SELF');
    //Martin

Maybe you are looking for

  • Skype can't detect sound card, issue with playback...

    Hello I have just received my Razer kraken 7.1 headset and have installed razer synapse 2.0. I have set up my mic and speakers of the headset through the control panel, my playback is set as the razer kraken 7.1 earphone and the mic is set as the hea

  • How to make a Website in Muse with a Login Forum

    I need to build a website for a client in Muse which has access to a Login Forum, so that users can login to a secure site and upload messages and images/video. I have never done this before, but I'm quite experienced in other aspects of Web Design a

  • Using a script to get the color of a colorized Black & White Bitmap image

    I've been running into this wall for quite some time and would greatly appreciate any help that can given for it. I have an Illustrator script that runs inside of a BridgeTalk session within an InDesign script.  Yeah, it's complicated.  The upshot is

  • ERP Sales Order with Profit Center value mandatory in ECC side!

    Hi Experts, I'm working with a scenario using SAP CRM 7.0 and ECC 6.0 EHP4, using ERP Sales Order and ERP Quotation. The sales order transaction type in ECC side is set up to use profit center at item level as mandatory and I can't find this attribut

  • Removing check box in ecatt

    hello I am trying to use an ECATT to upload data in transaction SR11. the problem is that i have to un-check a check box which is by defauly checked. in the text file i have tried to keep it empty and tried to put it as 'x'. but after running the eca