Home » Developer & Programmer » Forms » Running form causes Windows Error Report (Oracle Forms Builder)
Running form causes Windows Error Report [message #357509] Wed, 05 November 2008 12:30 Go to next message
ShoeSh1ne
Messages: 11
Registered: November 2008
Junior Member
Hi all,

After loading a DB in SQL and running the OC4J Instance, I went into the forms builder. Opened a form and then went to run it. Once I enter the log in info for the database, I get the Windows Error Report form:

Oracle Forms Designer has encountered a problem and needs to close. We are sorry for the inconvenience.

And then of course the Forms Builder closes.

Does anyone have an idea on the cause of this?
Re: Running form causes Windows Error Report [message #357510 is a reply to message #357509] Wed, 05 November 2008 12:40 Go to previous messageGo to next message
Littlefoot
Messages: 20901
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
You didn't provide enough meaningful information (for example, OS version as well as Forms version).
Re: Running form causes Windows Error Report [message #357511 is a reply to message #357509] Wed, 05 November 2008 12:45 Go to previous messageGo to next message
ShoeSh1ne
Messages: 11
Registered: November 2008
Junior Member
Sorry.

I'm running XP, Oracle Developer Suite 10g, Forms [32 Bit] Version 9.0.4.0.19 (Production)
Re: Running form causes Windows Error Report [message #357513 is a reply to message #357511] Wed, 05 November 2008 12:54 Go to previous messageGo to next message
Littlefoot
Messages: 20901
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Try to log on BEFORE running the form (i.e. immediately after Forms Builder initializes). Open the form. Recompile ALL the form (Ctrl + Shift + K). Then run the form.

Did you correctly set Forms preferences (Edit menu - Preferences - Runtime tab)? Try to reset Application Server's URL to default.

By the way, which internet browser do you use? MS Internet Explorer 6 *usually* works OK. As you probably have it installed, browse to its location in order to use it (instead of, for example, Opera or Mozilla Firefox or MS IE 7).

Also, if you choose MS IE as browser, go to Tools - Internet options - Advanced tab and (under the Security node) check the "Allow active content to run in files on My Computer" checkbox.

Finally, disable firewall (if you use it).
Re: Running form causes Windows Error Report [message #357516 is a reply to message #357509] Wed, 05 November 2008 13:05 Go to previous messageGo to next message
ShoeSh1ne
Messages: 11
Registered: November 2008
Junior Member
Did what you suggest - Connected just fine. Went to Run Form and the Windows Error Report immediately came up.

Just so we're clear, I don't even get to the part of a browser opening up to display the form. Just the Windows Error Report forms comes up. I of course choose to Send or Don't Send the report and then the Forms Builder closes.

[Updated on: Wed, 05 November 2008 13:06]

Report message to a moderator

Re: Running form causes Windows Error Report [message #357526 is a reply to message #357516] Wed, 05 November 2008 14:34 Go to previous messageGo to next message
Littlefoot
Messages: 20901
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
I'm afraid I'm out of easy ideas; the next that I can think of is reinstalling Developer Suite; if it doesn't help, and if you can afford it, a complete system reinstall might also be the choice.

However, let this be the last option; perhaps you should wait for another opinion.

Sorry that I couldn't help.
Re: Running form causes Windows Error Report [message #357527 is a reply to message #357509] Wed, 05 November 2008 14:40 Go to previous messageGo to next message
ShoeSh1ne
Messages: 11
Registered: November 2008
Junior Member
Ya, I've already reinstalled and that didn't work, a system reinstall is out of the question as this is just a HW assignment for one of my classes.

I appreciate your help though.
Re: Running form causes Windows Error Report [message #357545 is a reply to message #357527] Wed, 05 November 2008 17:36 Go to previous messageGo to next message
ShoeSh1ne
Messages: 11
Registered: November 2008
Junior Member
Tried it at the lab on campus and it worked like a charm, so it's a problem on my end.

Something that may be noteworthy... while installing, an error about not being able to write to a dll came up, I had the option to retry or ignore. Retry didn't work so I ignored it.

Could this possibly be the culprit?
Re: Running form causes Windows Error Report [message #357589 is a reply to message #357545] Thu, 06 November 2008 00:05 Go to previous messageGo to next message
Littlefoot
Messages: 20901
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Could be.
Re: Running form causes Windows Error Report [message #357603 is a reply to message #357589] Thu, 06 November 2008 00:44 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Remove Oracle Forms from your PC by doing an Oracle unistall, then delete the directory into which you installed Oracle Forms, then go into 'regedit' and remove the entry under HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE that holds the Forms information. Then reboot your PC TWICE and make sure that the registry entry has not reappeared.

Then reinstall Oracle Forms. This time making a note of the 'dll' that gave you a problem.

David
Re: Running form causes Windows Error Report [message #357610 is a reply to message #357509] Thu, 06 November 2008 00:51 Go to previous messageGo to next message
ShoeSh1ne
Messages: 11
Registered: November 2008
Junior Member
OK, I will try that first thing tomorrow.

Thanks David.
Re: Running form causes Windows Error Report [message #358125 is a reply to message #357610] Sat, 08 November 2008 19:03 Go to previous messageGo to next message
ShoeSh1ne
Messages: 11
Registered: November 2008
Junior Member
Took longer to get to than expected. Doing this now.

I did a full uninstall as there were too many keys to try to find the one for Forms.

There was still an ORACLE tree after doing regedit, even after rebooting twice, I deleted it and then installed again.

Error is:

Error in writing to file C:\WINDOWS\system32\mfcans32.dll
[C:\WINDOWS\system32\mfcans32.dll (Access is denied)]

[Updated on: Sat, 08 November 2008 19:23]

Report message to a moderator

Re: Running form causes Windows Error Report [message #358189 is a reply to message #358125] Mon, 10 November 2008 00:48 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
What else do you have running on your PC? Do you have administrator rights?

David
Re: Running form causes Windows Error Report [message #358305 is a reply to message #358189] Mon, 10 November 2008 11:19 Go to previous messageGo to next message
ShoeSh1ne
Messages: 11
Registered: November 2008
Junior Member
A lot of stuff... it's a home PC.

And yes.
Re: Running form causes Windows Error Report [message #358541 is a reply to message #358305] Tue, 11 November 2008 18:52 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Startup a 'cmd' session and do a 'tasklist /m mfcans32.dll' to see what is using it.

David
Re: Running form causes Windows Error Report [message #358553 is a reply to message #357509] Tue, 11 November 2008 19:50 Go to previous messageGo to next message
ShoeSh1ne
Messages: 11
Registered: November 2008
Junior Member
Interesting:

No tasks running with the specified criteria.
Re: Running form causes Windows Error Report [message #358568 is a reply to message #358553] Tue, 11 November 2008 21:08 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Googling 'mfcans32.dll' I found "mfcans32.dll is a module that contains functions for converting between Unicode and MBCS (Multibyte-Character Set) using the OLE interface".

What language are you running on your PC?

Do you have an 'ole' application running?

Shutdown as much as you can before installing Oracle Forms.

David

[Updated on: Tue, 11 November 2008 21:08]

Report message to a moderator

Re: Running form causes Windows Error Report [message #359321 is a reply to message #358568] Fri, 14 November 2008 14:39 Go to previous messageGo to next message
ShoeSh1ne
Messages: 11
Registered: November 2008
Junior Member
OK, for some reason, I can run Forms now.

While doing a query, I get the error saying there are no records to be retrieved yet I know they are in the database, am I forgetting a step?

Now the data isn't showing up when I query in SQL... and when I try to INSERT something, it just hangs.

[Updated on: Fri, 14 November 2008 16:04]

Report message to a moderator

Re: Running form causes Windows Error Report [message #359412 is a reply to message #359321] Sat, 15 November 2008 13:38 Go to previous messageGo to next message
Littlefoot
Messages: 20901
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Your last post is a little bit confusing; I *know* you have edited it an hour and a half after the initial post, but ... still, I don't understand what the current situation is.

Are those records in the table you are trying to query or not? You couldn't have seen them in a form; can you see them in SQL*Plus? (Apparently not any more, if I understood what you've said.)

Insert hangs? Just "hangs", or is there any error, such as the table is locked or ... something else?
Re: Running form causes Windows Error Report [message #359413 is a reply to message #359412] Sat, 15 November 2008 13:44 Go to previous messageGo to next message
ShoeSh1ne
Messages: 11
Registered: November 2008
Junior Member
Sorry about the confusing post, I had spent hours inserting data and it appeared to have just vanished so I was upset and flustered as you can imagine.

As of now... everything seems to work fine. I can run forms only if they are created and then ran, I can't run a saved form - at least on this machine anyway.

Thanks for everyones help.
Re: Running form causes Windows Error Report [message #359489 is a reply to message #359413] Sun, 16 November 2008 21:18 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Do you have the directory containing your forms in the 'forms_path' entry of the registry?

David
Previous Topic: Open a word template and fill a word macro
Next Topic: Printing file from form to printer
Goto Forum:
  


Current Time: Sat Dec 10 20:32:12 CST 2016

Total time taken to generate the page: 0.26276 seconds