Right. If I were you, I'd try this:
1. Change your connection string to this:
"Provider=Microsoft.Jet.OLEDB.4.0;
Data Source=C:\adonetsbs\SampleDBs\nwind.mdb;Mode;
User ID=Admin;Password="
You don't really need the rest.
2. Make sure that the ASPNET account (or the account you're using when you're using impersonation) has access to the C:\adonetsbs\SampleDBs
folder. Granting access to just the database file is not enough, as the account also needs permissions to write the .lck files.
Take a look here:
http://Imar.Spaanjaars.Com/QuickDocID.aspx?QUICKDOC=263 for more details how to do this. The first half of the article doesn't apply to you (it's for classic ASP mostly), but be sure to check out the section titled: Changing the Security Settings. This section explains the steps you need to take to grant the necessary permissions.
HtH,
Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to:
Ramshackle by
Beck (From the album:
Odelay)