Forms fails to reload a form when run locally

When I'm working on a form in Forms Builder (9.0.4.0.19) I can log on to the database and run the form locally with OC4J running. When I run the form the first time I'm prompted to log on to the database and then it loads the form correctly in Internet Explorer. But, when I shut down that form instance and try to reload it (with or without any change to the form) it fails to load and I get the following error:
<html> <head> ORACLE FORMS.</head>
<body onload="document.pform.submit();" >
<form name="pform" action="http://markc.cis.cuny.org:8889/forms90/f90servlet" method="POST">
<input type="hidden" name="form" value="U:\mvcbh\ACE_Enrollment_form\ace_enrollment2.fmx">
<input type="hidden" name="userid" value="ABCDEF/12345@database">
<input type="hidden" name="obr" value="yes">
<input type="hidden" name="array" value="YES">
</form> </body></html>
The error loads in an Internet Explorer window and references D:\documents and settings\mvcbh\Local Settings\Temp\s35o.1htm. The Oracle Client and Oracle Developer are installed on the C drive on this machine but our IT folks moved the default "documents and settings" folder to the D drive, so.... FWIW, I wasn't getting this error before I was given a new computer so whatever is causing this must be a configuration error--I just can't find it.
Can anyone tell me what I need to do to have Forms Developer load a form more than once? Having to shut down and restart OC4J and Forms Developer every time I want to load a form is a real pain....
Thanks,
Mark

This is not necessarily an error. This is the result of Microsoft adding new security to its browser. What you are looking at is the html code used to launch your form.
To correct the problem (assuming you are using IE6) do the following:
1. In the Builder, verify that in the Preferences > Runtime tab you have both the Application Server URL and Web Browser Location filled. Do not leave either blank.
2. Close ALL open browsers except one.
3. Select Tools > Internet Options > Advanced
4. In the Security section near the bottom, CHECK the box labeled "Allow active content to run in files from My Computer.
5. Click on OK and retest.
You can also disable this creation of the temp files which actually cause this problem in the first place, but this will expose the complete URL when you run a form. In other words the username and password will be in plain text in the URL. If this is not a problem then you can add the following to the registry in the area which contains the Developer Suite information:
FORMS90_HIDE_OBR_PARAMS
Set the value to 0
It also looks like you are running your forms from a network share. This is not really recommended. Try copying the form to the local machine while testing and developing.
U:\mvcbh\ACE_Enrollment_form\ace_enrollment2.fmx

