- 2,491
I posted this in a thread in Website design for criticism for my site, but since no one has seen it I will post it here in a new thread.
Does anyone here have experience with ASP?
As I have been looking for an ASP Guestbook, I have come across a problem. How does one tell the guestbook to create a connection to a table database in ASP?
I have no clue on how to do it. I have a guestbook ready but I cannot get it to work on my server space. The code for the connection is as follows(I'm supposed to choose the appropriate connection line but I don't know which one.)
I really want to get this to work as I want a Server-Side guestbook instead of a hosted one. I haven't had much luck finding an ASP guestbook that I can easily configure to the way I want. I have a few downloaded but need the connection setup and the other refuses to let me modify certain things.
My host is 1ASPHOST if that is of any assistance.
Thanks in advance. If no one can figure it out for me, then don't worry about it. It's just an experiment at this point.
Does anyone here have experience with ASP?
As I have been looking for an ASP Guestbook, I have come across a problem. How does one tell the guestbook to create a connection to a table database in ASP?
I have no clue on how to do it. I have a guestbook ready but I cannot get it to work on my server space. The code for the connection is as follows(I'm supposed to choose the appropriate connection line but I don't know which one.)
Code:
'dbname = "http://ee.1asphost.com/matrixhasu77/guestbook.mdb"
dbname = "http://ee.1asphost.com/matrixhasu77/gb2000.mdb"
'NOTE: If using forward slashes adjust the line below accordingly.
'dbname = Server.Mappath(dbname)
'ConnString = "Provider=Microsoft.Jet.OLEDB;Data Source=" & dbname & ";Persists Security Info=False"
'ConnString = "Provider=SQLOLEDB;Persists Security Info=False;User Id=sa;Initial Catalog=ActiveGuestBook;Initial File Name=" & dbname
'ConnString = "driver={SQL Server};server=<YourServerName>;uid=sa;pwd=;database=" & dbname
'ConnString = "Provider=Microsoft.Jet.OLEDB.3.5.1;Data Source=" & dbname
'ConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & dbname
'ConnString = dbname
'ConnString = "DSN=" & dbname
'ConnString = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & dbname
I really want to get this to work as I want a Server-Side guestbook instead of a hosted one. I haven't had much luck finding an ASP guestbook that I can easily configure to the way I want. I have a few downloaded but need the connection setup and the other refuses to let me modify certain things.
My host is 1ASPHOST if that is of any assistance.
Thanks in advance. If no one can figure it out for me, then don't worry about it. It's just an experiment at this point.