There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
Software Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
Solution: MS Access with Vista, blocks multiuser access


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
bigslick2007's Avatar
Junior Member with 7 posts.
 
Join Date: Feb 2007
Experience: Advanced
26-Mar-2007, 04:49 PM #1
Solution: MS Access with Vista, blocks multiuser access
I've just spent two days of my life with no sleep pulling my hair out trying to solve this problem. After spending $245 for Microsoft live support, I learned that it was a bug in Vista. I search everywhere on the net to find a solution and never found it, so I felt it was my duty, as a person who has previously benefited from others' postings, to post it here. Anyway, enough introduction.

Problem description:

Microsoft Access any version - EVEN 2007
Operating system is Vista (pretty sure all versions, I tested on two versions)

Create an access application, split the database. Put the front-end on two computers and the back-end on one computer -- link both to the same backend.
ONLY ONE USER CAN OPEN A BOUND FORM AT A TIME in this multiuser environment!

Note that you will notice that the computer that "owns" the backend can open and close forms regardless of what the other computers are doing. But, all other computers are locked out if anyone else is using the database.

This is a BUG in Vista. The current "work around" is to add a registry key and all is well:

Run regedit and find the path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameter s

add a DWORK (32-bit) key with a value of zero
Name the Key = "SMB2"

That's it. It would be nice if the good folks at Microsoft would let us in on these little secrets. This has got to be affecting 1000's of people/companies around the world.

Well, I've done my duty. Happy computing.
bishop01's Avatar
Junior Member with 1 posts.
 
Join Date: Apr 2007
Experience: Intermediate
02-Apr-2007, 09:57 AM #2
Well, i tried this workaround but no success !! My front-end and back-end are on in the same mdb file and i added the key on each computer that use the database. But Vista blocks multiuser access even if I added the registry key on each computer

Do you have an other workaround ?

By the way, if the database is on a Vista computer and if I open the database from XP workstations, no multiuser access problem ! It works well!
bigslick2007's Avatar
Junior Member with 7 posts.
 
Join Date: Feb 2007
Experience: Advanced
02-Apr-2007, 12:26 PM #3
suggest splitting database
Even if you were not having this current problem, I would highly suggest splitting the database. This is the typical way these Access databases are configured. There are many reasons including performance and easier upgrades and others. It is really easy to do. There is even an addin that will do it for you. You also need to make sure each user has the correct permissions for the file. Vista has added lots of permission stuff. Each user desktop will have the application mdb file and the tables will link to the networked datafile.

Good luck
TechExpressInc's Avatar
Computer Specs
Junior Member with 9 posts.
 
Join Date: Jul 2007
Experience: Intermediate
08-Jul-2007, 11:02 PM #4
I am having a multiuser problem with my MS-Access application after it was moved to a set of Vista PC-s. Only one PC at a time can get in other than the network PC.

I do not understand your instructions can you clearify them some?
"
Run regedit and find the path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameter s
"
got the above then this part puzzles me??

add a DWORK (32-bit) key with a value of zero
Name the Key = "SMB2"

At the end of the text HKEY.... i would add what?? please let me know thx russ@ed-dev.org
<digitalagent>'s Avatar
Junior Member with 1 posts.
 
Join Date: Jul 2007
Experience: Advanced
16-Jul-2007, 08:28 PM #5
Easy fix if you are having problems connecting to a shared db through a shortcut:
"C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" \\fileserver\e\db1.mdb

Use the path to MSACCESS in the target box.

http://support.microsoft.com/kb/927844/en-us
TechExpressInc's Avatar
Computer Specs
Junior Member with 9 posts.
 
Join Date: Jul 2007
Experience: Intermediate
16-Jul-2007, 09:20 PM #6
3rd try at fixing the multi-user issue 7-16-7
I tried the creating of a temp directory on c: root.

I tried hot fix KB935366.

Yours and this one are on my list next.

Issue :



Unable to open form on Vista machine in multi-user environment.



===========



Cause:



This issue is related to Server Message Block (SMB) 2.0. Microsoft is
researching this problem and will post more information when the
information
becomes available.



==========================================================



What is SMB :-



SMB, which stands for Server Message Block, is a protocol
for
sharing files, printers, serial ports, and communications abstractions
such
as named pipes and mail slots between computers.



===========



Workaround:



- Make sure that we have "Back up the registry"

- As we are changing this registry key it will turn off SMB 2.0
communications when sharing all files; not just Access databases.

- Open the Registry Editor.

- Locate and select the key


HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameter s.

- On the Edit menu, point to New, and then click DWORD (32-bit) Value.
Name
this value "SMB2" without the quotation marks.

- Select the SMB2 value. If the value is not 0 (zero); on the Edit
menu,
click Modify. Change the Value data to 0 (zero) and click OK.

- Reboot the computer.
TechExpressInc's Avatar
Computer Specs
Junior Member with 9 posts.
 
Join Date: Jul 2007
Experience: Intermediate
24-Jul-2007, 08:21 AM #7
Vista multi-user MS-Access DB problem fix from MS
I finally got my DB to be a multi-user DB. By doing a MS site fix of updating the short cut to the network DB, adding the local PC's path to the exec file for MS-Access. i.e.

i.e. the target would be
> > “c:\programs\microsoft\office11\msaccess.exe
> > h:\database.mdb”.



Russ
www.techexpressinc.com
jdynamic's Avatar
Junior Member with 1 posts.
 
Join Date: Sep 2007
Experience: Advanced
03-Sep-2007, 09:44 AM #8
Smile I can't believe my eyes!
I've spent the last 3 days trying to fix this exact same problem. I've already pulled out my hair before finding your post.

Thank you so much, you're an absolute lifesaver!

Cheers!
David Lee Roth's Avatar
Junior Member with 2 posts.
 
Join Date: Oct 2007
Experience: Beginner
03-Oct-2007, 01:58 PM #9
Multiuser DB problems - me too.
I have experienced similar problems.

I set up a DB on a LAN environment.

I can only run the DB from one computer. If it is running on another machine I cannot open the application.
I get no error messages nothing. The applications simply wont open.

It seems that some of you have figured out a sollution but I did not understand exactly how that works.
Could somebody please explain this to me in a more simple way??

Thanks for the help.
David Lee Roth's Avatar
Junior Member with 2 posts.
 
Join Date: Oct 2007
Experience: Beginner
04-Oct-2007, 05:36 AM #10
Wink Multi User Problem for MS Access.
I am a genius

After searching the net for hours trying to find a sollution I finally stumbled onto one.
My problem was that I could only open the DataBase from one user in my network environment. Whenever I tried to open the file with another computer nothing happened.

I finally changed the security settings and put the network where the DB was located into my trusted zone.
This solved the matter perfectly.
Kudos to Yannick Turgeon who figured it out: http://www.thescripts.com/forum/thread207138.html
TallBruce's Avatar
Junior Member with 1 posts.
 
Join Date: Nov 2007
Experience: Intermediate
26-Nov-2007, 05:29 PM #11
Also need help
Hi I am also having difficulty getting an application to run on two Vista based PC's. The application accesses a mdb file but the networked pc cannot open the application if the other pc has already accessed the mdb. I did try to modify the registery entry by adding SMB2 with value 0 as suggested by bigslick2007.
Any assistance will be appreciated.
Thanks
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 07:03 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.