Hello
I am getting the following error:
Microsoft JET Database Engine error '80004005'
Could not find
file 'D:\business\
/shout/shout.asp, line 19
I imagine this is because my server is looking for this string:
D:\business\mysite.com\html\shout\shout.mdb
but can't find it. There is a simple reason: it is not there.
The original code (from a free ASP site) is as follows:
<%
filepathx = Server.MapPath("shout.mdb")
Set dbconex = Server.CreateObject("ADODB.Connection")
dbconex.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & filePathx
%>
How would it be possible for me to use the server-preferred method of connecting to the database? When I have tried myself (using DRIVER etc), I either get an 'Expected end of statement' message or an 'Object required' message. Whatever I use, I know that dbconex is used later in the code, such as here:
Set rsText = dbconex.execute("SELECT * FROM sh, etc
dbconex.execute ("INSERT INTO shout (icon, sho, etc
Many thanks
Everton
I am getting the following error:
Microsoft JET Database Engine error '80004005'
Could not find
file 'D:\business\
/shout/shout.asp, line 19
I imagine this is because my server is looking for this string:
D:\business\mysite.com\html\shout\shout.mdb
but can't find it. There is a simple reason: it is not there.
The original code (from a free ASP site) is as follows:
<%
filepathx = Server.MapPath("shout.mdb")
Set dbconex = Server.CreateObject("ADODB.Connection")
dbconex.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & filePathx
%>
How would it be possible for me to use the server-preferred method of connecting to the database? When I have tried myself (using DRIVER etc), I either get an 'Expected end of statement' message or an 'Object required' message. Whatever I use, I know that dbconex is used later in the code, such as here:
Set rsText = dbconex.execute("SELECT * FROM sh, etc
dbconex.execute ("INSERT INTO shout (icon, sho, etc
Many thanks
Everton