Home » Developer & Programmer » Forms » forms-40010 cannot read form Z:\ORAFMX\GENLOGIN.fmx (Forms 6i/Reports 6i)
forms-40010 cannot read form Z:\ORAFMX\GENLOGIN.fmx [message #553500] Sat, 05 May 2012 07:57 Go to next message
ncmm
Messages: 11
Registered: May 2012
Location: UAE
Junior Member
Hi Leaders,

Here we are using oracle forms 6i/reports 6i and Oracle 9i as database which is installed in windows 2003 server. Every client machine is installed with Windows 7 64 bit. All our .fmx and .rdf files are kept in a net work folder (Z:\orafmx) on the same server. A short cut key has been created on all user's desktops to read login screen(C:ORANT\BIN ifrun60.exe Z:\ORAFMX\genlogin.fmx scott/tiger@orcl) from the network folder.It is working fine on everybody's machine except one new user. Whenever he tries to click his shortcut key it gives forms-40010 cannot read form Z:\ORAFMX\GENLOGIN.fmx. I have updated his forms60_path in his registry with Z:\orafmx. Changed environment variable and added the network folder. He got full access to the network folder. The fuuny thing is that when I open and run the Genlogin.fmb from his local folder it works fine and even it opens all the forms from the network since so many call_form statements are being used in that form as per user's selection. But like other users when he tries through the shortcut it gives forms-40010 error. How to solve this problem.
I am trying to sort out the issue for the last few days and couldn't succeed. Pleaaaase help me .....

Thank you,
Abdul

[Updated on: Sat, 05 May 2012 08:02]

Report message to a moderator

Re: forms-40010 cannot read form Z:\ORAFMX\GENLOGIN.fmx [message #553502 is a reply to message #553500] Sat, 05 May 2012 09:01 Go to previous messageGo to next message
ranamirfan
Messages: 535
Registered: January 2006
Location: Pakistan / Saudi Arabia
Senior Member

Quote:

Every client machine is installed with Windows 7 64 bit.


Please read this post.it'll help you.
http://www.orafaq.com/forum/mv/msg/177804/538095/81953/#msg_538095


Regards,
Irfan
Re: forms-40010 cannot read form Z:\ORAFMX\GENLOGIN.fmx [message #553525 is a reply to message #553500] Sun, 06 May 2012 05:52 Go to previous messageGo to next message
arif_md2009
Messages: 732
Registered: May 2009
Location: United Arab Emirates
Senior Member

Try to map and do remember to choose the option connect on login.
Re: forms-40010 cannot read form Z:\ORAFMX\GENLOGIN.fmx [message #553529 is a reply to message #553502] Sun, 06 May 2012 08:20 Go to previous messageGo to next message
ncmm
Messages: 11
Registered: May 2012
Location: UAE
Junior Member
Thank you Irfan. I went through your link and replaced dll files. But no use. any other solution ?
Re: forms-40010 cannot read form Z:\ORAFMX\GENLOGIN.fmx [message #553530 is a reply to message #553525] Sun, 06 May 2012 08:28 Go to previous messageGo to next message
ncmm
Messages: 11
Registered: May 2012
Location: UAE
Junior Member
Thank you Arif for your reply. But could you please elaborate little bit. I am not much expertised in net working. Do I need to do something on server side or in client machine. The thing is that I can open,run,copy everything is possible on network drive from this client machine. Even I can run the login.fmb from his local folder and I am able to call all the forms from this. Every thing is working. But through the short cut like other users are doing only gives problem. Your great help would be highly appreciated.

Thank you,

Abdul
Re: forms-40010 cannot read form Z:\ORAFMX\GENLOGIN.fmx [message #553531 is a reply to message #553530] Sun, 06 May 2012 08:52 Go to previous messageGo to next message
owais_baba
Messages: 289
Registered: March 2008
Location: MUSCAT
Senior Member
Removed fmx and recompiled fmb.

Hope it will help u


regards
baba

[Updated on: Sun, 06 May 2012 08:53]

Report message to a moderator

Re: forms-40010 cannot read form Z:\ORAFMX\GENLOGIN.fmx [message #553533 is a reply to message #553531] Sun, 06 May 2012 09:10 Go to previous messageGo to next message
Littlefoot
Messages: 21805
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
Did you try to recreate the shortcut?

Is it correctly set, anyway? For example, "Target" and "Start in" directory? Did you set the "Compatibility" mode (if necessary)?
Re: forms-40010 cannot read form Z:\ORAFMX\GENLOGIN.fmx [message #553534 is a reply to message #553530] Sun, 06 May 2012 09:13 Go to previous messageGo to next message
arif_md2009
Messages: 732
Registered: May 2009
Location: United Arab Emirates
Senior Member

I think you need to define the path properly in the shortcut itself maybe there is a space in between userid:=username/password@db, you need to define the db connect .

first check for the .fmx is available or not,
second try to delete it and try to run with .fmb
third define the username/passwor details in the shortcut to open.

I dont think its a network issue , hope it works.

[Updated on: Sun, 06 May 2012 09:15]

Report message to a moderator

Re: forms-40010 cannot read form Z:\ORAFMX\GENLOGIN.fmx [message #554133 is a reply to message #553534] Thu, 10 May 2012 11:42 Go to previous messageGo to next message
ncmm
Messages: 11
Registered: May 2012
Location: UAE
Junior Member
Arif,

Thank you very much. But problem still persists. I recompiled and path everythig is ok. see this is my shortcut

target c:\orant\bin\ifrun60.exe Z:\orafmx\genlogin.fmx scott/tiger@ncmm

start in z:\orafmx

This gives FRM-40010 cannot read form Z:\orafmx\gelogi.fmx error.

I removed Z:\orafmx from target then it opens genlogin.fmx but from sign in button it doesn't call other forms. just a blink and returns.

What to do ? please help me ?
Re: forms-40010 cannot read form Z:\ORAFMX\GENLOGIN.fmx [message #554134 is a reply to message #553533] Thu, 10 May 2012 11:45 Go to previous messageGo to next message
ncmm
Messages: 11
Registered: May 2012
Location: UAE
Junior Member
Thanks a lot Little foot,

Problem still persists. here my short cut target and start in script


target c:\orant\bin\ifrun60.exe Z:\orafmx\genlogin.fmx scott/tiger@ncmm

start in z:\orafmx

This gives FRM-40010 cannot read form Z:\orafmx\gelogin.fmx error.

I removed Z:\orafmx from target then it opens genlogin.fmx but from sign in button it doesn't call other forms. just a blink and returns.

What to do ? please help me ?
Re: forms-40010 cannot read form Z:\ORAFMX\GENLOGIN.fmx [message #554139 is a reply to message #554133] Thu, 10 May 2012 12:54 Go to previous messageGo to next message
joy_division
Messages: 4963
Registered: February 2005
Location: East Coast USA
Senior Member
ncmm wrote on Thu, 10 May 2012 12:42
Arif,

Thank you very much. But problem still persists. I recompiled and path everythig is ok. see this is my shortcut

target c:\orant\bin\ifrun60.exe Z:\orafmx\genlogin.fmx scott/tiger@ncmm

start in z:\orafmx

This gives FRM-40010 cannot read form Z:\orafmx\gelogi.fmx error.

I removed Z:\orafmx from target then it opens genlogin.fmx but from sign in button it doesn't call other forms. just a blink and returns.

What to do ? please help me ?



Error says cannot find gelogi.fmx, but you keep mentioning genlogin.fmx
Either your form is calling another form that doesn't exist in the PATH or you are purposefully misleading us.
Re: forms-40010 cannot read form Z:\ORAFMX\GENLOGIN.fmx [message #554342 is a reply to message #554139] Sun, 13 May 2012 02:36 Go to previous messageGo to next message
ncmm
Messages: 11
Registered: May 2012
Location: UAE
Junior Member
Sorry Joy,

That was a typographical error. As you people said it is a path issue. But where is the problem lying, still a mystery.
Anyhow Thank you all for your patience. Once I find the solution for this issue, I will let you know guys.

once again Thank you very much.
Re: forms-40010 cannot read form Z:\ORAFMX\GENLOGIN.fmx [message #554343 is a reply to message #554342] Sun, 13 May 2012 03:05 Go to previous messageGo to next message
Littlefoot
Messages: 21805
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
This is most probably not the issue, but - as we've run out of smart ideas, here you go: is the firewall ON on that computer? What happens if you set it to OFF?
Re: forms-40010 cannot read form from network drive [message #576020 is a reply to message #554343] Wed, 30 January 2013 13:46 Go to previous messageGo to next message
vrana
Messages: 1
Registered: January 2013
Junior Member
Hi All,
I am facing the same problem. I can run the fmx when copied to local drive, but not from networked drive. I tried using the absolute network path in FORMS_PATH as well as on command line, but to no avail.
My environment is : Forms 11.1.2 on Windows 7 64bit
Any pointers are appreciated!

Thanks!
Re: forms-40010 cannot read form from network drive [message #576031 is a reply to message #576020] Wed, 30 January 2013 21:51 Go to previous messageGo to next message
arif_md2009
Messages: 732
Registered: May 2009
Location: United Arab Emirates
Senior Member

Hi vrana, i suspect something wrong with your network , you can troubleshoot by trying to ping the shared folder .
Re: forms-40010 cannot read form Z:\ORAFMX\GENLOGIN.fmx [message #611458 is a reply to message #553500] Wed, 02 April 2014 12:55 Go to previous messageGo to next message
csa_ahebert
Messages: 2
Registered: October 2009
Location: Canada
Junior Member
Hi,

I am facing the same problem as vrana. Anyone found a solution to this problem?
Re: forms-40010 cannot read form Z:\ORAFMX\GENLOGIN.fmx [message #653393 is a reply to message #553500] Mon, 04 July 2016 09:56 Go to previous messageGo to next message
nm9d
Messages: 1
Registered: July 2016
Location: Argentina
Junior Member
ncmm wrote on Sat, 05 May 2012 09:57
Hi Leaders,

Here we are using oracle forms 6i/reports 6i and Oracle 9i as database which is installed in windows 2003 server. Every client machine is installed with Windows 7 64 bit. All our .fmx and .rdf files are kept in a net work folder (Z:\orafmx) on the same server. A short cut key has been created on all user's desktops to read login screen(C:ORANT\BIN ifrun60.exe Z:\ORAFMX\genlogin.fmx scott/tiger@orcl) from the network folder.It is working fine on everybody's machine except one new user. Whenever he tries to click his shortcut key it gives forms-40010 cannot read form Z:\ORAFMX\GENLOGIN.fmx. I have updated his forms60_path in his registry with Z:\orafmx. Changed environment variable and added the network folder. He got full access to the network folder. The fuuny thing is that when I open and run the Genlogin.fmb from his local folder it works fine and even it opens all the forms from the network since so many call_form statements are being used in that form as per user's selection. But like other users when he tries through the shortcut it gives forms-40010 error. How to solve this problem.
I am trying to sort out the issue for the last few days and couldn't succeed. Pleaaaase help me .....

Thank you,
Abdul


I solved the problem, the solution was:

-Open the form runtime
-Set all the variables (see the picture)
-Now, all the connections work fine (it's very estrange, but's it works for me)


Regards
/forum/fa/13186/0/


[mod-edit: image inserted into message body by bb]
  • Attachment: Oracle.png
    (Size: 20.67KB, Downloaded 8159 times)

[Updated on: Thu, 07 July 2016 00:41] by Moderator

Report message to a moderator

Re: forms-40010 cannot read form Z:\ORAFMX\GENLOGIN.fmx [message #673596 is a reply to message #653393] Mon, 26 November 2018 07:06 Go to previous messageGo to next message
Muhammad ayaz
Messages: 1
Registered: November 2018
Junior Member
HOW TO SOLVE "40010 Cannot read from d:\login
Re: forms-40010 cannot read form Z:\ORAFMX\GENLOGIN.fmx [message #673607 is a reply to message #673596] Mon, 26 November 2018 09:03 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
Muhammad ayaz wrote on Mon, 26 November 2018 05:06
HOW TO SOLVE "40010 Cannot read from d:\login

above is NOT an Oracle error (at least as presented to us)

We can't say what is wrong since you decided to not actually SHOW US exactly what you did do.

You have a mystery & give us no clues.
Re: forms-40010 cannot read form Z:\ORAFMX\GENLOGIN.fmx [message #689385 is a reply to message #653393] Mon, 04 December 2023 05:20 Go to previous messageGo to next message
mfahimaamirgmailcom
Messages: 62
Registered: May 2011
Location: pakistan
Member
dear

you send the picture of Form Runtime option please give this oracle form version name
it not in form 6i

which oracle form version have this option window where i can give the user ID , PWD and database name is very very good for us

Please give me this oracle form version name

Regards


Re: forms-40010 cannot read form Z:\ORAFMX\GENLOGIN.fmx [message #689388 is a reply to message #689385] Tue, 05 December 2023 03:54 Go to previous message
Littlefoot
Messages: 21805
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
(Fahim, just note that you're replying to discussion which lasted from 2012 till 2018; don't be too surprised if there's no response).
Previous Topic: dbms_lob usage issue in forms
Next Topic: ON-LOGON trigger not working (merged)
Goto Forum:
  


Current Time: Tue Mar 19 00:09:02 CDT 2024