PC Review


Reply
Thread Tools Rate Thread

Cant Open file over Network?

 
 
=?Utf-8?B?SkpQR2VybQ==?=
Guest
Posts: n/a
 
      3rd Dec 2006
We have a database that we use for making reservations and such for a lodging
business. We have a small network with a front and back computer and we also
use a laptop from time to time. The database file is stored on the front
computer and the back computer connects to the file over the network. For
several years now this has worked without any problems. All of a sudden now
the back computer will not open the file if it is open on the front computer
(the hourglass comes up but nothing happens). If the database is closed on
the front computer the back can open the file with no problems. I have no
idea what has changed recently to make it act this way, but it was never like
this before and we have not updated or changed anything as far as I know. We
started using office 97 (i think, its been so long) and upgraded a few years
back to the office xp version and things didnt get messed up at all with that
upgrade. This is just totally wierd to me and I would really appreciate any
help or info about what might be the problem. Thanks!
 
Reply With Quote
 
 
 
 
Albert D. Kallal
Guest
Posts: n/a
 
      3rd Dec 2006
Usually, single user mode is triggered for one of two reasons:

The one file is opening the back end exclusive, and thus no one else will be
allowed.

Check tools->options->advanced tab

Check he default open mode.....

The other thing to check is the permissions on that shared folder. Users
need FULL rights

Full rights means create, and delete rights (if the users can't create, or
delete files in the shared folder, then ms-access can't create the
multi-user locking files..and thus single user mode is used).


And, if users are using the file->open from the ms-access menu, then make
sure they are not opening by using the "exclusive" option on the open...

--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
(E-Mail Removed)


 
Reply With Quote
 
=?Utf-8?B?SkpQR2VybQ==?=
Guest
Posts: n/a
 
      3rd Dec 2006
The settings are set for shared default open mode and I have double checked
that the folder the file is in is shared and both users have full access. I
can make copies of the file from the back computer with no problem, but
unless the database is now closed on the front computer it will not open from
the back. Once I close the database on the front computer then I can open the
file without a problem and then proceede to open the database on the front
computer and it works fine.

Thank you for giving me something to start with, I couldn't remember where
the default mode setting was. Just wish that was the fix, lol.
 
Reply With Quote
 
David W. Fenton
Guest
Posts: n/a
 
      3rd Dec 2006
"Albert D. Kallal" <(E-Mail Removed)> wrote in
news:(E-Mail Removed):

> Full rights means create, and delete rights (if the users can't
> create, or delete files in the shared folder, then ms-access can't
> create the multi-user locking files..and thus single user mode is
> used).


Everyone always says this, but it's really only half the story.

A user needs only CHANGE permissions, not DELETE. That means a user
with no DELETE permission will leave the LDB file when they exit.
This doesn't necessarily cause any problems at all.

In my apps, there are generally a few users who are administrators
and I give them DELETE permission. If they are the last one to exit,
the LDB file gets deleted.

The reason to remove DELETE permission is so that an end user can't
delete the data MDB. The only way to give DELETE permission on the
folder and prohibit that is to apply DENY DELETE to the data MDB
itself. However, then you have to be careful about restoring those
permissions after a compact.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
 
Reply With Quote
 
David W. Fenton
Guest
Posts: n/a
 
      3rd Dec 2006
JJPGerm <(E-Mail Removed)> wrote in
news:25A283C0-B74B-49EE-8815-(E-Mail Removed):

> The settings are set for shared default open mode and I have
> double checked that the folder the file is in is shared and both
> users have full access.


Remember that the permissions on the share are independent of the
permissions on the underying folder that is shared -- both need to
be correct for users to have the access you want.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
 
Reply With Quote
 
=?Utf-8?B?SkpQR2VybQ==?=
Guest
Posts: n/a
 
      3rd Dec 2006
I understand how permissions should work. The thing is for ONLY the access
database file things are not working the way they should. I am not a novice
at this as we have been running the program for close to a decade now and
never before a few days ago have we had any problems. The obvious fixes have
been applied and they are not the solution so far. I can turn on and off the
file sharing for the folders and the only thing that changes is when sharing
is off then I get a message saying I need to check with network administrator
to get permission (thats what it should say). I then can turn back on the
file sharing and I am back to the original problem that the back computer
cannot open the file wile it is open on the front computer. I am not the only
one that has this problem apparently as i read a similar post here by
(E-Mail Removed) (his post describes the same basic problem about not
being able to open accross a network). Obviously something out there has
changed and SOMEONE does know whats going on.
 
Reply With Quote
 
