Re: DB connection PB.
From: William Burrows [MVP] (burrowsREMOVEME_at_u.washington.edu)
Date: 03/23/04
- Previous message: ptreves: "DB connection PB."
- In reply to: ptreves: "DB connection PB."
- Next in thread: ptreves: "Re: DB connection PB."
- Reply: ptreves: "Re: DB connection PB."
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 23 Mar 2004 14:28:30 -0800
Paolo,
When you use an Access database within ASP .NET, two things are required.
First, the ASPNET user needs permission to read/write to the database
(assuming you are including insert, delete, or update ability. Second, the
ASPNET users needs to be able to create a file within the application folder
because Access create a new file to manage locking.
Please see:
http://www.asp.net/security.aspx?tabindex=0&tabid=1
for complete details.
bill burrows
"ptreves" <ptreves@sympatico.ca> wrote in message
news:56C2E2ED-585B-46C0-98E2-1F7A12F26F1A@microsoft.com...
> Hello,
>
> I am writing an ASP.NET application and accessing a MS-Access DB.
> I get the following error
> The Microsoft Jet database engine cannot open the file 'C:\My
Folder\CI211 - C#\Final Project\Northwind_2.mdb'. It is already opened
exclusively by another user, or you need permission to view its data.]
>
> How can I resolve this problem ?
>
> I heard that I should enable impersonation of my ASP.NET application. What
is all that about ?
>
> Regards,
>
> Paolo
>
- Previous message: ptreves: "DB connection PB."
- In reply to: ptreves: "DB connection PB."
- Next in thread: ptreves: "Re: DB connection PB."
- Reply: ptreves: "Re: DB connection PB."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|