PDA

View Full Version : Access DB Connection Error: HTTP Error Code 415 Unsupported Media Type


judyweir
10-01-2006, 06:59 AM
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

wisemx
10-01-2006, 07:51 AM
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>
[b]
<p>Path Translated: [b]<%= Request.ServerVariables("PATH_TRANSLATED") %></b></p>
</body>
</html>

bruce
10-02-2006, 09:04 AM
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 (http://www.DiscountASP.NET)