Re: URGENT - ODBC Problems.
From: Bob Barrows [MVP] (reb01501_at_NOyahoo.SPAMcom)
Date: 03/24/04
- Next message: Bob Barrows [MVP]: "Re: Add record to database"
- Previous message: Bob Barrows [MVP]: "Re: Initialization string <> OLE DB spec."
- In reply to: Henrique Alves: "URGENT - ODBC Problems."
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 24 Mar 2004 09:18:43 -0500
Henrique Alves wrote:
> Hi,
> When I trie to browse the site I get this two errors:
> * 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.
>
> I already check the permission on the folder where is the
> database and is everything ok.
> I realy need help on this, please.
>
Whose permissions did you check? Your own? If so, you did not solve the
problem. ASP runs under the IUSR_machinename account, not under your
credentials. The IUSR account requires Change permissions for that folder.
For other causes of the 80004005 error, see this article:
http://www.aspfaq.com/show.asp?id=2009
You should stop using ODBC. The native OLEDB provider is more robust and
provides more features than the deprecated ODBC provider. See
www.able-consulting.com/ado_conn.htm for examples.
Bob Barrows
-- Microsoft MVP -- ASP/ASP.NET Please reply to the newsgroup. The email account listed in my From header is my spam trap, so I don't check it very often. You will get a quicker response by posting to the newsgroup.
- Next message: Bob Barrows [MVP]: "Re: Add record to database"
- Previous message: Bob Barrows [MVP]: "Re: Initialization string <> OLE DB spec."
- In reply to: Henrique Alves: "URGENT - ODBC Problems."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|