Hi Trace,
Take a look at
this site. It defines various Connection Strings to Access and other database, including an UNC share...
Alternatively, you can create a virtual directory in your webserver (IIS) that you can call Database and that points to some location on your network.
You can then use Server.MapPath("/Database") to retrieve the location of the database.
In both cases, your web server needs enough permissions to read from the database and to create some lock files in the folder where the database resides. If you are using Anonymous Access, the web server uses IUSR_MachineName as the default account. This is usually a local account so you can't use it directly on the server with the database.
A few ways to solve this:
1. Have the IIS Virtual Directory run under a different Domain Account
2. Have IIS run under a Domain Account (you could change the security settings for your entire site, so it uses Domain\SomeUser for example.
3. You can use the IUSR_MachineAccount, but provide it your own password (the account has an automatically generated password, so you'll need to change it)
4. Upgrade to SQL Server or some other real DBMS ;) Makes it lot easier to scale out and to move your database to a different server.
Personally, I think that option 2 is quite OK. It allows you to control the rights this new web server account has, so it can't do more than IUSR could.
This may be a bit hard to digest at once if you're new to this, so feel free to ask further questions.
Cheers and good luck,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.