Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

error on my .asp code HELP PLEASE!

2 views
Skip to first unread message

Coby Herd

unread,
Dec 27, 2006, 2:14:22 PM12/27/06
to
I keep getting the error message -

Error Type:
Microsoft JET Database Engine (0x80004005)
Unrecognized database format 'c:\inetpub\wwwroot\blog\db\blog.mdb'.
/blog/admin/Default.asp, line 14


and I have no idea what to do about it. Can anybody help me or send me in
the right direction?

I on a Win2K machine trying to access a database on localhost

--
Coby L. Herd
CaterData
172 Windsor Place
Brooklyn, NY 11215
Tel - (718) 832-1304
Fax - (718) 499-0421
www.caterdata.com


Evertjan.

unread,
Dec 27, 2006, 2:25:12 PM12/27/06
to
Coby Herd wrote on 27 dec 2006 in
microsoft.public.inetserver.asp.general:

> I keep getting the error message -
>
> Error Type:
> Microsoft JET Database Engine (0x80004005)
> Unrecognized database format 'c:\inetpub\wwwroot\blog\db\blog.mdb'.
> /blog/admin/Default.asp, line 14
>
>
> and I have no idea what to do about it. Can anybody help me or send
> me in the right direction?
>
> I on a Win2K machine trying to access a database on localhost

Show your code that opens the database ans show which line is nr 14.


--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Bob Barrows [MVP]

unread,
Dec 27, 2006, 4:04:48 PM12/27/06
to
Coby Herd wrote:
> I keep getting the error message -
>
> Error Type:
> Microsoft JET Database Engine (0x80004005)
> Unrecognized database format 'c:\inetpub\wwwroot\blog\db\blog.mdb'.
> /blog/admin/Default.asp, line 14
>
>
> and I have no idea what to do about it. Can anybody help me or send
> me in the right direction?
>
> I on a Win2K machine trying to access a database on localhost

Can you open the mdb file in Access?

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


Mike Brind

unread,
Dec 28, 2006, 2:36:40 AM12/28/06
to

"Coby Herd" <ch...@nyc.rr.com> wrote in message
news:O5PzgseK...@TK2MSFTNGP02.phx.gbl...

>I keep getting the error message -
>
> Error Type:
> Microsoft JET Database Engine (0x80004005)
> Unrecognized database format 'c:\inetpub\wwwroot\blog\db\blog.mdb'.
> /blog/admin/Default.asp, line 14
>

It's highly likely that you have a corrupted database file. If you can open
the db in Access, use the Compact and Repair option under Tools. If you
can't, see if anyone in the microsoft.public.access group can help.

--
Mike Brind


Shamsa Kanwal

unread,
Nov 21, 2009, 9:12:35 AM11/21/09
to
I used Microsoft access 2003 in ASP Connection Code. Now i m using Microsoft Access 2007 but my code is not supporting the 2007 Access version (.accdb) its gives error like:
Error Type:
Microsoft JET Database Engine (0x80004005)
Unrecognized database format 'c:\inetpub\wwwroot\hps\hpsschool.accdb'.
/hps/login.asp, line 3

Please tell me how can i solve this problem.

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com/g/

Evertjan.

unread,
Nov 21, 2009, 10:33:26 AM11/21/09
to
Shamsa Kanwal wrote on 21 nov 2009 in
microsoft.public.inetserver.asp.general:

> I used Microsoft access 2003 in ASP Connection Code. Now i m using
> Microsoft Access 2007 but my code is not supporting the 2007 Access
> version (.accdb) its gives error like: Error Type:
> Microsoft JET Database Engine (0x80004005)
> Unrecognized database format 'c:\inetpub\wwwroot\hps\hpsschool.accdb'.

Seems your Jet engine is not up to it.

Trust M$, that possibly there is no newer engine, Bob will know.

<http://msdn.microsoft.com/en-us/library/ms810810.aspx>

Bob Barrows

unread,
Nov 21, 2009, 10:32:14 AM11/21/09
to
Shamsa Kanwal wrote:
> I used Microsoft access 2003 in ASP Connection Code. Now i m using
> Microsoft Access 2007 but my code is not supporting the 2007 Access
> version (.accdb) its gives error like: Error Type:
> Microsoft JET Database Engine (0x80004005)
> Unrecognized database format 'c:\inetpub\wwwroot\hps\hpsschool.accdb'.
> /hps/login.asp, line 3
>
> Please tell me how can i solve this problem.
>
You didn't show us the code that produced this error, but if I had to guess,
I would say you are using the wrong provider in your connection string. Go
to www.connectionstrings.com to see the correct connection string for
connecting to an Access 2007 file.

--
Microsoft MVP - ASP/ASP.NET - 2004-2007

Bob Barrows

unread,
Nov 21, 2009, 10:50:01 AM11/21/09
to
Evertjan. wrote:
> Shamsa Kanwal wrote on 21 nov 2009 in
> microsoft.public.inetserver.asp.general:
>
>> I used Microsoft access 2003 in ASP Connection Code. Now i m using
>> Microsoft Access 2007 but my code is not supporting the 2007 Access
>> version (.accdb) its gives error like: Error Type:
>> Microsoft JET Database Engine (0x80004005)
>> Unrecognized database format
>> 'c:\inetpub\wwwroot\hps\hpsschool.accdb'.
>
> Seems your Jet engine is not up to it.
>
> Trust M$, that possibly there is no newer engine, Bob will know.
>
> <http://msdn.microsoft.com/en-us/library/ms810810.aspx>

It's a new version of Jet that's completely divorced from the old one ...

0 new messages