Well the Java error went away, however now wen I run the login screen I am getting a 500 server error.
I am running Vista with IE and I cannot get the script debug to turn on? Anyway I checked the connection string and the test to the Access DB passes ( I am using ASP VB Script.).
So I tried to add a few response.write error levels and they do not even show up. Here is the code for the pages:
Connection string:
<%
' FileName="Connection_ado_conn_string.htm"
' Type="ADO"
' DesigntimeType="ADO"
' HTTP="true"
' Catalog=""
' Schema=""
Dim MM_email_Con_STRING
MM_email_Con_STRING = sDSN = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("/access_db/aspEmail.mdb")
%>
Login Script:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!--#include file="Connections/email_Con.asp" -->
<!--#include file="WA_SecurityAssist/Helper_VB.asp" -->
<%
If (Request.ServerVariables("Request_Method") = "POST") Then
Dim WA_AuthParameter100 : Set WA_AuthParameter100 = Server.CreateObject("Scripting.Dictionary")
WA_AuthParameter100.Add "connection" , MM_email_Con_STRING
WA_AuthParameter100.Add "tableName" , "Mail"
WA_AuthParameter100.Add "columns" , Split("Email"&WA_Auth_Separator&"PasswordEnc", WA_Auth_Separator)
WA_AuthParameter100.Add "columnValues" , Split("" & cStr(cStr(Request.Form("username"))) & ""&WA_Auth_Separator&"" & cStr(cStr(Request.Form("userpassword"))) & "", WA_Auth_Separator)
WA_AuthParameter100.Add "columnTypes" , Split("200"&WA_Auth_Separator&"200", WA_Auth_Separator)
WA_AuthParameter100.Add "columnSizes" , Split("100"&WA_Auth_Separator&"50", WA_Auth_Separator)
WA_AuthParameter100.Add "sessionColumns" , Split("ID", WA_Auth_Separator)
WA_AuthParameter100.Add "sessionNames" , Split("ID", WA_Auth_Separator)
WA_AuthParameter100.Add "successRedirect" , "freeresources/index.asp"
WA_AuthParameter100.Add "failRedirect" , ""
WA_AuthParameter100.Add "gotoPreviousURL" , True
WA_AuthParameter100.Add "keepQueryString" , True
WA_AuthenticateUser WA_AuthParameter100
End If
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Log In</title>
<link href="WA_SecurityAssist/styles/Refined_Pacifica.css" rel="stylesheet" type="text/css" />
<link href="WA_SecurityAssist/styles/Arial.css" rel="stylesheet" type="text/css" />
<link href="WA_SecurityAssist/styles/Refined_Pacifica.css" rel="stylesheet" type="text/css" />
<link href="WA_SecurityAssist/styles/Arial.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="LogInContainer" class="WAATK">
<form action="<% If(Request.QueryString <> "")Then Response.Write(CStr(Request.ServerVariables("SCRIPT_NAME"))&"?"&Server.HTMLEncode(Request.QueryString)) Else Response.Write(CStr(Request.ServerVariables("SCRIPT_NAME"))) %>" method="post" name="WAATKLogInForm" id="WAATKLogInForm">
<h1>Log In</h1>
<table class="WAATKDataTable" cellpadding="0" cellspacing="0" border="0">
<tr>
<th>User name</th>
<td><input type="text" class="WAATKTextField" name="username" value="" /></td>
</tr>
<tr>
<th>Password</th>
<td><input type="password" class="WAATKTextField" name="userpassword" value="" /></td>
</tr>
</table>
<div class="WAATKButtonRow">
<input type="Submit" name="LogIn" id="LogIn" value="Log In">
</div>
</form>
</div>
</body>
</html>
Thanks for your help.