Here you Go Todd,
I appreciate the help..thank you very much. Line 1 starts from <HTML>.
<HTML>
<BODY>
<FORM>
<%@ Language=VBScript %>
<%
Dim Str1
Dim Str2
Dim txt_UserName
Dim txt_Password
Dim txt_fName
Dim txt_lName
Dim txt_Email
Dim hdn_InsCheck
Response.Write("here"

hdn_InsCheck = Request.Form("hdn_InsCheck"

txt_UserName = Request.Form("txt_UserName"

txt_Password = Request.Form("txt_Password"

if hdn_InsCheck = "Insert" then
txt_fName = Request.Form("txt_fName"

txt_lName = Request.Form("txt_lName"

txt_Email = Request.Form("txt_Email"
end if
set cnn = server.CreateObject("ADODB.connection"

set adoRs1 = server.CreateObject("ADODB.recordset"

set adoRs2 = server.CreateObject("ADODB.recordset"
cnn.Open "driver={SQLServer}; server=...........; database=.........; uid=......; password=......"
adoRs1.ActiveConnection = cnn
adoRs2.ActiveConnection = cnn
if hdn_InsCheck = "Check" or hdn_InsCheck = "ViewCheck" then
Str1 = "select * from SIGNIN where USERNAME = '"&txt_UserName&"' AND USERPASSWORD = '"& txt_Password &"'"
Response.Write Str1 & "<br>"
adoRs1.open(Str1)
if (adoRs1.EOF) then
Session("InvalidID"

= "InvalidId"
if hdn_InsCheck = "Check" then
Response.Redirect("signin.asp"

elseif hdn_InsCheck = "ViewCheck" then
Response.Redirect("ViewCheck.asp"

end if
else
if hdn_InsCheck = "Check" then
Response.Redirect("SubscribePage.asp"

elseif hdn_InsCheck = "ViewCheck" then
Response.Redirect("xyz.asp"

end if
end if
elseif hdn_InsCheck = "Insert" or hdn_InsCheck = "InsertViewer" then
Str2 = "select USERNAME from SIGNIN where USERNAME = '"& txt_UserName &"'"
adoRs1.open(Str2)
if adoRs1.EOF then
Str1 = "Insert into SIGNIN(FIRSTNAME, LASTNAME, USERNAME, USERPASSWORD, EMAILID)values('"&txt_fName&"','"&txt_lName&"','"&txt_UserName&"','"&txt_Password&"','"&txt_Email&"')"
Response.Write Str1
adoRs2.open(Str1)
Response.write('here')
if hdn_InsCheck = "Insert" then
Response.redirect("subscribe.asp"

elseif hdn_InsCheck = "InsertViewer" then
Response.redirect("xyz.asp"

end if
else
Session("InvalidId"

= "DuplicateUserName"
if hdn_InsCheck = "Insert" then
Response.redirect("register.asp"

elseif hdn_InsCheck = "InsertViewer" then
Response.redirect("NewViewer.asp"

end if
end if
end if
cnn.close
%>
</FORM>
</BODY>
</HTML>
Thanks again!!!
Radhika.