Discussion:
ASP Question?
(too old to reply)
SpreadTooThin
2009-08-15 21:17:35 UTC
Permalink
Not sure if this is the right forum for this discussion but....

I have just installed a web server on an old windows 2000 box in my
basement and trying to get the pages to connect to the database
server. (These pages were originally hosted by an ISP, but no
longer).

I can connect to the web site, but the connection to the database is
falling. (I think.)

Now I haven't installed any particular database server per say. But I
can if I need to.
This is VBSCRIPT to open the connection:

set conn=Server.CreateObject("ADODB.Connection")
conn.Provider="Microsoft.Jet.OLEDB.4.0"
conn.Open "C:\inetpub\wwwroot\MySite\myDatabase.mdb"

I think that the connection to the database is not opening as I get an
error code 3704

Do I need to run a server for this to work? I mean the myDatabase.mdb
file exists at that location.
Scot T Brennecke
2009-08-16 05:21:54 UTC
Permalink
Well, you may get lucky and find someone here, but this newsgroup is for questions about VC++, not ASP and Access databases. If you
don't get any luck here, you can try:
microsoft.public.access.internet or
microsoft.public.inetserver.asp.db
Post by SpreadTooThin
Not sure if this is the right forum for this discussion but....
I have just installed a web server on an old windows 2000 box in my
basement and trying to get the pages to connect to the database
server. (These pages were originally hosted by an ISP, but no
longer).
I can connect to the web site, but the connection to the database is
falling. (I think.)
Now I haven't installed any particular database server per say. But I
can if I need to.
set conn=Server.CreateObject("ADODB.Connection")
conn.Provider="Microsoft.Jet.OLEDB.4.0"
conn.Open "C:\inetpub\wwwroot\MySite\myDatabase.mdb"
I think that the connection to the database is not opening as I get an
error code 3704
Do I need to run a server for this to work? I mean the myDatabase.mdb
file exists at that location.
Loading...