URGENT - DSN-less Connection to MS-Access 2000 Using Classic ASP

Discussion in 'Classic ASP' started by Bruce, Mar 5, 2007.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Bruce

    Bruce DiscountASP.NET Staff

  2. Dear All,
    We just moved our site to discountasp.net, & trying to change the site database connection to what the site requires but it's not working


    We are using DSNless connection, we changed our code as follow:
    [[start]]
    Set myConn = Server.CreateObject("ADODB.Connection")
    myConnStr = "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & Server.MapPath("..\_database\ticker.mdb")
    myConn.ConnectionString = myConnStr
    myConn.Open
    [[end]]

    But still not getting the data, I think we have something wrong in the database path syntax, could you please help us, also the main page home.asp showing another error "script time out...", I am not sure if this also related to the database.

    Please advice
    Thnaks for the help
    Ahmad.
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page