OutdoorGuy:
I would look at the permissions on the .mdb file and make sure the anonymous
user specified in IIS (whether that is the ASPNET account, or another) has
permissions to the file.
Second, I would check the security permissions in Access for the table or
object you are querying to see if the Admin (or other account) has
permissions on the table (or object).
--
David Lloyd
MCSD .NET
http://LemingtonConsulting.com
This response is supplied "as is" without any representations or warranties.
"OutdoorGuy" <OutdoorGuy@fishing.com> wrote in message
news:#TnZFoOUFHA.3392@TK2MSFTNGP12.phx.gbl...[color=blue]
> Greetings,
>
> I am receiving the following error message when I try to run a sample
> application that I've created:
>
> "The Microsoft Jet database engine cannot open the file
> 'C:\MYDATA\Sports.mdb'. It is already opened exclusively by another
> user, or you need permission to view its data."
>
> I have verified that the database is not in use by another application.
> Also, it is not marked as "Read-Only". Additionally, I have made the
> "ASPNET" machine account a member of the Power Users group.
>
> On my web page I am using a data grid and have the following code in the
> "Page_Load" event of the page. By the way, the error message occurs on
> the "this.oleDbDataAdapter1.Fill" line of code:
>
> private void Page_Load(object sender, System.EventArgs e)
> {
> if (! IsPostBack)
> {
> this.oleDbDataAdapter1.Fill(dsMembers11);
> this.DataBind();
> }
> }
>
> Any suggestions on what else I could try?
>
> Thanks in advance!
>
>
>
>
> *** Sent via Developersdex
http://www.developersdex.com ***[/color]