|
-
Dec 12th, 2005, 01:57 PM
#1
Thread Starter
Member
Having a problem with database search
I put in a search word through the web page and click search and get this error.
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot open the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view its data.
/addresssearch_db/NPANXX_Ownership/Utilized_NPANXX_Ownership Search Results.asp, line 23
Can anyone specify what the error is? Does it have to do with the code on my asp page or is it have to do with something with connectivity to my database?
Last edited by noycwild; Dec 16th, 2005 at 03:55 PM.
-
Dec 12th, 2005, 03:05 PM
#2
Fanatic Member
Re: Having a problem with database search
Do you have the database open while trying to access it?
Access can remain open but the table its self needs to be closed.
BTDT. Drove me nuts for a while
-
Dec 12th, 2005, 08:26 PM
#3
Lively Member
Re: Having a problem with database search
post ur code n il have a look at it 4u
*********** "why do things that are suspose to bad for us taste so good, whats ur addiction"
Kanye West **********
-
Dec 13th, 2005, 10:24 AM
#4
Thread Starter
Member
Re: Having a problem with database search
If IsObject(Session("DB_conn")) Then
Set conn = Session("DB_conn")
Else
Set conn = Server.CreateObject("ADODB.Connection")
conn.open "DB","",""
Set Session("DB_conn") = conn
End If
Last edited by noycwild; Dec 15th, 2005 at 09:31 AM.
-
Dec 13th, 2005, 11:49 AM
#5
Member
Re: Having a problem with database search
I'd bet money that juliemac nailed the issue on the head.
-
Dec 13th, 2005, 02:13 PM
#6
Thread Starter
Member
Re: Having a problem with database search
 Originally Posted by MarkDorf
I'd bet money that juliemac nailed the issue on the head.
I checked and the table and database is not open on any computer or server. Any other ideas? Could it be the web hosts side and not mine?
Last edited by noycwild; Dec 13th, 2005 at 02:41 PM.
-
Dec 14th, 2005, 04:17 PM
#7
Thread Starter
Member
Re: Having a problem with database search
/bump still having problems, i'm still waiting on a reply from my web host...the only thing i can think of because i looked up on microsoft.com and 3 causes are web host side and 1 cause is what you guys said before about the table or db being open and they are not. Any suggestions thoughts? Thanks
-
Dec 15th, 2005, 06:13 AM
#8
Lively Member
Re: Having a problem with database search
try
conn.close
to close database after search
after 'wend'
Last edited by johnrswanton; Dec 15th, 2005 at 06:17 AM.
*********** "why do things that are suspose to bad for us taste so good, whats ur addiction"
Kanye West **********
-
Dec 15th, 2005, 09:41 AM
#9
Thread Starter
Member
Re: Having a problem with database search
 Originally Posted by johnrswanton
try
conn.close
to close database after search
after 'wend'
I did try this, still didn't work.
Great idea! This would be useful, but it would only work if the database was being opened in the first place. The thing is it was working for a long time and all of a sudden it stopped working and gave me the error you see above. Still waiting on the web host to respond. Thanks for the input.
Last edited by noycwild; Dec 15th, 2005 at 10:06 AM.
-
Dec 15th, 2005, 05:45 PM
#10
Re: Having a problem with database search
Are there any .LDB files in the same directory as the MDB database?
-
Dec 16th, 2005, 08:48 AM
#11
Thread Starter
Member
Re: Having a problem with database search
 Originally Posted by mendhak
Are there any .LDB files in the same directory as the MDB database?
I checked and no there is not any .LDB files. The database is not opened and none of the tables in the database are open.
-
Dec 16th, 2005, 03:56 PM
#12
Thread Starter
Member
Re: Having a problem with database search
Thanks for the help....it did end up being the webhost side making the problem.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|