473,406 Members | 2,698 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Unable to use my aspx web application when the access data file is open !!

Hello,
I simply make some aspx web page to update data in a mdb access
database..But when this database is open (not table, juste the mdb in
access) with MS Access, i have an error with my asp.net application (that
tell that the database is either open)
Is there a way to make no-exclusive connection to this database ??

Thanks a lot !!!

Oct 9 '08 #1
2 1124
That is one of the disadvantages of using Access rather than SQL Server, to
the best of my knowledge there is no way to avoid it. However, just out of
curiosity, why do you need to have the mdb open if you are using an ASPX
page to do the updating?
--
Nathan Sokalski
nj********@hotmail.com
http://www.nathansokalski.com/

"user" <us**@user.comwrote in message
news:46**********************************@microsof t.com...
Hello,
I simply make some aspx web page to update data in a mdb access
database..But when this database is open (not table, juste the mdb in
access) with MS Access, i have an error with my asp.net application (that
tell that the database is either open)
Is there a way to make no-exclusive connection to this database ??

Thanks a lot !!!

Oct 9 '08 #2
"user" <us**@user.comwrote in message
news:46**********************************@microsof t.com...
But when this database is open (not table, just the mdb in Access) with MS
Access
OK, step back here...

If you have an mdb file, then what you have is a Jet database - at this
level, this has nothing whatsoever to do with MS Access.

MS Access is a desktop database application development tool which, until
the most recent version, just happened to use the Jet (.mdb) database as its
default database file format...

When an ASP.NET app uses a Jet database, MS Access is not involved at all -
after all, you don't install Access on the webserver...

When you use ASP.NET with a Jet database (a very bad idea, for a whole
variety of reasons), your web app should make a connection to it when
required, and then close that connection as soon as possible. This is true
for any back-end RDBMS, but especially so for file-based databases like
Jet...

What connection string are you using? It should look something like this:
http://www.connectionstrings.com/?carrier=access

And, above all, make absolutely sure that no-one is using MS Access with an
open connection to the Jet database...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Oct 9 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: elieli_132 | last post by:
Hi, My problem is the following: Made changes to code in form and closed the form. Now unable to open / design the form. - Tried copying and pasting - the new one does not open /display....
1
by: Reza Sadeghi | last post by:
Hi I am getting this error when I tried to browse any asp.net in visual studio.net. I can build the project but when I try to run and debug the project I get error message that "Unable to start...
0
by: bazzer | last post by:
hey, i am using visual basic.net 2003 and have an ASP.NET webform application thats accessing a microsoft access 2003 database. i kept getting the following error when i tried to run it: ERROR ...
0
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.