473,396 Members | 1,786 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Location for shared Access database

Hi newsgroup!

Can anyone tell me where I should put a simple Access database file in
order to be accessible for every computer in the network (same
workgroup)? There does not need to be any protection (I heard people say
that I should buy a dedicated server or have special rights for each and
every user, but I can keep it simple since there will be no intruders -
no internet connection available -).
I don't think that the "Programs" folder is the right place.
Should I just place a folder on the primary hard disk, like
"C:\MySharedDatabaseFolder"?

Would that work on Vista, too?

Any help is welcome!!
Thank you for your reply,
Elton.
Nov 10 '06 #1
13 2267


"Elton Cohen" <el*********@gmail.comwrote in message
news:eD*************@TK2MSFTNGP02.phx.gbl...
Hi newsgroup!

Can anyone tell me where I should put a simple Access database file in
order to be accessible for every computer in the network (same workgroup)?
There does not need to be any protection (I heard people say that I should
buy a dedicated server or have special rights for each and every user, but
I can keep it simple since there will be no intruders - no internet
connection available -).
I don't think that the "Programs" folder is the right place.
Should I just place a folder on the primary hard disk, like
"C:\MySharedDatabaseFolder"?

Would that work on Vista, too?

The correct location for a network-shared access database is
c:\$Recycle.Bin.

For a network-shared database, use SQL Server instead:

SQL Server Express Edition (free)
http://msdn.microsoft.com/vstudio/ex...r/default.aspx

SQL Server Migration Assistant for Access (SSMA Access)
http://www.microsoft.com/sql/solutio...s/default.mspx
However, if that's not an option then

C:\MySharedDatabaseFolder

is good. You will also need to add a share on that folder, and grant
network users read write access. This will work on Vista as well, although
you'll need to adjust the local folder permissions since users don't have
write permissions on c:\ by default.
Remember when creating a share, there are two levels of permissions that
both must be set: share-level permissions and folder-level permissions.

If your users aren't in a domain, then you will have to create local
accounts on the shared computer with usernames and passwords matching the
ones used on the users' workstations.

David
Nov 10 '06 #2
I thought SQLServer Express databases were not permitted to be
on shares; I thought they were single-use only. Is that not true?

Robin S.
---------------------------
"David Browne" <davidbaxterbrowne no potted me**@hotmail.comwrote in
message news:ey**************@TK2MSFTNGP02.phx.gbl...
>

"Elton Cohen" <el*********@gmail.comwrote in message
news:eD*************@TK2MSFTNGP02.phx.gbl...
>Hi newsgroup!

Can anyone tell me where I should put a simple Access database file in
order to be accessible for every computer in the network (same
workgroup)? There does not need to be any protection (I heard people say
that I should buy a dedicated server or have special rights for each and
every user, but I can keep it simple since there will be no intruders -
no internet connection available -).
I don't think that the "Programs" folder is the right place.
Should I just place a folder on the primary hard disk, like
"C:\MySharedDatabaseFolder"?

Would that work on Vista, too?


The correct location for a network-shared access database is
c:\$Recycle.Bin.

For a network-shared database, use SQL Server instead:

SQL Server Express Edition (free)
http://msdn.microsoft.com/vstudio/ex...r/default.aspx

SQL Server Migration Assistant for Access (SSMA Access)
http://www.microsoft.com/sql/solutio...s/default.mspx
However, if that's not an option then

C:\MySharedDatabaseFolder

is good. You will also need to add a share on that folder, and grant
network users read write access. This will work on Vista as well,
although you'll need to adjust the local folder permissions since users
don't have write permissions on c:\ by default.
Remember when creating a share, there are two levels of permissions that
both must be set: share-level permissions and folder-level permissions.

If your users aren't in a domain, then you will have to create local
accounts on the shared computer with usernames and passwords matching the
ones used on the users' workstations.

David


Nov 10 '06 #3
Depends on the number of users. For a home network, access is a prefectly
acceptable choice and easy to maintain...much easier than SQL Server.
--
Dennis in Houston
"David Browne" wrote:
>

"Elton Cohen" <el*********@gmail.comwrote in message
news:eD*************@TK2MSFTNGP02.phx.gbl...
Hi newsgroup!

Can anyone tell me where I should put a simple Access database file in
order to be accessible for every computer in the network (same workgroup)?
There does not need to be any protection (I heard people say that I should
buy a dedicated server or have special rights for each and every user, but
I can keep it simple since there will be no intruders - no internet
connection available -).
I don't think that the "Programs" folder is the right place.
Should I just place a folder on the primary hard disk, like
"C:\MySharedDatabaseFolder"?

Would that work on Vista, too?


The correct location for a network-shared access database is
c:\$Recycle.Bin.

For a network-shared database, use SQL Server instead:

SQL Server Express Edition (free)
http://msdn.microsoft.com/vstudio/ex...r/default.aspx

SQL Server Migration Assistant for Access (SSMA Access)
http://www.microsoft.com/sql/solutio...s/default.mspx
However, if that's not an option then

