Solved

ASP Unspecified Error 80004005

Posted on 2006-11-17
15
350 Views
Last Modified: 2012-06-27
We've got a customer that hasn't changed anything about their website (supposedly) and the ASP stopped working sometime in the last week. It's currently being hosted hosted elsewhere.  We moved the site to our server to hopefully help them out, and we get the same error:
Microsoft JET Database Engine error '80004005'

Unspecified error

/manufacturers.asp, line 13

Unspecified error: That's quite helpful!  This same thing happens on several of their ASP scripts, and the code is:

Dim objConn      'As ADODB.Connection
Dim objRS      'As ADODB.RecordSet

Set objConn = Server.CreateObject("ADODB.Connection")
Set objRS = Server.CreateObject("ADODB.RecordSet")

mdbfile = "rb.mdb"
connstr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath(mdbfile) & ";"

objConn.Open connstr   <--------This is line 13

I've found from googling that it's usually a permissions issue.  I've given their IUSER full permissions on the database itself and also the htdocs directory.  I've also found some people mentioning that you need to give the IUSER permissions to WINNT and TEMP, but we're running Server 2003, so I can't tell that that's even a valid thing to do, since it's not NT.  I tried it on Temp, but it didn't help.  Please help!

Thanks!
Blair

0
Comment
Question by:brownlb
15 Comments
 
LVL 6

Expert Comment

by:iscode
ID: 17968318
0
 

Author Comment

by:brownlb
ID: 17968344
I have, but that's for NT 4.0.  I'm basing that off of:
Environment variables are set under Windows NT 4.0 by going to the Control Panel and clicking System and then selecting the Environment tab.
0
 

Author Comment

by:brownlb
ID: 17968347
There is no Environment tab in 2003.
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
LVL 25

Expert Comment

by:kevp75
ID: 17968645
try using the physical path to the mdb file, rather than using a server.mappath
0
 

Author Comment

by:brownlb
ID: 17968690
Can you tell me what that code would be?  The physical path is C:\Inetpub\vhosts\domainname\rb.mdb.  I'm not familiar with the server.mappath anyway.
0
 
LVL 25

Expert Comment

by:kevp75
ID: 17968771
change this line:
connstr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath(mdbfile) & ";"

to:
connstr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Inetpub\vhosts\domainname\rb.mdb;"
0
 

Author Comment

by:brownlb
ID: 17968800
Thank you.

Alas, that didn't make any difference.
0
 
LVL 4

Expert Comment

by:carlmahon
ID: 17969183
I had the same error moving access db to a new 2003 server. It was resolved with permissions. The web user account needed permissions to access the file.

This post has some other good tips
http://www.experts-exchange.com/Web/Web_Languages/ASP/Q_20348344.html
0
 
LVL 25

Expert Comment

by:kevp75
ID: 17969597
yeah....on the file, and the containing folder.....   (but, questioner stated they already tried that..)
0
 

Author Comment

by:brownlb
ID: 17983307
Yep, I've already tried the permissions to no avail.
0
 
LVL 25

Expert Comment

by:kevp75
ID: 17984261
0
 

Author Comment

by:brownlb
ID: 17989801
Okay, it started working for absolutely no reason: on their old server and the new server it's on.  I love how things in MS world are cloaked in mystery....
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 19338408
PAQed with points refunded (250)

Computer101
EE Admin
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Help with stored procedure 30 66
Field that has HTML displays the code instead of the text in html 16 78
Summernote and form validation 10 141
Query still returning duplicates 5 30
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question