close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

while executing onClick in WA AppBuilder.htm

Thread began 9/17/2009 4:53 pm by fred306789 | Last modified 9/21/2009 1:07 pm by fred306789 | 4538 views | 10 replies

fred306789

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.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...