David W. Fenton
Guest
Posts: n/a
 
      4th Dec 2006
JJPGerm <(E-Mail Removed)> wrote in
news:21890096-3CDC-41B8-8114-(E-Mail Removed):

> I understand how permissions should work.


I wasn't actually intending to be addressing your original problem,
which I don't believe has anything at all to do with NTFS
permissions -- I was only responding to the repeated assertion that
users have to have FULL CONTROL to work. That is not true -- they
only need CHANGE permission.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
 
Reply With Quote
 
John Vinson
Guest
Posts: n/a
 
      4th Dec 2006
On Mon, 04 Dec 2006 14:15:57 -0600, "David W. Fenton"
<(E-Mail Removed)> wrote:

>JJPGerm <(E-Mail Removed)> wrote in
>news:21890096-3CDC-41B8-8114-(E-Mail Removed):
>
>> I understand how permissions should work.

>
>I wasn't actually intending to be addressing your original problem,
>which I don't believe has anything at all to do with NTFS
>permissions -- I was only responding to the repeated assertion that
>users have to have FULL CONTROL to work. That is not true -- they
>only need CHANGE permission.


Thanks, David. I've been making this assertion, and will now change my
tune.

John W. Vinson[MVP]
 
Reply With Quote
 
Bill Mosca, MS Access MVP
Guest
Posts: n/a
 
      4th Dec 2006
One of the things that tripped me up was one of my users double-clicked the
file in Explorer to open it. Doing so automatically opens it in exclusive
mode. That might be something for you to look into.

The users should have a shortcut with a target line similar to "C:\Program
Files\Microsoft Office\Office10\msaccess.exe" "YourDBPathGoesHere"

--
Bill Mosca, MS Access MVP


"JJPGerm" <(E-Mail Removed)> wrote in message
news:CBD5C84A-2988-4DFC-90D1-(E-Mail Removed)...
> We have a database that we use for making reservations and such for a
> lodging
> business. We have a small network with a front and back computer and we
> also
> use a laptop from time to time. The database file is stored on the front
> computer and the back computer connects to the file over the network. For
> several years now this has worked without any problems. All of a sudden
> now
> the back computer will not open the file if it is open on the front
> computer
> (the hourglass comes up but nothing happens). If the database is closed on
> the front computer the back can open the file with no problems. I have no
> idea what has changed recently to make it act this way, but it was never
> like
> this before and we have not updated or changed anything as far as I know.
> We
> started using office 97 (i think, its been so long) and upgraded a few
> years
> back to the office xp version and things didnt get messed up at all with
> that
> upgrade. This is just totally wierd to me and I would really appreciate
> any
> help or info about what might be the problem. Thanks!



 
Reply With Quote
 
David W. Fenton
Guest
Posts: n/a
 
      5th Dec 2006
John Vinson <jvinson@STOP_SPAM.WysardOfInfo.com> wrote in
news:(E-Mail Removed):

> On Mon, 04 Dec 2006 14:15:57 -0600, "David W. Fenton"
><(E-Mail Removed)> wrote:
>
>>JJPGerm <(E-Mail Removed)> wrote in
>>news:21890096-3CDC-41B8-8114-(E-Mail Removed):
>>
>>> I understand how permissions should work.

>>
>>I wasn't actually intending to be addressing your original
>>problem, which I don't believe has anything at all to do with NTFS
>>permissions -- I was only responding to the repeated assertion
>>that users have to have FULL CONTROL to work. That is not true --
>>they only need CHANGE permission.

>
> Thanks, David. I've been making this assertion, and will now
> change my tune.


Well, the main thing is that there *are* repercussions to removing
DELETE permission, in that the LDB file will not be deleted. If the
LDB file is somehow corrupted, then you can end up with problems. I
have found that as long as some of the users have DELETE permission,
the LDB file gets deleted often enough that it's not a problem.

And if you're not concerned about removing DELETE permission on the
back end file, then you can just give full control to everyone and
not have to worry about it.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Open file pop-up (network) =?Utf-8?B?Q2FtZXJvbg==?= Microsoft Excel Programming 1 12th Dec 2005 09:32 PM
open network file Lam Microsoft C# .NET 8 30th Jun 2005 05:17 PM
open file across network Wanda Microsoft ASP .NET 1 11th Nov 2004 12:07 AM
file is open over the network - how can I tell which machine has it open? Ted Sung Microsoft Windows 2000 Networking 3 15th Mar 2004 03:04 PM
Can,t Open File From Network Abbas Ali Windows XP Security 0 20th Aug 2003 06:47 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:13 AM.