473,802 Members | 1,971 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.NET and MS Access

I have been troubleshooting and troubleshooting over and
over again using MS Access in ASP.NET application. I'm
pretty sure some of you may had the same problem i'm
having but does anyone have this solution. it seem we have
permission or access locks with connect to an access
database though ASP.NET application. now, i check the
knowledge base and i follow there direction and it still
doesn't work. if any one resolved this problem, please
share your solution. this has been driving me crazy and
all of it doesn't make any since. thnx in advance!
Jul 21 '05 #1
6 1455
what exactly is your problem?

--
Regards

John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_auth or_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_autho r_plug>
----------------------------------------------

<an*******@disc ussions.microso ft.com> wrote in message
news:bc******** *************** *****@phx.gbl.. .
I have been troubleshooting and troubleshooting over and
over again using MS Access in ASP.NET application. I'm
pretty sure some of you may had the same problem i'm
having but does anyone have this solution. it seem we have
permission or access locks with connect to an access
database though ASP.NET application. now, i check the
knowledge base and i follow there direction and it still
doesn't work. if any one resolved this problem, please
share your solution. this has been driving me crazy and
all of it doesn't make any since. thnx in advance!

Jul 21 '05 #2
i get this error when connecting or updating an access
database:

The Microsoft Jet database engine cannot open the
file 'C:\Nwind.mdb'. It is already opened exclusively by
another user, or you need permission to view its data.

