unspecified Error occured when their is no mistake in codings

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • subashini Thiyagarajan
    New Member
    • Dec 2006
    • 218

    unspecified Error occured when their is no mistake in codings

    I am getting unspecified Error in my asp page(before this error i just opened the access table physically and closed it.)

    Generlly if i open the access table which has been coded in the programme

    i get
    unable to open registry key like this Error..

    then i close table i ll refresh page it will work properly.now
    it is showing

    Error Type:
    Provider (0x80004005)
    Unspecified error
    /manage/Emailworkorder. asp, line 204

    i refreshed it but i am not getting my page



    line 204 is
    <code>
    CNObj.Open "DBQ=C:\Inetpub \wwwroot\manage \ivr.mdb; DRIVER=Microsof t Access Driver (*.mdb)"
    </code>


    what would be the reason

    pls explain
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    This is probbly a stupid comment, I've only been using ASP for like 10 minutes :-P

    Do you really need the full path to the file (C:\Inetpub\www root\manage\ivr .mdb).
    I would think (C:\Inetpub\www root) would be the root so the only thig youd have to wirte was (manage\ivr.mdb )

    Comment

    • sashi
      Recognized Expert Top Contributor
      • Jun 2006
      • 1749

      #3
      Originally posted by subashini Thiyagarajan
      I am getting unspecified Error in my asp page(before this error i just opened the access table physically and closed it.)

      Generlly if i open the access table which has been coded in the programme

      i get
      unable to open registry key like this Error..

      then i close table i ll refresh page it will work properly.now
      it is showing

      Error Type:
      Provider (0x80004005)
      Unspecified error
      /manage/Emailworkorder. asp, line 204

      i refreshed it but i am not getting my page



      line 204 is
      <code>
      CNObj.Open "DBQ=C:\Inetpub \wwwroot\manage \ivr.mdb; DRIVER=Microsof t Access Driver (*.mdb)"
      </code>


      what would be the reason

      pls explain
      Hi there,

      Try changing the connection string to OleDB provider, kindly refer below, hope it helps. Good luck & Take care.

      Code:
        Provider=Microsoft.Jet.OLEDB.4.0; Data Source=C:\Inetpub\wwwroot\manage\ivr.mdb; User ID=admin; Password=;
      OR

      Code:
        Provider=Microsoft.Jet.OLEDB.4.0; User ID=admin; Password=; Data Source=& Server.MapPath("manage/ivr.mdb") & ";"

      Comment

      • subashini Thiyagarajan
        New Member
        • Dec 2006
        • 218

        #4
        Atliiiiiiiiiiii iiiiiiiiiiiiiii iiiii
        what is that STUPID comment? what u are using 10 Miniutes.

        Be specific .


        What is the mistake in my question and attached codings?

        Let me be clear

        if asp codings has the server.mappath comment ,v can give as u mentioned shortly.

        Otherwise it is default we need to give the full path.i want clear explanation for your criticizable comment.

        Comment

        Working...