I am trying to use the advanced security option. I have a table with username, password, group, and person_id.
I selected the correct table fields for the user name and password on the ASP Runner securitty setup.
I set up group permissions correctly in Advanced Security.
I even tried setting up a default user group security.
No matter what I do, I cannot get this to work. It always says "invalid login."
I can sign on when I use the "hard-coded" account, or I use the "sign on as guest/read-only" feature. Otherwise, I cannot sign on at all.
I am not using encrypted passwords (only cleartext passwotrds) because I cannot run the encrypt.asp against the table successfully (see appendix below).
UPDATE:
In the login.jsp page that is generated, the following select statement makes it appear impossible that this will work corectly:
Set rsTemp = server.CreateObject("ADODB.Recordset")
rsTemp.open "select * from " & cLoginTable & " where 1=0", dbConnection,1, 2
Please help. Thanks.
APPENDIX:
I downloaded and ran the encrypt.asp program. Page loaded and indicated that it would update over 300 rows in the table. But when I clicked "Start" I got the following error:
The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.
--------------------------------------------------------------------------------
Please try the following:
Click the Refresh button, or try again later.
Open the localhost home page, and then look for links to the information you want.
HTTP 500.100 - Internal Server Error - ASP error
Internet Information Services
--------------------------------------------------------------------------------
Technical Information (for support personnel)
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E21)
Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.
/ASPRunnerPro/encrypt.asp, line 19
Browser Type:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Page:
GET /ASPRunnerPro/encrypt.asp
Time:
Thursday, July 27, 2006, 9:37:31 AM
More information:
Microsoft Support