(i get the message if i try to connect and i check for
access lock (*ldb file). there was none.

-or-

Operation must use an updateable query.
(this one didn't come up after successfully connect to the
access database.)
i follow instruction from article # 316675 but it didn't
work.
-----Original Message-----
I have been troubleshooting and troubleshooting over and
over again using MS Access in ASP.NET application. I'm
pretty sure some of you may had the same problem i'm
having but does anyone have this solution. it seem we havepermission or access locks with connect to an access
database though ASP.NET application. now, i check the
knowledge base and i follow there direction and it still
doesn't work. if any one resolved this problem, please
share your solution. this has been driving me crazy and
all of it doesn't make any since. thnx in advance!
.

Jul 21 '05 #3
Do you have the database open via access when you get
this error? Close Access and try the ASP again.

-----Original Message-----
i get this error when connecting or updating an access
database:

The Microsoft Jet database engine cannot open the
file 'C:\Nwind.mdb'. It is already opened exclusively by
another user, or you need permission to view its data.

(i get the message if i try to connect and i check for
access lock (*ldb file). there was none.

-or-

Operation must use an updateable query.
(this one didn't come up after successfully connect to theaccess database.)
i follow instruction from article # 316675 but it didn't
work.
-----Original Message-----
I have been troubleshooting and troubleshooting over andover again using MS Access in ASP.NET application. I'm
pretty sure some of you may had the same problem i'm
having but does anyone have this solution. it seem we

have
permission or access locks with connect to an access
database though ASP.NET application. now, i check the
knowledge base and i follow there direction and it stilldoesn't work. if any one resolved this problem, please
share your solution. this has been driving me crazy and
all of it doesn't make any since. thnx in advance!
.

.

Jul 21 '05 #4
This is almost always a permissions issue, where the asp.net account or the
autheticated user it is running as doesn't have read or write access to the
MDB file. An MDB database must be able to write the ldb file to the
directory it resides in - does the directory/web application have write
permissions.

--
Regards

John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_auth or_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_autho r_plug>
----------------------------------------------

<an*******@disc ussions.microso ft.com> wrote in message
news:0a******** *************** *****@phx.gbl.. .
i get this error when connecting or updating an access
database:

The Microsoft Jet database engine cannot open the
file 'C:\Nwind.mdb'. It is already opened exclusively by
another user, or you need permission to view its data.

(i get the message if i try to connect and i check for
access lock (*ldb file). there was none.

-or-

Operation must use an updateable query.
(this one didn't come up after successfully connect to the
access database.)
i follow instruction from article # 316675 but it didn't
work.
-----Original Message-----
I have been troubleshooting and troubleshooting over and
over again using MS Access in ASP.NET application. I'm
pretty sure some of you may had the same problem i'm
having but does anyone have this solution. it seem we

have
permission or access locks with connect to an access
database though ASP.NET application. now, i check the
knowledge base and i follow there direction and it still
doesn't work. if any one resolved this problem, please
share your solution. this has been driving me crazy and
all of it doesn't make any since. thnx in advance!
.

Jul 21 '05 #5
On Tue, 2 Dec 2003 21:51:35 -0800, <an*******@disc ussions.microso ft.com> wrote:

¤ I have been troubleshooting and troubleshooting over and
¤ over again using MS Access in ASP.NET application. I'm
¤ pretty sure some of you may had the same problem i'm
¤ having but does anyone have this solution. it seem we have
¤ permission or access locks with connect to an access
¤ database though ASP.NET application. now, i check the
¤ knowledge base and i follow there direction and it still
¤ doesn't work. if any one resolved this problem, please
¤ share your solution. this has been driving me crazy and
¤ all of it doesn't make any since. thnx in advance!

There are two articles that cover this issue:

PRB: Cannot Connect to Access Database from ASP.NET
http://support.microsoft.com/default...Product=aspnet

INFO: Permissions to Connect to a Remote Access Database from ASP.NET
http://support.microsoft.com/default...Product=aspnet
Paul ~~~ pc******@amerit ech.net
Microsoft MVP (Visual Basic)
Jul 21 '05 #6
I GOT IT!
THANK YOU ALL!
-----Original Message-----
i get this error when connecting or updating an access
database:

The Microsoft Jet database engine cannot open the
file 'C:\Nwind.mdb'. It is already opened exclusively by
another user, or you need permission to view its data.

(i get the message if i try to connect and i check for
access lock (*ldb file). there was none.

-or-

Operation must use an updateable query.
(this one didn't come up after successfully connect to theaccess database.)
i follow instruction from article # 316675 but it didn't
work.
-----Original Message-----
I have been troubleshooting and troubleshooting over and
over again using MS Access in ASP.NET application. I'm
pretty sure some of you may had the same problem i'm
having but does anyone have this solution. it seem we

have
permission or access locks with connect to an access
database though ASP.NET application. now, i check the
knowledge base and i follow there direction and it still
doesn't work. if any one resolved this problem, please
share your solution. this has been driving me crazy and
all of it doesn't make any since. thnx in advance!
.

.

Jul 21 '05 #7

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

Similar topics

63
5944
by: Jerome | last post by:
Hi, I'm a bit confused ... when would I rather write an database application using MS Access and Visual Basic and when (and why) would I rather write it using Visual Studio .Net? Is it as easy in Visual Studio to create reports and labels as it's in Access?` The advantage of VS.net is that not every user needs Access, right? And that would eliminate the Access version problem as well I guess.
13
2957
by: bill | last post by:
I am trying to convince a client that dotNet is preferable to an Access project (ADP/ADE). This client currently has a large, pure Access MDB solution with 30+ users, which needs to be upgraded. I believe a dotNet solution is better, but I'm trying to be as convincing as possible -- and maybe I'm wrong! I would appreciate any input or references which could help me.
1
4349
by: Dave | last post by:
Hello NG, Regarding access-declarations and member using-declarations as used to change the access level of an inherited base member... Two things need to be considered when determining an inherited base member's access level in the derived class: its access level in the base class and the type of inheritance (public, protected, or private). After this determination is made, the following possibilities exist for manually changing the...
13
13362
by: Simon Bailey | last post by:
I am a newcomer to databases and am not sure which DBMS to use. I have a very simplified knowledge of databases overall. I would very much appreciate a (simplifed) message explaining the advantages and disadvantages of both programs. Many Thanks Simon
0
2984
by: Frederick Noronha \(FN\) | last post by:
---------- Forwarded message ---------- Solutions to Everyday User Interface and Programming Problems O'Reilly Releases "Access Cookbook, Second Edition" Sebastopol, CA--Neither reference book nor tutorial, "Access Cookbook, Second Edition" (O'Reilly, US $49.95), by Ken Getz, Paul Litwin, and Andy Baron, delivers hundreds of practical examples, up-to-date suggestions, and handy solutions to real-world problems that Access users and...
20
3351
by: Olav.NET | last post by:
I am a .NET/C++ developer who is supposed to do some work with Access. I do not know much about it except for the DB part. Questions: *1* I am looking for INTENSIVE books to get quickly up to speed. I like books with practical exercises, and also with test questions (like cert books) *2*
64
5265
by: John | last post by:
Hi What future does access have after the release of vs 2005/sql 2005? MS doesn't seem to have done anything major with access lately and presumably hoping that everyone migrates to vs/sql. Any comments? Thanks
1
3350
by: com | last post by:
Extreme Web Reports 2005 - Soft30.com The wizard scans the specified MS Access database and records information such as report names, parameters and subqueries. ... www.soft30.com/download-1-11975.htm - 31k - Cached - Similar pages MDBSecure 1.0.8.0 - Soft30.com Utility which makes it easy to create secure MS Access Databases, ... MS Access 2000/2003 format. 30 day money back guarantee, 30 day trial. ...
17
4423
by: Mell via AccessMonster.com | last post by:
Is there a way to find out where an application was created from? i.e. - work or home i.e. - if application sits on a (work) server/network, the IT people know the application is sitting there, but is there a way they can find out if that application was put there from a CD or email or created at work? Hint: It's not on a client/server database, just native jet database mdb created on Access 2003 (default 2000)...
37
5269
by: jasmith | last post by:
How will Access fair in a year? Two years? .... The new version of Access seems to service non programmers as a wizard interface to quickly create databases via a fancy wizard. Furthermore, why would you even continue to use Access as a backend when you have a much superior option in SQL express? What about as a future front-end development tool? Let's get serious. Microsoft continues to publish numerous articles and videos on how you...
0
9699
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9562
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10285
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10063
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7598
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5494
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4270
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3792
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.