[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

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

Posted on 2013-01-15
8
Medium Priority
?
2,045 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 

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

Enroll in October's Free Course of the Month

Do you work with and analyze data? Enroll in October's Course of the Month for 7+ hours of SQL training, allowing you to quickly and efficiently store or retrieve data. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
Microsoft Access is a place to store data within tables and represent this stored data using multiple database objects such as in form of macros, forms, reports, etc. After a MS Access database is created there is need to improve the performance and…
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.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

649 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