473,385 Members | 1,766 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,385 software developers and data experts.

DB_SEC_E_AUTH_FAILED's offspring

I tried to open an ole db connection to an .mdb file and it gave me an
DB_SEC_E_AUTH_FAILED exception. I changed the double quotes in the
connection string from "" to """", and it gave me the following error:

-2147467259 The Microsoft Jet database engine cannot open the file 'E:\
Inetpub\wwwroot\Vantage Wines\Assignment.mdb'. It is already opened
exclusively by another user, or you need permission to view its data.

The same error persists even when I ommit the double quotes altogether. I
tried to open several .mdb files and I get the same error every time.

Please help. My email address is re*********@hotmail.com. If you have any
suggestions I'm all ears.

Thanks.

Rey

--
Message posted via http://www.dotnetmonster.com
Nov 19 '05 #1
1 1887
Hi Reymond,

This usually means that the account that is running ASP.NET (ASPNET) doesn't
have write permissions in the directory where the .mdb file is located.
Access wants to creating a locking (.ldb) file for its own purposes.

"Reymond Charalambous via DotNetMonster.com" <fo***@DotNetMonster.com> wrote
in message news:c4******************************@DotNetMonste r.com...
I tried to open an ole db connection to an .mdb file and it gave me an
DB_SEC_E_AUTH_FAILED exception. I changed the double quotes in the
connection string from "" to """", and it gave me the following error:

-2147467259 The Microsoft Jet database engine cannot open the file 'E:\
Inetpub\wwwroot\Vantage Wines\Assignment.mdb'. It is already opened
exclusively by another user, or you need permission to view its data.

The same error persists even when I ommit the double quotes altogether. I
tried to open several .mdb files and I get the same error every time.

Please help. My email address is re*********@hotmail.com. If you have any
suggestions I'm all ears.

Thanks.

Rey

--
Message posted via http://www.dotnetmonster.com


Nov 19 '05 #2

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

Similar topics

61
by: Steven T. Hatton | last post by:
Stroustrup's view on classes, for the most part, seems to be centered around the notion of invariants. After a bit of adjusting to the use of yamt (yet another math term) in computer science, I...
1
by: darrel | last post by:
I'm still struggling with xpath syntax. I'm creating a menu via XSLT that checks to see if any given node has a descendant somewhere down the chain that is the 'current active page' and, if so,...
177
by: C# Learner | last post by:
Why is C syntax so uneasy on the eye? In its day, was it _really_ designed by snobby programmers to scare away potential "n00bs"? If so, and after 50+ years of programming research, why are...
2
by: Mike | last post by:
I keep running into the scenario below over and over again. Currently I get around not having covariant return types by using an interface and explicit property definitions which works to some...
0
by: mkhmer | last post by:
If anybody know how to fix the error "DB_SEC_E_AUTH_FAILED(0x80040E4D)" ??? I recognized that my ASP.net page got this error just a while after successfully connecting to the MS Access database...
1
by: Rene Pijlman | last post by:
I'd expect the program below to put only one line with "Eat me" in the log file. However, I get this with Python 2.4.2 in WingIDE on Windows XP: Eat me Ignore me My understanding is: 1....
2
by: mkhmer | last post by:
If anybody know how to fix the error "DB_SEC_E_AUTH_FAILED(0x80040E4D)" ??? I store the VB.Net connection string in the session variable and should be expired with 20mn, but this error mostly...
5
by: eliben | last post by:
Hello, I have a small wxPython application. Today I was trying to add some RPC capability to it, so I implemented an instance of SimpleXMLRPCServer that runs in a separate thread when invoked...
16
dmjpro
by: dmjpro | last post by:
Hey Experts! I want to know the prototype chaining? How does it take part in Inheritance in JavaScript?
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.