mikepj
asked on
"Too many open files" with dbase(?) program in xp
we're trying to use an old (i think dbase or clipper) program in windows xp. we're getting the error "Too many open files" with dbase(?) program in xp. it worked on win 98. i figured that'd be easy so i did:
edit C:\WINDOWS\system32\CONFIG .NT and change Files=40 to Files=99.
tried creating a pif file that points to that config.nt file and also use compatibilty mode for win95.
still getting the same error!
edit C:\WINDOWS\system32\CONFIG
tried creating a pif file that points to that config.nt file and also use compatibilty mode for win95.
still getting the same error!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
After you updated config.nt, did you reboot the computer?
What was the "files=" setting on the Win98 PC?
ASKER
thank you for your responses!
>After you updated config.nt, did you reboot the computer?
yes
>What was the "files=" setting on the Win98 PC?
i don't know know--i'll need to have a peek at it.
>After you updated config.nt, did you reboot the computer?
yes
>What was the "files=" setting on the Win98 PC?
i don't know know--i'll need to have a peek at it.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thank you for your reply!
>The files setting mentioned above is usually the fix for this.
good to know--i'm a programmer but since windoze i never had to do this.
>When you tried it you didn't use a number larger than 250 did you?
no
>You also did it like the example GuruGary provided (i.e lower case, no spaces, etc). A number bigger than 250 will probably be ignored.
my file was the default except for the files value:
dos=high, umb
device=%SystemRoot%\system 32\himem.s ys
files=250
>How are you starting the program?
using a shortcut or pif.
>Does the error occur immediately or later on?
it shows a splash screen & after that an error.
>The config.nt file should be used anytime a DOS window is opened so you don't need a PIF.
good to know.
>I suggest trying to open a DOS prompt first and then starting your program from the prompt.
same problem...
any other ideas?
>The files setting mentioned above is usually the fix for this.
good to know--i'm a programmer but since windoze i never had to do this.
>When you tried it you didn't use a number larger than 250 did you?
no
>You also did it like the example GuruGary provided (i.e lower case, no spaces, etc). A number bigger than 250 will probably be ignored.
my file was the default except for the files value:
dos=high, umb
device=%SystemRoot%\system
files=250
>How are you starting the program?
using a shortcut or pif.
>Does the error occur immediately or later on?
it shows a splash screen & after that an error.
>The config.nt file should be used anytime a DOS window is opened so you don't need a PIF.
good to know.
>I suggest trying to open a DOS prompt first and then starting your program from the prompt.
same problem...
any other ideas?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thank you for your reply!
>Two more: (these may be somewhat silly or very involved)
not silly at all!
>1. install VirtualPC and then install Win98 and run you app inside the Win98 session
this i expect will work. have had pleasant experiences with VMs (http://www.easyvmx.com/ will make a vm for use with VMWare for free)
>2. install DosBox and try the app in that environment: >http://dosbox.sourceforge.net/news.php?show_news=1
that's an interesting option; regrettably it shows the same error and i see no way to control this.
i haven't been back there yet to try to address this problem. hopefully this week!
>Two more: (these may be somewhat silly or very involved)
not silly at all!
>1. install VirtualPC and then install Win98 and run you app inside the Win98 session
this i expect will work. have had pleasant experiences with VMs (http://www.easyvmx.com/ will make a vm for use with VMWare for free)
>2. install DosBox and try the app in that environment: >http://dosbox.sourceforge.net/news.php?show_news=1
that's an interesting option; regrettably it shows the same error and i see no way to control this.
i haven't been back there yet to try to address this problem. hopefully this week!
Have you tried either procexplorer or filemon. You need to monitor the ntvdm process. This might shed some light on the problem. Anyway it is just an idea.
I forgot to mention where to find these utils:
http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/ProcessExplorer.mspx
http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/Filemon.mspx
http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/ProcessExplorer.mspx
http://www.microsoft.com/technet/sysinternals/ProcessesAndThreads/Filemon.mspx
ASKER
thank you all for your comments. in the end, i copied the relevant parts of the config.sys and autoexec.bat files to their *.nt equivalents and it worked famously.
I'm glad I could help. Thanks for the grade, the points and the fun question.
bol
bol
I am glad it all worked out for you!
ASKER