I have a connection using the following code:
An administrator can run this asp from our intranet but a user gets the generic 8000405 error message. I have tried giving the user full access to the folder but no success.
The only way it seems that a user can run the asp is to be added to the domain admins group.
How can I get around this?
<% Dim dbCxn
Dim rsEmp
Dim strSQL
Set dbCxn = Server.CreateObject("ADODB.Connection"
dbCxn.Open "DSN=myDB;UID=user;PWD=password"
strSQL = "SELECT emp_id, emp_name "
strSQL = strSQL & "FROM tblEmployees "
strSQL = strSQL & "ORDER BY emp_name "
Set rsEmp = dbCxn.Execute(strSQL)
%>
An administrator can run this asp from our intranet but a user gets the generic 8000405 error message. I have tried giving the user full access to the folder but no success.
The only way it seems that a user can run the asp is to be added to the domain admins group.
How can I get around this?
<% Dim dbCxn
Dim rsEmp
Dim strSQL
Set dbCxn = Server.CreateObject("ADODB.Connection"
dbCxn.Open "DSN=myDB;UID=user;PWD=password"
strSQL = "SELECT emp_id, emp_name "
strSQL = strSQL & "FROM tblEmployees "
strSQL = strSQL & "ORDER BY emp_name "
Set rsEmp = dbCxn.Execute(strSQL)
%>