Hi,
I've done a fair bit of mysql php programming but am pretty new to asp/access etc.
This will either be incredibly easy or impossible!
SUMMARY:
I'm trying to transfer a web application from a corporate network to an external web host for testing and don't know how to connect the pages to the database on the new server.
BACKGROUND:
I've inherited a (ms access) database driven website from a corporate server and have been asked to pull it apart and document it so that there's no single point of failure issue with it (the original programmer disappeared long ago)
It was hosted on an ms sql server on the corporate network.
I've obtained some free hosting for access driven websites at www.jabry.com and hoped to transfer the whole application to there and use that as a test bed.
I got a copy of the .mdb file and uploaded it to jabry. My question is what connection should i use to the new database?
THIS IS THE OLD CONNECTION INSTRUCTION :
dim objConn
set objConn = Server.CreateObject("ADODB.Connection")
objConn.Open "PROVIDER=SQLOLEDB;DATA SOURCE=UKNTHSQL900;UID=****User;PWD=***able8; DATABASE=PropertyRegister"
JABRY RECOMMEND USING :
Dim Conn
Set Conn = Server.CreateObject("ADODB.Connection")
strConnection = "DRIVER=Microsoft Access Driver(*.mdb);DBQ=" & Server.MapPath("/USERNAME/db/yourdatabase.mdb")
oConn.Open(strConnection)
I've tried various permutations to get this to work, but after a couple of hours(!) thought I'd better get some help.
Can I use a dsnless connection when a password is required? Are the two server types completely incompatible? Please help!