New with asp, but learning and this forum has been a great help.
I am making a simple sign up form in asp. I am getting an error:
"Data source name not found and no default driver specified"
I have the database set up with the appropriate tables and fields and in the same directory as the website. The database is under a folder 'fpdb' in the directory. Why is it not finding the database? Isnt that what the error means?
I have other pages set up this way and it works. Did I forget something???
---------------------
Dim Conn
Dim strSQL
SET Conn = server.createobject("ADODB.Connection"
Conn.Open "Database"
strSQL = "INSERT INTO SignUp(Name, Email, School, Major, Event, Organization) VALUES ('"+ Change(Request.Form("Name"
) +"', '"+ Change(Request.Form("Email"
) +"', '"+ Change(Request.Form("School"
) +"', '"+ Request.Form("Major"
+"', '"+ Request.Form("Event"
+"', '"+ Change(Request.Form("Organization"
) +"')"
Conn.Execute(strSQL)
Conn.close
set Conn = nothing
-------------------------
Any help appreciated.
Thanks in advance.
I am making a simple sign up form in asp. I am getting an error:
"Data source name not found and no default driver specified"
I have the database set up with the appropriate tables and fields and in the same directory as the website. The database is under a folder 'fpdb' in the directory. Why is it not finding the database? Isnt that what the error means?
I have other pages set up this way and it works. Did I forget something???
---------------------
Dim Conn
Dim strSQL
SET Conn = server.createobject("ADODB.Connection"
Conn.Open "Database"
strSQL = "INSERT INTO SignUp(Name, Email, School, Major, Event, Organization) VALUES ('"+ Change(Request.Form("Name"
Conn.Execute(strSQL)
Conn.close
set Conn = nothing
-------------------------
Any help appreciated.
Thanks in advance.