David
|
| Posted: 09/03/2004, 11:48 AM |
|
Please i need help i just downloaded the CodeCharge software and i can't connect to my database over the internet,
Dim strConn, strLogin, strPassword
strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=/vostica/directory.mdb;Persist Security Info=False"
strLogin = "Admin"
strPassword = ""
my website link is http://web.1asphost.com/vostica/
But i cant get the site to work
|
|
|
 |
peterr
Posts: 5971
|
| Posted: 09/03/2004, 11:50 AM |
|
Please look at instructions provided by your Web hosting company: http://www.1asphost.com/faqs.asp?q=52
You can also search for "MapPath" in CodeCharge Studio Help file.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
David
|
| Posted: 09/03/2004, 12:34 PM |
|
Please this is what i did to the connection string
'-------------------------------
' Create database connection string, login and password variables
'-------------------------------
Dim Conn
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open "DRIVER=Microsoft Access Driver
(*.mdb);DBQ=" &
Server.MapPath("/vostica/database/yourdatabase.mdb")
lesae am i correct
|
|
|
 |
peterr
Posts: 5971
|
| Posted: 09/03/2004, 12:45 PM |
|
If your database name is "yourdatabase.mdb" then this is correct.
Although please do not make such changes directly in the generated Common.asp code. Search for "MapPath" in CodeCharge Studio Help file.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |