Consulting

Results 1 to 2 of 2

Thread: Specified Procedure Not Found

  1. #1
    VBAX Newbie
    Joined
    Dec 2011
    Posts
    3
    Location
    I have been trying to set up a client side script to connect to a local-user database. Seems pretty simple right? Here is my connection code:

    Set dbConn = CreateObject("ADODB.Connection")
    dbConn.Provider = "Microsoft.Jet.OLEDB.4.0"
    dbConn.Properties("Data Source") = "C:\temp\Ppres.mdb"
    dbConn.Open

    The code above yields an error "The specified procedure could not be found." on the dbConn.open line. I'm using Win2000, MDAC 2.7, Jet 4.0 sp5, and IE v5.5. This should work!!

    What am I missing here? Could Internet Explorer's Security settings be getting in the way? Is it some registry setting? Any advice would be appreciated.

  2. #2
    VBAX Tutor mohanvijay's Avatar
    Joined
    Aug 2010
    Location
    MADURAI
    Posts
    268
    Location
    try this
     
    ConStr="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\temp\Ppres.mdb"
     
    dbconn.open ConStr

Posting Permissions

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