C:\MySharedDatabaseFolder

is good. You will also need to add a share on that folder, and grant
network users read write access. This will work on Vista as well, although
you'll need to adjust the local folder permissions since users don't have
write permissions on c:\ by default.
Remember when creating a share, there are two levels of permissions that
both must be set: share-level permissions and folder-level permissions.

If your users aren't in a domain, then you will have to create local
accounts on the shared computer with usernames and passwords matching the
ones used on the users' workstations.

David
Nov 10 '06 #4
Hi David,

thanks for your reply.
I really must sleep over that because networking has always been
frustrating for me.
I have kept that chapter in a very dark corner of my project for a long
time.

I think I have somehow underestimated it because I did the following:

1 PC WinXP Pro
1 PC WinXP Home

both PCs have differently namend user accounts, but both are administrators

Plugged both together with an Ethernet cable
Put both in the same workgroup
Shared 1 folder on PC 1
Shared 1 folder on PC 2

PC1 could see and write to folder on PC2
PC2 could see and write to folder on PC1

Somehow I really think I did something magic when I hear that this is
only possible with special permissions or domains or equally named
accounts/ passes.

Giving a short statement about that would be very nice of you.

Thanks.
Elton.
Nov 10 '06 #5


"Elton Cohen" <el*********@gmail.comwrote in message
news:uk**************@TK2MSFTNGP03.phx.gbl...
Hi David,

thanks for your reply.
I really must sleep over that because networking has always been
frustrating for me.
I have kept that chapter in a very dark corner of my project for a long
time.

I think I have somehow underestimated it because I did the following:

1 PC WinXP Pro
1 PC WinXP Home

both PCs have differently namend user accounts, but both are
administrators

Plugged both together with an Ethernet cable
Put both in the same workgroup
Shared 1 folder on PC 1
Shared 1 folder on PC 2

PC1 could see and write to folder on PC2
PC2 could see and write to folder on PC1

Somehow I really think I did something magic when I hear that this is only
possible with special permissions or domains or equally named accounts/
passes.

Giving a short statement about that would be very nice of you.
Honestly I don't know why that works for you. May be something with XP. I
know domain or workgroup authentication will work for any version of
Windows.

David

Nov 13 '06 #6


"RobinS" <Ro****@NoSpam.yah.nonewrote in message
news:f-******************************@comcast.com...
>I thought SQLServer Express databases were not permitted to be
on shares; I thought they were single-use only. Is that not true?
Not true. SQL Server Express is well suited to small workgroup environments.
It has not connection limit or workload governer. Rather it is physically
limited to 1CPU, 1GB of RAM and 4GB per database. By default the installer
doesn't enable remote connections to the database, but that's just to be
"secure by default". You can enable remote connections after the install
and you're good to go.

David

Nov 13 '06 #7
Cool. Thanks for clarifying that for me!
Robin S.
-------------------------
"David Browne" <davidbaxterbrowne no potted me**@hotmail.comwrote in
message news:%2****************@TK2MSFTNGP02.phx.gbl...
>

"RobinS" <Ro****@NoSpam.yah.nonewrote in message
news:f-******************************@comcast.com...
>>I thought SQLServer Express databases were not permitted to be
on shares; I thought they were single-use only. Is that not true?

Not true. SQL Server Express is well suited to small workgroup
environments. It has not connection limit or workload governer. Rather it
is physically limited to 1CPU, 1GB of RAM and 4GB per database. By
default the installer doesn't enable remote connections to the database,
but that's just to be "secure by default". You can enable remote
connections after the install and you're good to go.

David

Nov 14 '06 #8
On Fri, 10 Nov 2006 21:27:43 +0100, Elton Cohen <el*********@gmail.comwrote:

¤ Hi newsgroup!
¤
¤ Can anyone tell me where I should put a simple Access database file in
¤ order to be accessible for every computer in the network (same
¤ workgroup)? There does not need to be any protection (I heard people say
¤ that I should buy a dedicated server or have special rights for each and
¤ every user, but I can keep it simple since there will be no intruders -
¤ no internet connection available -).
¤ I don't think that the "Programs" folder is the right place.
¤ Should I just place a folder on the primary hard disk, like
¤ "C:\MySharedDatabaseFolder"?

You can place the database file anywhere. In a workgroup environment you just need to create a
network share for the folder location and provide full access to all users.

Users can then create a mapped drive letter to the share or reference the database by the UNC path
(e.g. \\ComputerName\Sharename\db.mdb).
Paul
~~~~
Microsoft MVP (Visual Basic)
Nov 15 '06 #9
On Fri, 10 Nov 2006 15:10:57 -0800, "RobinS" <Ro****@NoSpam.yah.nonewrote:

¤ I thought SQLServer Express databases were not permitted to be
¤ on shares; I thought they were single-use only. Is that not true?
¤

