Re: file access denied

Tech-Archive recommends: Fix windows errors by optimizing your registry



Sorry. The message I get from the Error() procedure is "File access denied"

There are many tables. But only two of these tables give this message.



"Dan Freeman" wrote:

> The actual error message is "File acces is denied". Is that the error you're
> getting? (The # is 1705.)
>
> VFP has many similarly worded error messages and each of them has the
> potential to have wildly differing causes. You need to be very exact in your
> reporting or you may get answers that have nothing to do with your problem.
>
> What is the line of code that causes this error? 1705 is only caused when
> you try to write to a file and don't have permission.
>
> That could be a file who's owner on the network has been deleted, or many
> other things.
>
> How *exactly* is this error coming up?
>
> Dan
>
>
>
> Emily wrote:
> > Hello,
> >
> > I have an application where many users can access a single set of data
> > files. When the first user gets into a table and the second user
> > tries to get into it after the first user, they get a file access
> > denied error.
> >
> > This error does not pop up on all tables that are shared. I have
> > searched far and wide for a set exclusive on and I can't seem to find
> > where the table sets any restriction.
> >
> > Does any one have an idea what may be causing this error? Also maybe
> > a line of code that can check a table's permissions?
> >
> > Thanks
>
>
>
.



Relevant Pages

  • Re: file access denied
    ... You need to be very exact in your ... you try to write to a file and don't have permission. ... When the first user gets into a table and the second user ... > tries to get into it after the first user, they get a file access ...
    (microsoft.public.fox.programmer.exchange)
  • SV: file access denied
    ... If this table wasn't opened SHARED by the first user, ... >> anti virus from scanning the VFP data files as shown in this article: ... >>> get into it after the first user, they get a file access denied error. ...
    (microsoft.public.fox.programmer.exchange)
  • Re: Periodic Disc I/O at approx 1 sec
    ... Dan, ... Filemon will show what file is being accessed, and what process is accessing it. ... If it's NOT a file access, try Regmon and Process Explorer, also ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: file access denied
    ... > If this table wasn't opened SHARED by the first user, ... > user is a procedure in your own environment, file access is denied. ... I just created a new table in a session, ...
    (microsoft.public.fox.programmer.exchange)