Access DB Connection Error: HTTP Error Code 415 Unsupported Media Type

Discussion in 'General troubleshooting' started by judyweir, Oct 1, 2006.

  1. I am trying to connect to my database using the following custom connection string:

    "Provider=Microsoft.Jet.OLEDB.4.0;
    Data Source=E:\web\harrisburgu\htdocs\_database\webdata.mdb;"

    I verified the path using the Server.MapPath method, so I'm pretty sure it is correct.

    When I try to test my connection from within the Dreamweaver connection wizard, I get the following error: "HTTP Error Code 415 Unsupported Media Type" I Googled this error and came up with nothing.

    What gives? Please help! Thanks in advance.

    Judy
     
  2. Create an ASP file in the folder with the DB using this code then execute the ASP file.

    <html>
    <head>
    <title>Where Am I</title>
    </head>

    <p>Path Translated: <%= Request.ServerVariables("PATH_TRANSLATED") %></b></p>
    </body>
    </html>
     
  3. Bruce

    Bruce DiscountASP.NET Staff

    I don't think the DW wizard will work with remote Access database. Your connection string looks fine to me.

    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     

Share This Page