awesomebeats
Technical User
When I try to execute this simple piece of code in asp I get an access error. I know no other user is using the db so why can't asp access the db. I tried it without the username and password and it still didn't work.
<%
set conn = Server.CreateObject("ADODB.Connection"
conn.open "spelling","Admin",""
strSQLQuery = "create table employee (words varchar(50));"
Set rs = Server.CreateObject("ADODB.Recordset"
rs.Open strSQLQuery, conn, 3, 3
%>
The error I get is:
Jet database engine cannot open the file '(unknown)'.
I don't know what it says the db is unkown I configured it in Microsoft ODBC thingy as a system db. Well I'm new to asp infact this is my first app, I usually use Coldfusion. I'd really appreciate a little help here. Oh yeah do I need to instal SQL server seperalty or does win2k and IIS have a little one built in? Thanx a lot.
Awesomebeats
<%
set conn = Server.CreateObject("ADODB.Connection"
conn.open "spelling","Admin",""
strSQLQuery = "create table employee (words varchar(50));"
Set rs = Server.CreateObject("ADODB.Recordset"
rs.Open strSQLQuery, conn, 3, 3
%>
The error I get is:
Jet database engine cannot open the file '(unknown)'.
I don't know what it says the db is unkown I configured it in Microsoft ODBC thingy as a system db. Well I'm new to asp infact this is my first app, I usually use Coldfusion. I'd really appreciate a little help here. Oh yeah do I need to instal SQL server seperalty or does win2k and IIS have a little one built in? Thanx a lot.
Awesomebeats