473,396 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

File does not exist (?!)

Hello all

We have an app running at a few sites. It is a split FE-BE app, BE on
the site server, FE on each user's machine, FE is XP, BE is A2K
format, FE running on XP runtime.

At one of the sites however on some of the user computers the app
sometimes won't open - it will start up to the point of showing the
splash form, and get no further. We determined eventually that the app
'hangs' at the point where it tries to access the BE on the server.

If you try to open the BE from the FE computer by using Windows
Explorer to navigate to the file and double-clicking on it, nothing
happens for a minute or two, and then an error message is displayed to
the effect that the file can not be opened as it does not exist!

After rebooting the FE computer, the app works, and the direct-opening
of the BE with Explorer works.

According to the users they can use the app immediately after starting
up or rebooting, but after a while (an hour or so apparently) it won't
work any more. There is a fair amount of security / recovery /
anti-virus software loaded on the system, but I'm no expert on these,
don't know what else had been installed, and the consultant who did
the whole hardware and software installation has absconded and is
unavailable.

Has anyone had a similar experience or have any advice or suggestions
to offer?

Many thanks in advance

Mike L
Nov 13 '05 #1
3 2570
Last time I saw a message like that it was actually a user-defined function
generating the message, and the underlying cause as a lack of permission
(MDW) to access the file, or a lack of user rights under Windows to access
something required.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Mike L" <ml******@metroweb.co.za> wrote in message
news:b9**************************@posting.google.c om...
Hello all

We have an app running at a few sites. It is a split FE-BE app, BE on
the site server, FE on each user's machine, FE is XP, BE is A2K
format, FE running on XP runtime.

At one of the sites however on some of the user computers the app
sometimes won't open - it will start up to the point of showing the
splash form, and get no further. We determined eventually that the app
'hangs' at the point where it tries to access the BE on the server.

If you try to open the BE from the FE computer by using Windows
Explorer to navigate to the file and double-clicking on it, nothing
happens for a minute or two, and then an error message is displayed to
the effect that the file can not be opened as it does not exist!

After rebooting the FE computer, the app works, and the direct-opening
of the BE with Explorer works.

According to the users they can use the app immediately after starting
up or rebooting, but after a while (an hour or so apparently) it won't
work any more. There is a fair amount of security / recovery /
anti-virus software loaded on the system, but I'm no expert on these,
don't know what else had been installed, and the consultant who did
the whole hardware and software installation has absconded and is
unavailable.

Has anyone had a similar experience or have any advice or suggestions
to offer?

Many thanks in advance

Mike L

Nov 13 '05 #2
A process of elimination point of view....

If its only on 1 site,

1. Check if similar happens other apps running from server on
client... might be network congestion.

2. Antivirus software can lock files - consider disabling it untill
you can narrow down the problem. Also consider a virus scan of the
client...

3. Allow the user to log in as Admin and see if the problem re-occurs

4. Check that the User Account/Password/Details on XP is the same as
on server

5. Has the client installed anything lately..... might be
conflicting....

6. Run a scandisk/chkdsk on the client and server

7. Check security permissions on the directories where the BE and FE
are located

8. If its only 1 client... maybe a faulty network card...

Hope this gives u some ideas....
Nov 13 '05 #3
Thanks for the responses!

I think we can rule out network congestion, as this is a 6-computer
setup on a 100MB network, and the problem occurs even when there is
no-one else in the office.

I also think we can rule out a lack of permissions or user rights or
anti-virus software, as the users do have perfect operation with no
disabling of anti-virus software, and logged in as he normally would,
but only immediately after a reboot. It is only after the computer had
been sitting idle for a while that this problem occurs.

The most likely problem seems to me the possibility of faulty network
cards. Is it possible for the computer to be able to navigate to and
open a file in Windows Explorer immediately after a reboot, and after
a while to still navigate to the file but fail to open it?

Many thanks for the help

Regards

Mike L
Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: lamar_air | last post by:
I have a python script and i want to delete a file on my computer c:\....\...\.. .txt what's the script to do this? I know how to write to files but i also need to know how to delete a file.
1
by: python-listNOSPAMthankyou | last post by:
Can you  help me, can you pass me onto someone who can? Whilst compiling: rpmbuild --rebuild python2.3-2.3.4-2pydotorg.src.rpm I got an error: RPM build errors:     user jafo does not exist -...
4
by: kelvSYC | last post by:
With std::fopen, will it return a null pointer if the file does not exist? If so, how do I make it so that it will attempt to create a file if it doesn't exist? Would moving to fstreams/filebufs...
2
by: Chris Fink | last post by:
I am using the System.IO.File class to determine if a file exists on a network share. The File.Exists method keeps returning false, even though the file does exist. The MSDN documentation...
1
by: Tim Failes | last post by:
This seems a trival question, but I cannot get it to work properly... Essentially my question is, how can I create a text file, and guarantee it is given the current date/time as the Creation Time?...
52
by: paytam | last post by:
Hi all Can anyone tell me how can I check that a file exist or no.I mean when you use this commands FILE *fp; if(!fp) //Could not open the file doen't show why it can not open it,may be the...
3
by: Mike | last post by:
Thanks for the reply, I have been trying that, but I keep getting the same results. The result I get is that the file exits, when it really doesn't. All my msgbox display twice and I'm not sure...
3
by: tshad | last post by:
I have a function that downloads a file to the users computer and it works fine. The problem is that I then want the program to rename the file (file.move) to the same name plus todays date. ...
26
by: Army1987 | last post by:
Is this a good way to check wheter a file already exists? #include <stdio.h> #include <stdlib.h> int ask(const char *prompt); typedef char filename; int main(int argc, char *argv) { FILE...
7
by: sprash | last post by:
Newbie question: I'm trying to determine if a file physically exists regardless of the permissions on it Using File.Exists() returns false if it physically exists but the process does not...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.