S
SpreadTooThin
I have a microsoft access mdb file that is accessed by asp files
hosted on the same server.
These asp files were originally hosted by an ISP but are now being
hosted by a computer on my network.
The web pages and database are hosted on a Windows 2000 machine
running IIS.
The web server is working but I get errors (-1) whenever i try to
access the database.
I think it's because I have not setup ODBC properly from the ODBC
Datasource Administrator.
Can someone guide me through this?
The code that connects to the database (If indeed a connection is
needed when the database is on the same server as the web server.)
when hosted by my ISP is:
set conn=Server.CreateObject("ADODB.Connection")
conn.Provider="Microsoft.Jet.OLEDB.4.0"
conn.Open "C:\inetpub\wwwroot\MySite\myDatabase.mdb"
hosted on the same server.
These asp files were originally hosted by an ISP but are now being
hosted by a computer on my network.
The web pages and database are hosted on a Windows 2000 machine
running IIS.
The web server is working but I get errors (-1) whenever i try to
access the database.
I think it's because I have not setup ODBC properly from the ODBC
Datasource Administrator.
Can someone guide me through this?
The code that connects to the database (If indeed a connection is
needed when the database is on the same server as the web server.)
when hosted by my ISP is:
set conn=Server.CreateObject("ADODB.Connection")
conn.Provider="Microsoft.Jet.OLEDB.4.0"
conn.Open "C:\inetpub\wwwroot\MySite\myDatabase.mdb"