Cannot read menu file [message #290922] |
Wed, 02 January 2008 03:30 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
durgadas.menon
Messages: 365 Registered: December 2007 Location: Nowhere
|
Senior Member |
|
|
Guys,
I am having this problem about not being able to read the menu file.
I made a menu object and attached it to the form module but now when I try to run the form it gives me this error that it cannot read the menu module though the form is running properly.
I have also attached a screen shot.
- Das
-
Attachment: error.bmp
(Size: 272.00KB, Downloaded 806 times)
|
|
|
Re: Cannot Read Menu File [message #290933 is a reply to message #290922] |
Wed, 02 January 2008 04:03 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
mintomohan
Messages: 104 Registered: November 2006 Location: India
|
Senior Member |
|
|
hi,
is the fmx file and the mmx file present in the same directory ?
Are you running the form in your local machine or on an application server ?
Minto
|
|
|
|
Re: Cannot Read Menu File [message #291418 is a reply to message #290933] |
Fri, 04 January 2008 02:43 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
durgadas.menon
Messages: 365 Registered: December 2007 Location: Nowhere
|
Senior Member |
|
|
I have installed the database (9i) and the developer suite (10g) on the same machine.
I tried a couple of times but when I create a new form and a menu and attach it with the form then it throws an error that not able to read the menu item.
Any idea why this may occur
- Das
|
|
|
Re: Cannot Read Menu File [message #291419 is a reply to message #290935] |
Fri, 04 January 2008 02:45 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
durgadas.menon
Messages: 365 Registered: December 2007 Location: Nowhere
|
Senior Member |
|
|
I changed the default menu in the form to the menu I just created..
Did not know anything about giving read permissions?
Can you tell me how exactly to do it?
- Das
|
|
|
|
|
|
Re: Cannot read menu file [message #292563 is a reply to message #292396] |
Wed, 09 January 2008 03:56 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
durgadas.menon
Messages: 365 Registered: December 2007 Location: Nowhere
|
Senior Member |
|
|
Thanks for the reply David
I have not defined the forms path. This is the first time I am playing with forms so I may not know that.
I have installed 10g developer suit and 9i database on my computer. When I run simple forms (forms which just display data) then it is running perfectly.
When I create menu and attach them with the forms I get an error message at run time that it is not able to read the menu but still the from displays properly with the columns
Can you assist me on this?
- Das
|
|
|
|
Re: Cannot read menu file [message #292819 is a reply to message #292780] |
Wed, 09 January 2008 23:52 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
durgadas.menon
Messages: 365 Registered: December 2007 Location: Nowhere
|
Senior Member |
|
|
Thanks for the reply.
My form and the menu are both saved on the desktop. Name of the form is Form1 and Menu is Menu1. 'Test form', I don't know what you mean by that but yes I am able to run forms for which Menus are not attached.
I am first creating a simple menu (File-Save) and then changing Menu Module (in the property palette of the form) to Menu1. Compiling it and running it(CTLR + R).
Please let me know if you need any more details
- Das
|
|
|
Re: Cannot read menu file [message #292833 is a reply to message #292819] |
Thu, 10 January 2008 00:25 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
mintomohan
Messages: 104 Registered: November 2006 Location: India
|
Senior Member |
|
|
hi,
when you place the form on your desktop, there might be some space in the path of the file.
For eg: C:\Documents and Settings\username\Desktop\form.fmx
I think this might be causing the issue.
Could you just copy the form and menu to some other folder and check whether its working.
Minto
|
|
|
|
Re: Cannot read menu file [message #292880 is a reply to message #292833] |
Thu, 10 January 2008 02:03 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
durgadas.menon
Messages: 365 Registered: December 2007 Location: Nowhere
|
Senior Member |
|
|
Thanks for the reply Minto
I tried doing that I created a new Menu and form in another folder in the D drive but still it is giving the error ' FRM - 10221 Cannot read 'form_name'
Did I forget about configuring a path for the app server to read the menu?
Please assist me if you can
- DAS
|
|
|
Re: Cannot read menu file [message #292891 is a reply to message #292842] |
Thu, 10 January 2008 02:19 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
durgadas.menon
Messages: 365 Registered: December 2007 Location: Nowhere
|
Senior Member |
|
|
Hi David,
My developer home is in E drive so I created a new form and a new Menu and saved it in the developer home in the forms90 folder (where I saw the 'test' form you had mentioned) unfortunately when I reopened the form from that location and ran it (CTLR +R ) it still gave me that error.
If this is not becoming too much for you then can you help me if you know the answer
- Das
|
|
|
|
|
|
Re: Cannot read menu file [message #292938 is a reply to message #292912] |
Thu, 10 January 2008 03:53 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
mintomohan
Messages: 104 Registered: November 2006 Location: India
|
Senior Member |
|
|
if you are using an application server instead of running the form on you local machine, you have to set this parameter in the named configuration in the file formsweb.cfg
Minto
|
|
|
|
Re: Cannot read menu file [message #293100 is a reply to message #292977] |
Thu, 10 January 2008 22:16 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
mintomohan
Messages: 104 Registered: November 2006 Location: India
|
Senior Member |
|
|
Please try the following:
Edit the formsweb.cfg file in [oracle_home]\forms\server and create a configuration as shown below:
[MyConfig]
envFile=default.env
imageBase=codebase
width=1024
height=750
separateFrame=true
splashScreen=false
background=no
lookAndFeel=Generic
colorScheme=blaf
logo=false
recordFileName=
archive_jini=frmall_jinit.jar
pageTitle=MY_APPLICATION
workingdirectory=C:\MyForms
form=MAIN_FORM.fmx
userid=username/password@database
Now copy the form and menu to the folder C:\MyForms
set the form name and db connection in the configuration.
Now, you can access your application from a link like:
http://your_machine:8889/forms/frmservlet?config=MyConfig
You can find your port number (8889) from the parameter Oracle Developer Suite HTTP port in the file [oraclehome]\install\portlist.ini
Minto
|
|
|