Similar Messages

  • HP M8300f fails to start, shuts down when running

    I have to frequently use system restore because it fails to start properly.      When running, it frequently shuts down (blue or black screen).    From what I have learned researching on the net, there is a known issue with the motherboard on this computer.   
    I purchased two HP laptops that have also failed before their time.    Apparently a known issue with overheating.    I wish I had known before I bought them.    They both failed a year ago.     Now the desktop is failing.   
    Thank you, HP, for your not-so fine quality control.     
    I will never again purchase an HP computer or device of any kind.     Ever.      Nor will I recommend them to any of the people in my circle of friends or at the Fortune 100 company where I work.    

    The same problem to me. In just over a year, mine started with these freezing problems. After many tries with customer support, none of which provided me with a clue I gave up.Then I found the motherboard's capacitors were kind of bulged. Bad quality boards I guess.

  • Flash not appearing when run locally

    Hi,  I am having a weird issue with a user. He cannot display a swf when run locally on his machine in a browser. If he goes online he sees the movies fine. To test I sent him a movie with just an image in it and published to html. I double click the html page and can see the movie and image fine. He does the same on his machine and gets nothing just a blank page. Problem is we have an java app that runs local (using port 8000) and opens separate movies in new windows that he can never see.
    Thanks in advance,
    P.

    It sounds like you are having a file trust problem. To resolve that, you have to trust this file from the Flash Global Settings Manager.
    Go  there: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.htm l
    Add a path to the local file, restart browser and try again.

  • Failed to initialize  Databank exception when run from OLT

    HI All,
    I've created a script with an associated databank,that runs perfectly fine when run from OpenScript. But when I run from OLT, the following waring is encountered.
    Start failure message from agent "OLT Server": oracle.oats.common.databank.DatabankException: Failed to initialize Databank 'Forms.forms'
    Stopped Autopilot because of error on agent "OLT Server".
    Name of my DB is : forms
    and Script name is :Forms
    Please let me know the solution for this.
    Regards,
    Karthik
    Edited by: user777720 on May 21, 2013 5:00 AM

    Have you tried changing the parameter in the Assets/Databank "Save Path" from "Relative to current script" to "Relative to a repository"?
    Regards, Ian.

  • Failed to accept user input when run report on Web

    I've testing a report with one input parameter. It's a date with default current date. It is done by using SQL 'select sysdate from dual;' has been added to before form trigger. User is allowed to input any date other than the default sysdate before submitting the report. The report works fine when run in report builder, but it's failed to accepted user input date when called through web browser. The report still uses the current date as SQL parameter rather than user input date.
    Can anyone help me to fix this bug?
    The report is develped by Oracle 9i and is saved and run in .rdf format.

    I created a report with a user defined parameter p_date of DATE type. In the layout model, I created a field with p_date as data source. In the before form trigger, I put
    'select sysdate into :p_date from dual;
    I run the report through rwservlet:
    http://host:port/reports/rwservlet?report=datetest.rdf&destype=cache&desformat=html&userid=scott/tiger@orcl&paramform=yes
    In the html parameter form, I change the date from default current date to a future date and that date is shown in the final report.
    So I can't reproduce the bug.
    One thing you can try it to turn on reports server trace file, see what command line is sent to reports server when you submitting the parameter form.
    Thanks,
    -Shaun

  • C++/CUDA DLL fails to give correct results when running a second time

    Hi all.
    I just finished writing a C++/CUDA DLL that runs in labview.
    It passes a 3d array, crunches the data, then spits out some results as a 2d array.
    When I open labview, and run it, I get the predicted results. However if I run the labview code again, it gives me garbage data.
    I have to not only close the open VI, but all of labview itself, reopen it, and then it will work again for one run.
    I read a thread on somthing similar to this happening with C++ code due to the way labview handled threads, however this was over 10 years ago, and it seems that since LV 2008 this has been fixed. I am running LV 2011.
    In my code, I checked that all dynamic memory allocated gets deleted, both on the GPU and CPU so other than that, I'm not sure what the problem could be. What changes when I call the DLL a second time?
    Please ask me to clarify anything that you might need to know about the program, and its implimentation.
    I have written other labview DLLs in just C++ that have not had this problem, so I wonder if it is a CUDA specific thing, or maybe somthing else I am overlooking.

    It seems to be that something not properly closed. What you can try is - unload DLL.
    CUDA Compute Context should be theoretically not necessary if your CUDA functions executed "all in one call" (and properly closed at all). The reason for NI Compute is following: it is not guaranteed that thread safe DLL calls will be called in the same thread. So, for example if you have three separate DLL calls in LabVIEW, for example - transfer data to GPU memory, compute, transfer back to the host - they should be done in the same thread (in CUDA terms all functions should be executed within same context). You can call these functions in UI thread - it will work, but the UI thread will be blocked. Or you can mark calls as thread safe, and using NI Compute - then all three calls will be done within same thread and this thread is separated from UI thread.
    Andrey.

  • Problem accessing variables in loaded Captivate swfs when run locally

    I'm loading Captivate 3 swfs into a custom Flash player. Here
    is pseudocode that just gets to the point:
    var cp1_mc:MovieClip = this.createEmptyMovieClip("cp1_mc",
    1);
    cp1_mc.loadMovie("captivate1.swf");
    [wait for (cp1_mc.rdcmndGotoSlide != undefined) via
    setInterval]
    // ***** cp1_mc.rdcmndGotoSlide is FOUND
    var cp2_mc:MovieClip = this.createEmptyMovieClip("cp2_mc",
    2);
    cp2_mc.loadMovie("captivate2.swf");
    [wait for (cp2_mc.rdcmndGotoSlide != undefined) via
    setInterval]
    // ***** cp2_mc.rdcmndGotoSlide REMAINS UNDEFINED
    INDEFINITELY
    The thing is, this problem does not happen when testing the
    movie in Flash, nor does it happen when the player.swf is run on a
    server. It happens when the player.swf is playing locally in an
    html page.
    Can anyone give me a clue as to what's going on? My best
    guess is that it has something to do with Flash Player Security,
    because it only happens locally in a browser, but I just don't get
    what's happening.

    Turns out it was a Flash Player security issue and I had to
    set security settings to "always trust" for my local
    directory.

  • How to view the emma coverage test result when running local job

    Hi Guys,
    When using emma in DTE, we can obtain the code coverage test result. I submit a farm job, and can get a txt or html file on coverage report. But when I run it locally, the txt / html files is unavailable. I can only see a folder named coverage with coverage.emma & metadata.emma. So my question is how can I get the coverage report from it?
    If I can use some command to generate report files, then what is it and how to run it.
    Thanks

    Hello Twenz
    This forum is mainly (should not be only but it is) used for supporting Oracle Application Testing Suite (OATS) products.
    I guess your question is not related to this solution at all. So maybe this is not really the right forum.
    Good luck
    JB

  • Renaming a Project causes error when running locally

    The app uses an HTTPservice on a remote webserver. I have
    been running the same app locally for weeks. I occasionally publish
    up to the web server and all has been fine.
    I renamed the project (in the IDE) but now anytime I try to
    run the app locally I get:
    [RPC Fault faultString="Security error accessing url"
    faultCode="Channel.Security.Error" faultDetail="Destination:
    DefaultHTTP"]
    Still works fine when pushed to the web server.
    I have other apps that work fine locally and hit the same web
    server for HTTPservice.
    I tried renaming other projects and found that the same
    problem occured each time the project was renamed.
    Any suggestions?

    Found the cause of the problem, its FlashFireBug in Mozilla. When a swf is launched FlashFirebug tries to capture the swf, this messes up mobile apps running on the desktop.
    Found the answer in this post: http://forums.adobe.com/thread/852612

  • RegisterFont when running local doesn't work.

    Hi guys anybody knows why Font.register(class) doesn't work when i run from my local machine?
    the fonts.swf is loaded from a server loading fires a complete event so that should be fine.
    However when i load the fonts.swf also from local machine then it works fine.
    Anybody any idea?
    Regards Iason

    You can use network or local

  • Using external libraries over signed Java applet: InvocationTargetException when running locally with 7u51

    We have a signed Java applet that uses external libraries, specifically the OpenOffice application libraries.
    We have a problem running Java applet with 7u51 of "InvocationTargetException" when use these libraries OpenOffice, that is not signed; regardless of the browser used (Mozilla Firefox, Explorer, Chrome).
    Please, as you could solve this problem?   This problem can not arose with 7u40 and earlier..
    Best regards.

    In  java - JRE 1.7.0_51-b13 and signed applet - Stack Overflow found solution. I've missed to add in external jars manifest this: 
    Trusted-Library: true

  • Sorting array not working when run as a job

    I have a Powershell script that reads data from a log file, extracts a username and adds it to an array. I then sort the array to remove duplicates and export the data to a CSV file. The script works fine when run locally on the server but I need to call
    the script remotely for a number of servers and when I do this it does not output anything to the CSV. The script is run as a job.
    $ArrList = [System.Collections.ArrayList]@()
    # open file and read data
    $arrlist.Add("$final")
    $arrlist | sort -unique | out-file c:\scripts\iis_users.csv
    If I change the script to use add-content it can add entries to the same CSV file. But ideally I need to sort the output as there are many duplicates.

    Not sure why but that would only export the last user. I didn't have time to investigate so instead I decided to only add users to the array after first checking they didn't exist already:
    if ($arrlist -notcontains $final)
    $arrlist.Add("$final")
    add-content c:\scripts\iis_users.csv "$final"
    I thought this would create a performance hit but it seems almost as fast.

  • VO substitution not taking effect when running from Jdev

    Hi,
    I made a VO substition. However, when running the page from Jdev, the substition is not in effect. When I press "about this page" I see the original view objects - not my own.
    I have verified that my .jpx file contains the substitution.
    I have tried followed the instructions in the OAF user guide and added -Djbo.project=<myprojectname> to the project runtime java options.
    However - if deploying the jpx file on the server with jpximport, the substitution is working. But why is it necessary to deploy that substition on the server when running locally. Also, that should not be necessary according to the user guide.
    Any ideas?

    When running locally u don't need to dceploy substitution on server.You only need to add substitutions in jdev and added -Djbo.project=<myprojectname>
    Note that
    the Name value is the .jpx file name without the .jpx extension (for example, ExtendLabSolutions). Be
    sure to include a space between any existing options and the new option.Also confirm u have put correct jpx file name.
    When I press "about this page" I see the original view objects - not my own.
    This is because about this page must be picking VO definations from DB, and since ur extended files are not in jdev... it will not reflect here.--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Part.getContent() is never decoded when running on Mac through WebStart

    I have an application using JavaMail 1.4.3 to extract content from MimeMessages. This works great when run locally on Mac, Windows and Linux, and also on Windows and Linux through WebStart. When run through WebStart on the Mac, content from parts are never decoded, so I just get the stream class when calling part.getContent().
    It seems like some functionality is lost when running through WebStart on the Mac. I realize this can be a problem with the Java implementation on the Mac, but I'm hoping someone can give me a pointer as to how to figure out what's going wrong. If I start from the command line with the same JRE used by WebStart, everything is fine on the Mac as well.
    Any ideas?
    Sincerely,
    Edvin Syse

    I was too quick - part.getContent() is now decoded for most content types, for example text/plain, rfc822, all MimeBody types etc, but for text/html I always just get an empty string. Is text/html handled differently, maybe reading in another config-file or something, so I need to handle this case in another way?

  • Java Web Service very slow from Flex when not local

    I have a jaxws web service that I am using as the interface layer to a database that I call from a Flex application. All was working well when I was referencing the service from localhost, but as soon as I deployed a version to test against (running on AWS EBS) the service calls dropped to several minutes.
    To remove all external factors I could think of, I created a test service, which simply returns a list of 5 strings, therefore there is no DB connection issue and there are no complex objects to be interpreted. I still get exactly the same behaviour, the call is fast when running locally, but an absolute dog deployed.
    If I use a web browser to retrieve the wsdl / xsd locally or remotely, they return immediately. If I use soapUI to execute the call both local and remote instances return in less than 500ms.
    Using the Network Monitor, the wsdl takes a few hundred milliseconds to be retrieved, the xsd reference however, takes one minute and sometime fails altogether, ditto with the final call for data retrieval. There is no activity on the server at this time.
    The Request/Response times in Network monitor indicate that when the calls are made they are taking no more than 1 second to return, but there is exactly one minute between the wsdl retrieval and xsd call, similarly there is exatly one minute between xsd retrieval and data retrieval.
    Any ideas?

    Hi, I'm not sure I can post my application due to company privacy issues... I'll look into that.
    Note that if I execute the function from the test view of the data service (a logical data service) it responds in a reasonable amount of time - it's only when I call the same method through a web service that was generated from the data service taht I have a problem.. it consistently takes around 30 seconds +- 3 seconds. 
    Your last question... uhh yes... the web service/data service returns a summary of a person which does include address and contact info.
    Let me see about attaching the application - I'm thinking the answer will be no, however... is it possible for you to help without having the code? Hopefully the above information helped.

Maybe you are looking for

  • Audio from Macbook Late 2008 to Samsung LE32R88BD Help!

    Hi, I have am trying to resolve an audio issue: Samsung LE32R88BD TV Macbook 13" Aluminium Late 2008 From the Macbook I currently have an Apple Minidisplay adapter - DVI and then a DVI - HDMI connector into that, which has an HDMI lead running into m

  • IMovie Can't Find Moved Projects

    I am trying to move all of my iMovie Files (events folder and projects folder) from an external drive to my internal drive. I have moved the event files successfully from within iMovie. But I don't know how to move the project files. I tried moving t

  • XML Validation with Sun Multischema XML Validator

    Dear readers, I am able to parse an XML file and validate it with a W3C-schema. But has anyone ever tried and succeeded in validating a part of an XML file or DOMDocument? It should go with the Sun MultiSchema Validator. Available @ http://wwws.sun.c

  • How to set datetime datatype in sql server simultaneously

    Hi, How can I set date and time simultaneously in datetime field in sql server 2000 using jdbc. Thanks

  • Repaint in applet

    hi i've got an applet that draws an offset Image when mouse drag. now, when i minimize the browser and restore it back, the offset image disappear and i need to draw it by mouse drag again. what should i do to avoid the image to disappear?