CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Mr

Print topic Send  topic

Author Message
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
View profile  Send private message
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
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.