Hello folks
I,m trying to transfer a website with a small database(asp.) from a free asp hosting to the clients hosting. The problem i have is that when uploading the site to client hosting the database will not work, i was informed it was an issue with the connection string. I tried a few variations but could not get it to work, customers is wanting site badly, this is the only element of the site i cannot get to work.
Please find below the current connection string for the free hosting, this works.
I would be grateful for some advise on this matter.
Regards
GOING Insane
<%
Dim vPath, pPath, ConString
vPath = "database\finegreen.mdb" 'use this one if database is in root of cart folder
pPath = Server.MapPath( vPath )
ConString = "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & pPath & ";" & "JET OLEDB  atabase Password=foo"
%>
Last edited by alert2media.com : 11-06-2006 at 06:23 AM.
|