?
Solved

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

Posted on 2013-01-15
8
Medium Priority
?
2,075 Views
Last Modified: 2013-02-18
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
0
Comment
Question by:cpoint-service
  • 4
  • 4
8 Comments
 
LVL 58
ID: 38779250
<<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.
0
 

Author Comment

by:cpoint-service
ID: 38788554
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
0
 
LVL 58
ID: 38788898
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.
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:cpoint-service
ID: 38837325
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.
0
 
LVL 58
ID: 38841467
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.
0
 

Accepted Solution

by:
cpoint-service earned 0 total points
ID: 38886135
Microsoft helped find a solution.  It was a really long process to figure it out but basically by 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.

Hope this helps someone else because Microsoft was stumped for quite a while also.
thanks for the help.
Jean R.
0
 
LVL 58
ID: 38886240
Thanks for posting that...and glad to hear the issue is solved.

Jim.
0
 

Author Closing Comment

by:cpoint-service
ID: 38900963
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.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
In a use case, a user needs to close an opened report by simply pressing the Escape (Esc) key. This can be done by adding macro code in Report_KeyPress or Report_KeyDown event.
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question