Results 1 to 14 of 14

Thread: Unspecified Error

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2000
    Posts
    323
    error '80004005'
    Unspecified error

    /nhd/view1.asp, line 18

    That is what I'm getting when trying to run a query from a database. The query runs fine in Access, I just import it out to ASP and call it my strSQL and now it's giving me this error. Here is my strSQL, please tell me what I'm doing wrong. Thanks.

    Code:
    strSQL = "SELECT Evaluations.RecordID, Evaluator.Evaluator, Member.Member, Title.Title, Evaluations.Evaluation_Date, Evaluations.Greeting, Evaluations.Verification, Evaluations.Probing, Evaluations.Control, Evaluations.Language, Evaluations.Courtesy, Evaluations.Accuracy, Evaluations.Problem, Evaluations.Transition, Evaluations.Retention, Evaluations.Ethics, Evaluations.Explain, Evaluations.Score"
    strSQL = strSQL & " FROM Title RIGHT JOIN (Member RIGHT JOIN (Evaluator RIGHT JOIN Evaluations ON Evaluator.EvaluatorID = Evaluations.Evaluator) ON Member.MemberID = Evaluations.Member) ON Title.TitleID = Evaluations.Title"
    strSQL = strSQL & " WHERE Evaluations.RecordID = " & Request.QueryString("Record")
    Thanks for any help.
    If you think education is expensive, try ignorance.

  2. #2
    Lively Member harsoni's Avatar
    Join Date
    Oct 2000
    Posts
    118
    I don't see any problem in the above code...


    Sonia

  3. #3
    Addicted Member
    Join Date
    Mar 2001
    Posts
    152

    Unspecified Error

    IIS is really a big help with these eh?

    Most of the time I have had this problem it is usually is corrected by a fresh install of the newest MDAC from Microsoft. This would be my first guess...

    Also, can we see the Connection String (is it using a DSN, or is it DSNless)?

  4. #4
    Hyperactive Member compuGEEK's Avatar
    Join Date
    May 1999
    Location
    Mpls,MN,USA
    Posts
    281
    Perhaps this will help you out a bit:

    http://support.microsoft.com/support.../q237/5/36.asp

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2000
    Posts
    323
    That was so close. Thank you. It seems that solution is referring to the error when you're trying to append or write to the DB. The writing portion is working fine, it's the reading that is giving me the problem.

    Any other suggestions will be greatly appreciated.
    If you think education is expensive, try ignorance.

  6. #6

    Talking

    you are gonna hate me for saying this...
    but did you make a typo?

    those weird errors often come up when IIS can't find something.
    *urp*

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2000
    Posts
    323
    No, I don't hate you for saying that. I am very happy to hear any suggestions.

    The only reason I can say I didn't make a typo is because I made the query in Access. I then copied and pasted it into the ASP page. It is impossible for something to get misspelled while I'm doing that right?
    If you think education is expensive, try ignorance.

  8. #8
    hehe. microsoft is capable of many things.

    what is content of the line that gets the error?

    also, what is the connect string?
    *urp*

  9. #9

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2000
    Posts
    323
    ConnectString is.....
    Code:
    ConnectString = "Provider = Microsoft.Jet.OLEDB.4.0; Data Source = " & Server.MapPath("database/evaluations.mdb")
    The page says error in line 1, which I have found usually means the strSQL. That is posted above if you want to see it.

    Thanks again, keep 'em coming.
    If you think education is expensive, try ignorance.

  10. #10
    hop on your aol instant messanger and lets figure this out.
    *urp*

  11. #11

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2000
    Posts
    323
    I'm at work and don't have IM. I can post more information if you want to try it.
    If you think education is expensive, try ignorance.

  12. #12
    go for it.
    *urp*

  13. #13

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2000
    Posts
    323
    let me strip all of the proprietary stuff from the pages I could lose my job for and I will post the zip file.
    If you think education is expensive, try ignorance.

  14. #14

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2000
    Posts
    323
    Here it is. I included the db also so everything should work the same on your side as it does on mine.

    Please, please, please find something I have done wrong. Thanks.

    If you need to contact me you can at [email protected].
    Attached Files Attached Files
    If you think education is expensive, try ignorance.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width