Ask a Question related to ASP.NET Security, Design and Development.
-
chris #1
Access and database connection
I get the following error when I try to run my web page in
asp.net.
The Microsoft Jet database engine cannot open the
file 'c:\inetpub\wwwroot\test\test.mdb'. It is already
opened exclusively by another user, or you need permission
to view its data.
I have gone to the User Accounts and changed all users to
group Administrators, but still does not work. I am using
visual studio.net, and I seem to remember changing
permissions on a file and it seemed to work after that but
can not remember what or where that file is located. If
anyone can help me with this error I would be most
appreciative.
chris
chris Guest
-
Help using Access database connection
I am using access, but when it connects using the supplied driver in CF MX7 suddenly I can see the full path name under for instance my tables in... -
DW8 connection to MS Access database
I'm new to database design and I've been trying to connect to an MS Database on my local computer. I've been going round in circles trying asp,... -
ASP Access Database Connection Problem
Hey all! I'm relatively new to using ASP and i am having difficulty connecting my Access Database using the application window in Dreamweaver MX... -
Access DataBase Connection Problem
There is something I don't do right. When setting up the Microsoft Jet Driver for my Access 2000 database connection, I clicked the test button and... -
Access Database connection is not working! Help!
Hi Guys, i had installed the new fix for Dreamweaver MX 2004 for the Windows XP SP2 but i still cannot connect with an Access database on a ASP.NET... -
Naveen K Kohli #2
Re: Access and database connection
Check if there is an instance of Access that has opened this data file and
is still open.
--
Naveen K Kohli
[url]http://www.netomatix.com[/url]
"chris" <chrisinfo_2000@yahoo.com> wrote in message
news:00c301c353a0$1facd8c0$a301280a@phx.gbl...> I get the following error when I try to run my web page in
> asp.net.
>
> The Microsoft Jet database engine cannot open the
> file 'c:\inetpub\wwwroot\test\test.mdb'. It is already
> opened exclusively by another user, or you need permission
> to view its data.
>
> I have gone to the User Accounts and changed all users to
> group Administrators, but still does not work. I am using
> visual studio.net, and I seem to remember changing
> permissions on a file and it seemed to work after that but
> can not remember what or where that file is located. If
> anyone can help me with this error I would be most
> appreciative.
>
> chris
Naveen K Kohli Guest
-
Jos #3
Re: Access and database connection
chris wrote:
This problem can have 2 causes (as indicated by the message):> I get the following error when I try to run my web page in
> asp.net.
>
> The Microsoft Jet database engine cannot open the
> file 'c:\inetpub\wwwroot\test\test.mdb'. It is already
> opened exclusively by another user, or you need permission
> to view its data.
>
> I have gone to the User Accounts and changed all users to
> group Administrators, but still does not work. I am using
> visual studio.net, and I seem to remember changing
> permissions on a file and it seemed to work after that but
> can not remember what or where that file is located. If
> anyone can help me with this error I would be most
> appreciative.
>
> chris
1) opened by another user. This can be caused by your own
application opening the database and not closing it. Make
sure to add the line myConnection.Close() after opening a
connection. Also use exception handling, so that the
this line also executes in the case of an error.
2) you need permission. Try changing the security settings on
the database file test.mdb, by giving the ASPNET account
at least read access.
--
Jos
Jos Guest
-
devex #4
Re: Access and database connection
I am having the same problem. My Access database is on my development
machine in the same virtual directory as my Web application. When I
right-click the file there is no security tab for setting permissions.
Does anyone know how to correct this problem?
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
devex Guest



Reply With Quote

