Link to home
Start Free TrialLog in
Avatar of cpoint-service
cpoint-service

asked on

"Network Access was interrupted" error only on Windows 7 machine

I have found several instances of this error online but the solutions don't work in this case:
(Facts)
The app is an Access 2003 app called MBScale.mdb
It is linked to a few tables in MBData.mdb on the same mapped drive.
The machine giving the error is new and only Windows 7 workstation.
Can open, run, compact and repair on other workstations but not on Win 7.
This workstation and others have Access 2007

I am unable to compact and repair the database from the Win 7 machine because it never lets me into the application MBScale after the error, it just closes.

I restored a backup of the database and renamed it MBScaleNew.mdb which worked fine.
I tried to delete MBScale.mdb from the Win 7 machine it tells me that the "file is in use". I went to the server and physically deleted the app MBScale and the associated .ldb. We restarted the server after this. Renamed the backup MBScale and we get the 'network access interrupted' error every time we try to run it from the Windows 7 system. Renamed the app back to MBScaleNew and it runs fine. User continued to use the MBScaleNew app for now.

A week later it happened again (we know why the network was physically disconnected and fixed that problem) this time with MBScaleNew. Even after deleting/renaming these app names, I have been unable to ever name the app MBScale or MBScaleNew.  If I run it or rename it from another workstation not Windows 7, it runs fine on those.  Now we are running MBScaleNew2.mdb because the Win 7 gives the error if I tried to name them either of the old names.  This has to be an issue with Win 7/Access 2007 on that new workstation.  It seems like the WS is not releasing the file even if we turn it off.  I've tried hotfixes from Microsoft and turning off SMB 2.0 in regedit with no change.  I tried copying the app to the local drive but it won't let me - says 'file in use'.  Those were solutions I tried so far that didn't work.  does anybody have any other ideas?
thank you. JR
Avatar of Jim Dettman (EE MVE)
Jim Dettman (EE MVE)
Flag of United States of America image

<<Renamed the backup MBScale and we get the 'network access interrupted' error every time we try to run it from the Windows 7 system. Renamed the app back to MBScaleNew and it runs fine. User continued to use the MBScaleNew app for now>>

 This is the same DB, just renamed?  If so, I would look in the directory and see if there are any other files with the same base name. ie:

MBScale.mdw
MBScale.mdb

  That will cause all kinds of problems.

  Second thing; where is this installed?  If under the \Program Files or \Program Files (x86) directories, be aware that those directories have unique security and virtual redirects to other another directory.

 This prevents "Permission denied" errors when a non-admin use tries to write to these.

 Either:

1. Move the install to a directory off the root.

2. In the current install directory, set full security for every *AND* take ownership of the directory and any subfolders.  If you don't do this, Windows will still protect the directory and do a virtual re-direct.

 Last, make sure you turn off power down of the NIC and if it has any diagnostic protocols enabled, disable them (these will disconnect the NIC from the network, run a test, then re-connect it - nothing is supposed to notice when that happens, but....)

Jim.
Avatar of cpoint-service
cpoint-service

ASKER

There are no other files with other extensions by those names.  I deleted all files named MB_BeltScale.xxx and restarted the server.  when I restored that file by that exact name it gives me the error only on the windows 7 workstation.  The program is on a Data directory on a MS Server 2008.  It doesn't matter where the program is, it gives the error wherever it is.

Changed ownership/permissions on Server - made no difference.

Talked to our CNE and Service techs, power down option is disabled and we don't think it's a hardware issue.  It is a Windows 7 issue.
thanks anyway
Hum.. I would try disabling SMB2 once again, but also OPLOCKS as well (which you can't do with SMB 2):

http://support.microsoft.com/kb/296264

 and see if that makes a difference.  Not sure it will.  I've re-read your question several times and can't help but feel I'm missing something...

Jim.
Thank you for the suggestions Jim but I disabled the registry settings you suggested above and it made no difference.  I'm out of options it appears.
Are these using mapped drives?  If so, please change the following:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters

Note the current setting, then change it to -1

This disables autodisconnect of mapped drives.

Jim.
ASKER CERTIFIED SOLUTION
Avatar of cpoint-service
cpoint-service

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for posting that...and glad to hear the issue is solved.

Jim.
Seemed like a very rare and new issue that stumped even Microsoft.  Tried several things but seemed unique to that computer's situation.

You probably won't find this easily so here's a solution:
Disabling Offline Files in Win 7 Syc options unlocked the files. Leaving it off will keep Access from getting locked open databases in the future.