Ask a Question related to ASP Database, Design and Development.
-
Edward King #1
How to connection
I have a Access Database£¬named "test.mdb" ,username=123 password=456
I write follow ASP code to connection test.mdb£º
<%
dim conn,rs,rSub,sql
Set conn = Server.CreateObject("ADODB.Connection")
conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &
Server.MapPath("test.mdb") & " ; uid=123;pwd=456" '4 line
set rs=server.createobject("adodb.recordset")
%>
But when I run it,it raise follow error:
Microsoft JET Database Engine error '80004005'
Can't found installed ISAM¡£
/dljcynw/conn.asp£¬line 4
How to modified it?
Thanks in advance!
Edward King Guest
-
Net connection without Internet connection whoas
Hi does flash media server 2 require a connection to the internet i'm using the evaluation version on a computer which is not connected to the... -
"Contribute cannot verify your connection information."on a Local / Network connection
When I create a connection key and specify Local/Network for the website, then select the right folder, I get this error: "Contribute cannot... -
"Contribute cannot verify your connection information"- Every other problem ruled out, but still no connection
Hi, first, please allow me to give you the background info Client OS - Windows 2000/XP Pro Version - Contribute 2.01 - I installed the patch from... -
One NFS connection fine, one NFS connection slow
Ok, this is all a bit odd. I will draw an ascii picture and hope it survives in Google: sun server | .------mandrake... -
Have internet connection but not workgroup connection.
In article <Xns93B9BBF24CB33adfslur0mdoaur03jadl@207.46.248.16>, Frank Dreyfus <fdreyfus@nyw.com> wrote: I've written a web site that should help... -
McKirahan #2
Re: How to connection
"Edward King" <zhangsc@neusoft.com> wrote in message
news:emod6ql1DHA.2388@TK2MSFTNGP09.phx.gbl...> I have a Access Database£¬named "test.mdb" ,username=123 password=456
>
> I write follow ASP code to connection test.mdb£º
>
> <%
> dim conn,rs,rSub,sql
> Set conn = Server.CreateObject("ADODB.Connection")
> conn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" &
> Server.MapPath("test.mdb") & " ; uid=123;pwd=456" '4 line
> set rs=server.createobject("adodb.recordset")
>
> %>
>
> But when I run it,it raise follow error:
>
> Microsoft JET Database Engine error '80004005'
>
> Can't found installed ISAM¡£
>
> /dljcynw/conn.asp£¬line 4
>
> How to modified it?
> Thanks in advance!
Here's a partial solution:
Const cMDB = "test.mdb"
Const cDSN = "Provider=Microsoft.Jet.OLEDB.4.0;Jet OLEDB:Database
Password=123;Data Source="
Dim objADO
Set objADO = Server.CreateObject("ADODB.Connection")
objADO.Open cDSN & Server.MapPath(cMDB)
....
McKirahan Guest



Reply With Quote