Permitted but not necessarily supported. A SAN is OK but there are certain requirements for NAS. If
you're just using a standard computer file share then all I can say is "good luck".

Description of support for network database files in SQL Server
http://support.microsoft.com/kb/304261
Paul
~~~~
Microsoft MVP (Visual Basic)
Nov 15 '06 #10


"RobinS" <Ro****@NoSpam.yah.nonewrote in message
news:f-******************************@comcast.com...
>I thought SQLServer Express databases were not permitted to be
on shares; I thought they were single-use only. Is that not true?
To clarify, in SQL Server the Database Engine instance is installed on the
same computer as the Database files. Clients connect over the network to
the database engine. Running the database engine on a different computer
from the database files is not supported, and in any case only a single
database engine instance can connect to the database files.

David

Nov 16 '06 #11
Just to make sure I understand. I can run SQLServerExpress
on a computer, and put the database files there.

If I want to access that database from another computer,
I can do that with a desktop app (or web app) using ADO.Net.

But if I install SQLServer Express on the second computer,
I can't access the database files on the first computer
using that instance of SQLServer Express.

But I can have multiple people with desktop apps accessing
the SQLServerExpress database at the same time using ADO.Net?
Or not?

Is that right?

Robin S.
--------------------
"David Browne" <davidbaxterbrowne no potted me**@hotmail.comwrote in
message news:Oz**************@TK2MSFTNGP02.phx.gbl...
>

"RobinS" <Ro****@NoSpam.yah.nonewrote in message
news:f-******************************@comcast.com...
>>I thought SQLServer Express databases were not permitted to be
on shares; I thought they were single-use only. Is that not true?

To clarify, in SQL Server the Database Engine instance is installed on the
same computer as the Database files. Clients connect over the network to
the database engine. Running the database engine on a different computer
from the database files is not supported, and in any case only a single
database engine instance can connect to the database files.

David

Nov 17 '06 #12


"RobinS" <Ro****@NoSpam.yah.nonewrote in message
news:7K******************************@comcast.com. ..
Just to make sure I understand. I can run SQLServerExpress
on a computer, and put the database files there.

If I want to access that database from another computer,
I can do that with a desktop app (or web app) using ADO.Net.

But if I install SQLServer Express on the second computer,
I can't access the database files on the first computer
using that instance of SQLServer Express.

But I can have multiple people with desktop apps accessing
the SQLServerExpress database at the same time using ADO.Net?
Yes. You've got it exactly.

David
Nov 17 '06 #13
Phew! I'm going to keep that information somewhere I can find it
in case I need it in the future!

Thanks,
Robin S.
----------------------------
"David Browne" <davidbaxterbrowne no potted me**@hotmail.comwrote in
message news:%2****************@TK2MSFTNGP03.phx.gbl...
>

"RobinS" <Ro****@NoSpam.yah.nonewrote in message
news:7K******************************@comcast.com. ..
>Just to make sure I understand. I can run SQLServerExpress
on a computer, and put the database files there.

If I want to access that database from another computer,
I can do that with a desktop app (or web app) using ADO.Net.

But if I install SQLServer Express on the second computer,
I can't access the database files on the first computer
using that instance of SQLServer Express.

But I can have multiple people with desktop apps accessing
the SQLServerExpress database at the same time using ADO.Net?

Yes. You've got it exactly.

David


Nov 17 '06 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Mike MacSween | last post by:
My client has an MS Access database application on her local machine. I have full access to that in terms of changing the design. I've got a simple PHP/MySql application on shared hosting, so no...
2
by: Vincenzo Davi | last post by:
I have created a dll with several classes in C#. One of the classes references image files in the subdirectories of the bin/Release folder (basically where the dll resides). Now, I want to use...
96
by: BadPony | last post by:
Anyone using Peoplesoft on a Federated UDB (shared nothing)Environment on Open System Platforms? Preferably AIX, but any war stories would be good. TEA EB-C
6
by: Mike Wiseley | last post by:
We recently converted our department wide shared Access97 database to Access2K. We used to be able to open various reports in design mode and make changes to the design (or create new reports) even...
2
by: jfathman | last post by:
Hello, We are considering a project that requires implementing a database (Windows PC based) that would be shared by a small number of users. The database would store events output by our...
10
by: Daniel Fernandes | last post by:
Hi there Let's say due to several reasons I have an ASP.Net application that has a database access class that stores a database connection in a shared member : public class dataaccess ...
2
by: Random | last post by:
Here's a design question I'm curious to know if anyone here has wrestled with before... I'm writing my data access methods in classes in the App_Code directory. I know that I can easily...
3
by: theProfessor | last post by:
We are using a shared split database with all users currently using Access 2003. The back end is on a shared drive of a state wide WAN. Each user has a copy of the front end on their local...
0
by: =?Utf-8?B?Y2NfY3Jhc2g=?= | last post by:
Can anyone help me with an example of how I can have my users choose the location of the database file when the program starts up? I am working with VB.net 2005 looking at an Access Database. I...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.