Deepak1984

Hi,

I have created a simple vb.net application with a datagrid connected to Access database.

I have deployed it on my system with as an admin.It runs fine there

Now when i run the application from another user account(which doesnt have admin rights)

on the same PC, the grid doesnt load data.

Can anyone suggest me a solution for this......

Thanks



Re: .NET Framework Data Access and Storage Cannot load data into datagrid when run on restricted user account

CommonGenius.com

Are you getting any error messages or exceptions




Re: .NET Framework Data Access and Storage Cannot load data into datagrid when run on restricted user account

Deepak1984

Hi

iam getting the error" could not lock file" on the line where iam filling the dataset

i.e. oledbadapter.fill(ds)





Re: .NET Framework Data Access and Storage Cannot load data into datagrid when run on restricted user account

CommonGenius.com

The windows user account must have read/write access to the mdb file AND the directory in which it is located.