MS Word says "There has been a network or file permission error" when you try to save a document

AID: 4079
  • Status: Published

3550 points

  • Bynxnw
  • TypeGeneral
  • Posted on2010-11-04 at 15:35:21
Awards
  • Community Pick
In certain circumstances, a Microsoft Office mac application may fail to save a document to a network server, with the following error message: "There has been a network or file permission error. The network connection may be lost."

An article at support.apple.com explains the problem:

If more than one user logs in to a Mac OS X Server from different client computers and with the same UID, they will be unable to save server-stored files using a Microsoft Office application after any of the users logs out. When a save is attempted, this alert will appear:

"There has been a network or file permission error. The network connection may be lost."

Workarounds

You can use one of these workarounds:
• Use a shared directory service instead so that every user logs in with their own unique ID.
• Don't share a server user—each client user should have a unique ID.
• Unmount the server volume before logging out of Mac OS X on the client computer.

Why does this occur?

Microsoft Office applications use a "safe save" that stores files in the TemporaryItems folder that's on the same volume as the file. With a shared file system, the path is:

/.TemporaryItems/folders. (local UID) /TemporaryItems.

However, when one of the users logs out of the local client, the "/.TemporaryItems/folders. (local UID)/TemporaryItems." directory is deleted, preventing any other currently-logged in users that are using the same UID from saving from Microsoft Office applications.


What the article does not fully explain is that this happens to users who log into their workstations using local accounts. In that case, regardless of how you log on to the server, the folder name in the TemporaryItems folder will use your local UID, which is very often 501 or 502, not your unique network UID.

Further, the first two workarounds are not 100% accurate — the trigger is not how you log into the server or whether you have a shared directory service, it is how you log onto your workstation. If you log into your workstation using a network account (i.e. where your home directory is on the server) the problem does not arise. Network accounts can have performance issues running MS Office applications, though, because your cache files are being saved to a server, rather than locally. Moreover, while network accounts may be configured to redirect cache files to the users local hard drive, MS applications do not play well with those measures.

Two measures that do seem to deal with these obstacles are:
• using OS X server mobile network accounts;
• setting up network user accounts that are defined to have home folders located at /Users/ (i.e. on the user's local drive).

A final workaround is, when this problem arises, quit Word, saving the file to your local hard drive, and launch Word again. You will thereafter be able to save normally (for a while, anyway).
Asked On
2010-11-04 at 15:35:21ID4079
Tags

Microsoft Office mac

,

Microsoft Word mac

,

os x

Topic

Mac OS X

Views
2454

Comments

Add your Comment

Please Sign up or Log in to comment on this article.

Join Experts Exchange Today

Gain Access to all our Tech Resources

Get personalized answers

Ask unlimited questions

Access Proven Solutions

Search 3.2 million solutions

Read In-Depth How-To Guides

1000+ articles, demos, & tips

Watch Step by Step Tutorials

Learn direct from top tech pros

And Much More!

Your complete tech resource

See Plans and Pricing

30-day free trial. Register in 60 seconds.

Loading Advertisement...

Top Mac OS X Experts

  1. strung

    209,742

    Guru

    2,900 points yesterday

    Profile
    Rank: Genius
  2. eoinosullivan

    92,432

    Master

    1,000 points yesterday

    Profile
    Rank: Genius
  3. maximus5328

    50,329

    Master

    1,000 points yesterday

    Profile
    Rank: Wizard
  4. sigurarm

    31,890

    0 points yesterday

    Profile
    Rank: Sage
  5. ishcabittle

    30,530

    0 points yesterday

    Profile
    Rank: Master
  6. pgnatyuk

    29,332

    0 points yesterday

    Profile
    Rank: Genius
  7. jhyiesla

    22,376

    0 points yesterday

    Profile
    Rank: Genius
  8. mccrick

    17,418

    0 points yesterday

    Profile
    Rank: Guru
  9. Programmer-x

    16,532

    0 points yesterday

    Profile
    Rank: Guru
  10. vallis

    16,104

    0 points yesterday

    Profile
    Rank: Sage
  11. Mac2010

    14,175

    0 points yesterday

    Profile
    Rank: Master
  12. serialband

    12,360

    0 points yesterday

    Profile
    Rank: Master
  13. nxnw

    10,782

    0 points yesterday

    Profile
    Rank: Guru
  14. JonyHolt

    9,543

    0 points yesterday

    Profile
  15. robertcerny

    9,375

    0 points yesterday

    Profile
    Rank: Guru
  16. DaveBaldwin

    9,160

    0 points yesterday

    Profile
    Rank: Genius
  17. nappy_d

    8,700

    0 points yesterday

    Profile
    Rank: Genius
  18. chakko

    8,000

    0 points yesterday

    Profile
    Rank: Genius
  19. arnold

    7,608

    0 points yesterday

    Profile
    Rank: Genius
  20. hanccocka

    7,398

    0 points yesterday

    Profile
    Rank: Genius
  21. Anuroopsundd

    7,118

    0 points yesterday

    Profile
    Rank: Sage
  22. JBlond

    6,960

    0 points yesterday

    Profile
    Rank: Sage
  23. thinkpads_user

    6,768

    0 points yesterday

    Profile
    Rank: Genius
  24. duncan_roe

    6,100

    2,100 points yesterday

    Profile
    Rank: Genius
  25. sweetfa2

    5,868

    0 points yesterday

    Profile
    Rank: Wizard

Hall Of Fame