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

database handling weeeeee!

hello sir, im getting this error! im newbie in handling records in asp!! this is:

HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services

Error Type:
Microsoft JET Database Engine (0x80004005)
Could not use ''; file already in use.


thnx a lot!!
Feb 13 '08 #1
5 1071
markrawlingson
346 Expert 100+
2 questions:

1) Are you trying to open 2 data connections to the same database?
2) Is the database open on the server which is trying to serve the web page?

These can both cause that issue if it's an mdb database which it sounds like it is. Also, show your code and highlight the line which is throwing the error.

Sincerely,
Mark
Feb 13 '08 #2
-=function.asp=-
<%
Dim adocon,adorst, strDbPath
strDbPath = "mboard.mdb"

Sub ConnectDB()
Set adocon = Server.CreateObject("ADODB.Connection")
adocon.Open "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & Server.MapPath(strDbPath)
End Sub

Error Type:
Microsoft JET Database Engine (0x80004005)
Could not use ''; file already in use.
/functions.asp, line 7
Feb 13 '08 #3
DrBunchman
979 Expert 512MB
Hi LousyLife,

This is probably a permissions problem. Are you using authentication or the anonymous account for this website (the default is anonymous)?

Can you go to the folder where your database is stored (the .mdb file), right click on the folder and check the security tab.
  • If you're using authentication then check that you or a group that you are in is listed with read/write access.
  • If you're using the anonymous account then check that the account (IUSR_<ComputerName>) is listed with read/write access.
If you're not sure which method of authentication you are using or what your anonymous account name is then check the settings in the IIS console.

Let me know if this helps or you need any further info,

Dr B
Feb 13 '08 #4
Yey!!

I Got It!! The Data Are Already Stored!!

Its Just The Authentication!!

Thnx For The Help!! =p
Feb 13 '08 #5
markrawlingson
346 Expert 100+
[Edited]
Ignore.. Responded before i posted :P
Feb 13 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Eric Kincl | last post by:
Hello, its been a while since I posted/looked here... my normal email client doesn't handle newsgroups :( (ximian evolution) I was wondering how you stick a file into a database, and then...
4
by: Berislav Lopac | last post by:
I am looking for a good general-purpose database-handling library for PHP. The ideal one would be as much as possible object-oriented, and I 'm currently looking at such as ADOdb and PEAR:DB. Does...
3
by: Sam | last post by:
I have developed a small database which is setup with the front end and backend files. There are 12 linked tables withe the datafile located on our server. Now the boss wants to be able to...
9
by: Therese A. Sorna | last post by:
Hello all... I am using Access 2002. I have database set to add users names to the user level security when they are added to a particular table in a database, using the Catalog and...
7
by: News | last post by:
Hello, I have to build a program with the future in mind and I need a bit of guidance from a guru or two. My program will start as a multi-user Windows Application built with VB.Net and using an...
17
by: shineofleo | last post by:
Here is the situation: I wrote a VB programm, which stores all the information in a single Access database file using jet engine. It worked well, however one of my customs reported that there was...
32
by: David Isaac | last post by:
I have no experience with database applications. This database will likely hold only a few hundred items, including both textfiles and binary files. I would like a pure Python solution to the...
3
by: John Taylor | last post by:
Tried to find any reference to this on the Microsoft help pages but can't find any reference - maybe I'm just not smart enough to find it. However; I have been working on a membership database...
6
by: asadikhan | last post by:
Hello, I have a bit of a design issue around this application I am developing, and I just want to run it through some of the brains out here. So I have a table called ErrorCheck which...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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...
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:
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...

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.