Urgent ! Fail to connect ACCESS mdb file by ADO.NET and ASP.NET

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear all Expects

I need to develop a web application by using ASP.NET and ADO.NET. I use the OLEDB.connection to a access mdb file. But there is a main problem

After I use a VB6 application to connect this access mdb file, then I use this web application to connection the same access mdb file, the web application prompt me that the access mdb file is in use, so I can't open and connection to this mdb file.

In my case the VB6 and .NET web application must use in the same time and both of them must use the same access mdb file.

Can anyone help me to fix this problem, it is very urgent! Please help me

Thank a lot
 
If you check down a few posts, "Error when connected to Access MDB" Miha
answered it>

Hi,

Give aspnet local windows account (asuming you are running w2k or wxp) ntfs
privileges on mdb file.

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

kobeting said:
Dear all Expects,

I need to develop a web application by using ASP.NET and ADO.NET. I use
the OLEDB.connection to a access mdb file. But there is a main problem.
After I use a VB6 application to connect this access mdb file, then I
use this web application to connection the same access mdb file, the web
application prompt me that the access mdb file is in use, so I can't open
and connection to this mdb file.
In my case the VB6 and .NET web application must use in the same time
and both of them must use the same access mdb file.
 
Back
Top