Page cannot be displayed

R

rathnesh

when using a web application which includes taking an asp
page then going to another asp page and coming back to
first page ...some times connection to iis gets terminated
and page canot be displayed error comes ..this error
does'nt comes on a particular page .please help me to
solve this problem..
 
R

rathnesh

This is the page where generally connection to iis lost
occurs


<%
action=Request.form("action")
if action="" then
action=3
end if
select case action
case 1
s1=Request.Form("subject")
d1= Request.Form("description")
d2= Request.Form("dateforsch")
t1=Request.Form("timeforsch")
a1= Request.Form("attendee")
c1=Request.Form("cmrule")
mc1=Request.Form("memberrule")
%>
<script language="javascript">
window.open("aveComm-SMeeting4.asp?s1=" + "<%
=Server.URLEncode(s1)%>" + "&d1=" + "<%=Server.URLEncode
(d1)%>" + "&d2=" + "<%=d2%>" + "&t1=" + "<%=t1%>"
+ "&a1=" + "<%=a1%>" + "&c1=" + "<%=c1%>" + "&mc1="
+ "<%=mc1%>" ,"_top");
</script>
<%
case 2
s1=Request.Form("subject")
d1= Request.Form("description")
d2= Request.Form("dateforsch")
t1=Request.Form("timeforsch")
%>
<script language="javascript">
window.open("aveComm-SMeeting2.asp?s1=" + "<%
=Server.URLEncode(s1)%>"+"&d1=" + "<%=Server.URLEncode(d1)%
" + "&d2=" + "<%=d2%>" + "&t1=" + "<%=t1%>" + "","_top");
</script>
<%
case 3
%>
<html>
<head>
<meta name="keywords" content="jdbc drivers, Java
connectivity, Voice over IP,
Voice, communication protocol, telephone to computer,
Database Connectivity,
Java Sql, Middleware, datasource, connection pooling,
distributed transaction,
software development resources, Wireless Application
protocol, WAP, micro browser,
winwap, palm, pda, Telephony, wireless server, wireless,
wireless solutions,
gateway, bluetooth,JINI, bluetooth server, JINI server,
rim, iMode">
<TITLE>aveComm Meeting Room</TITLE><LINK title="Atinav
Style"
href="http://www.atinav.com/avescripts/avestyle.css"
type=text/css rel=STYLESHEET>
<LINK href="aveComm_files/css.html" type=text/css
rel=stylesheet>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<SCRIPT language="javascript1.2"
SRC="http://www.atinav.com/avescripts/res-
check.js"></SCRIPT>
<SCRIPT language="javascript1.2"
SRC="http://www.atinav.com/avescripts/menu.js"></SCRIPT>
<SCRIPT language="javascript1.2"
SRC="http://www.atinav.com/avescripts/menuitems.js"></SCRIP
T>
</head>
<body bgcolor="#ffffff" leftmargin="0" topmargin="0"
marginwidth="0" marginheight="0">
<script language="javascript1.2"
SRC="http://www.atinav.com/avescripts/header.js"></script>

<tr >

<TD vAlign="top" align="left" width="100%">
<table height=45 cellspacing=0 cellpadding=0
width="100%" border=0 background="" style="WIDTH: 100%;
HEIGHT: 45px">
<tr>
<td valign=top align=left><IMG alt=""
src="http://www.atinav.com/aveimages/tab10.gif"></td>
</tr>
<tr>
<td valign=top align=left ><TABLE cellSpacing=4
cellPadding=0 width="100%"
border=0>

<TR>
<TD
background="http://www.atinav.com/aveimages/tit-
bkg.gif"><IMG
alt="" src="http://www.atinav.com/aveimages/tit-
aveComm.gif"></TD></TR></TABLE></td>
</tr>
<tr>
<td valign=top align=left><IMG alt=""

src="http://www.atinav.com/aveimages/tab4.gif"></td>
</tr>
<tr>
<td valign=top align=left>
<p>
<table cellspacing=0 cellpadding=0 width="100%"
border=0 height=440>
<tbody>
<tr><!-- submenu starts here -->
<td valign=top align=left width=200>
<TABLE cellSpacing=0 cellPadding=0
width="100%" border=0>

<TR>
<TD><IMG alt=""
src="aveComm_files/img_meetingroom.jpg"></TD></TR>
<TR>
<TD><a href="#" onClick="window.open
('startaveComm.asp ','aveComm' , 'toolbar=no ,
scrollbars=yes , resizable=yes , width=600 , height=400')"<img
src="aveComm_files/nav_StartaveCommClient.gif"
border="0"></a></TD></TR>
<TR>
<TD><IMG alt=""
src="aveComm_files/nav_Separator.gif"></TD></TR>
<TR>
<TD><IMG alt=""

src="aveComm_files/nav_ScheduleMeeting2.gif"></TD></TR>
<TR>
<TD><IMG alt=""
src="aveComm_files/nav_Separator.gif"></TD></TR>
<TR>
<TD><a href="aveComm-VSMeetings1.asp"><IMG
alt=""

src="aveComm_files/nav_ViewScheduledMeetings.gif"border="0"
</a></TD></TR>
<TR>
<TD><IMG alt=""
src="aveComm_files/nav_Separator.gif"></TD></TR>
<TR>
<TD><IMG alt=""

src="aveComm_files/nav_CreateHelpDesk.gif"></TD></TR>
<TR>
<TD><IMG alt=""
src="aveComm_files/nav_Separator.gif"></TD></TR>
<TR>
<TD><IMG alt=""

src="aveComm_files/nav_ViewHelpDesks.gif"></TD></TR>
<TR>
<TD><IMG alt=""
src="aveComm_files/nav_Separator.gif"></TD></TR>
<TR>
<TD><a href="logout.asp" ><IMG alt=""
src="aveComm_files/nav_Logout.gif"
border="0"></TD></TR>
<TR>
<TD><IMG alt=""
src="aveComm_files/nav_Separator.gif"></TD></TR></TABLE>
</td><!-- content starts here -->
<TD vAlign=top align=left width=1
background="aveComm_files/bkg_dotedv.gif"><IMG alt=""

src="http://www.atinav.com/aveimages/tab.gif"> said:
<IMG alt=""
src="http://www.atinav.com/aveimages/tab10.gif"></TD>
<td valign=top align=left colspan="2">
<TABLE cellSpacing=0 cellPadding=0
width="100%" border=0 style="WIDTH: 100%; HEIGHT: 400px"
background="" height=400>
<TBODY>
<TR>
<TD class=ltgrey height=30>
<TABLE cellSpacing=5 cellPadding=0
width="100%" border=0 style="WIDTH: 100%" background="">
<FORM id=avecomm name="avecomm"
action="aveComm-SMeeting3b.asp" method=post>
<input type=hidden
name=setSubmitValue>
<input
type="hidden" name="attendee">
<input
type="hidden" name="subject">
<input
type="hidden" name="description">
<input
type="hidden" name="dateforsch">
<input
type="hidden" name="timeforsch">
<input
type="hidden" name="action">
<TR>
<TD><P class=acs_bigtext16>Schedule
Meeting</P></TD>
<TD>
<P align=right><IMG alt=""

src="aveComm_files/btn_help.gif"> said:
<TR>
<TD bgColor=#ececec><IMG alt=""

src="http://www.atinav.com/aveimages/tab4.gif"></TD></TR>
<TR>
<TD height=48 style="HEIGHT: 48px">
<TABLE cellSpacing=0 cellPadding=0
width="100%" border=0>

<TR>
<TD width=4><IMG alt=""

src="http://www.atinav.com/aveimages/tab4.gif"></TD>
<TD width=200>
<P class=acs_bigtext14> Service
Preference said:
<IMG alt=""

src="aveComm_files/step1_off.gif"> said:
<IMG alt=""

src="http://www.atinav.com/aveimages/tab4.gif"><BR><IMG
alt=""

src="aveComm_files/step_arrow.gif"></TD>
<TD align=middle width=60><IMG
alt=""

src="aveComm_files/step2_off.gif"> said:
<IMG alt=""

src="http://www.atinav.com/aveimages/tab4.gif"><BR><IMG
alt=""

src="aveComm_files/step_arrow.gif"></TD>
<TD align=middle width=60><IMG
alt=""

src="aveComm_files/step3_on.gif"> said:
<IMG alt=""

src="http://www.atinav.com/aveimages/tab4.gif"><BR><IMG
alt=""

src="aveComm_files/step_arrow.gif"></TD>
<TD align=middle width=60><IMG
alt=""

src="aveComm_files/step4_off.gif"></TD>
<TD align=middle><IMG alt=""

src="http://www.atinav.com/aveimages/tab4.gif"></TD></TR></
TABLE></TD></TR>
<TR>
<TD bgColor=#ececec><IMG alt=""

src="http://www.atinav.com/aveimages/tab4.gif"></TD></TR>
<TR>
<TD class=ltgrey height=25>
<TABLE cellSpacing=5 cellPadding=0
width="100%" background=""
border=0>

<TR>
<TD colSpan=2>
<P class=acs_bigtextw14>Service

Preferences</P></TD></TR></TABLE></TD></TR>
<TR>
<TD bgColor=#ececec><IMG alt=""

src="http://www.atinav.com/aveimages/tab10.gif"></TD></TR>
<TR>
<TD bgColor=#ececec vAlign=top
align=middle>
<P>
</P>
<TABLE cellSpacing=4 cellPadding=0
border=0
style="WIDTH: 95%" width="95%"
align=center background="">
<TR>
<TD vAlign=top align=left colSpan=3>
<P class=acs_text>
<TABLE cellSpacing=0
cellPadding=0 width="400"
border=0
style="WIDTH: 400px" >

<TR>
<TD><IMG
alt=""
src="aveComm_files/tab_ConfManager_on.gif"><A
href="#" onclick="participant
()"><IMG
alt=""
src="aveComm_files/tab_Participant_off.gif" border=0
alt=""
src="aveComm_files/tab_toprgt.gif"></TD></TR></TABLE>


<TABLE height=40
cellSpacing=0 cellPadding=0
width="400" background=""
border=0
style="WIDTH: 400px">
<TR>
<TD class=acs_greybox
vAlign=top>
<TABLE style="WIDTH: 95%"
cellSpacing=0 cellPadding=0
width="95%" border=0 background=""
align=center
<TR>
<TD vAlign=top align=left
width="25%"
colSpan=2><IMG alt=""

src="http://www.atinav.com/aveimages/tab10.gif"></TD></TR>

<TR>
<TD style="WIDTH: 25%"
vAlign=top align=left
width="25%"><INPUT
id=checkbox1 type=checkbox
name=checkbox1 onclick="pressedAudio()" >Audio</TD>
<TD class=acs_text vAlign=top
align=left>
<TABLE cellSpacing=0 cellPadding=0
width="100%"
border=0
style="WIDTH: 100%"
background="">

<TR>
<TD colSpan=2>
<TABLE height=40
cellSpacing=0 cellPadding=0
width="100%" background=""
border=0>

<TR>
<TD class=acs_box

vAlign=top>&nbsp;Presenter&nbsp; can:<BR><INPUT
id=checkbox2 type=checkbox
name=checkbox2
onClick="pressedHear()">Hear&nbsp; &nbsp;<INPUT
id=checkbox3 type=checkbox
name=checkbox3
onClick="pressedTalk
()">Talk</TD></TR></TABLE></TD></TR></TABLE></TD></TR>
<TR>
<TD vAlign=top align=left
colSpan=2 background="aveComm_files/bkg_hr.gif"><IMG
alt=""

src="http://www.atinav.com/aveimages/tab10.gif"></TD></TR>
<TR>
<TD style="WIDTH: 25%"
vAlign=top align=left
width="25%" noWrap><INPUT
id=checkbox4
type=checkbox name=checkbox4
onclick="pressedAppshare()">Application
Sharing&nbsp;</TD>
<TD class=acs_text vAlign=top
align=left>
<TABLE cellSpacing=0 cellPadding=0
width="100%" border=0
background="" style="WIDTH:
100%">

<TR>
<TD colSpan=2>
<TABLE height=40
cellSpacing=0 cellPadding=0
width="100%" background=""
border=0>

<TR>
<TD class=acs_box
vAlign=top>&nbsp;Presenter
can:<BR><INPUT
id=checkbox5 type=checkbox
name=checkbox5
onclick="pressedStart()">Start&nbsp; &nbsp;<INPUT
id=checkbox6 type=checkbox
name=checkbox6
onclick="pressedAnnotate()">Annotate&nbsp; &nbsp;<INPUT
id=checkbox7 type=checkbox
name=checkbox7
onclick="pressedControl
()">Control</TD></TR></TABLE></TD></TR></TABLE></TD></TR>
<TR>
<TD vAlign=top align=left
colSpan=2 background="aveComm_files/bkg_hr.gif"><IMG
alt=""

src="http://www.atinav.com/aveimages/tab10.gif"></TD></TR>
<TR>
<TD style="WIDTH: 25%"
vAlign=top align=left
width="25%"><INPUT
id=checkbox8
type=checkbox name=checkbox8
onclick="pressedWB()">Whiteboard</TD>
<TD class=acs_text vAlign=top
align=left>
<TABLE cellSpacing=0 cellPadding=0
width="100%" border=0
background="" style="WIDTH:
100%">

<TR>
<TD colSpan=2>
<TABLE height=40
cellSpacing=0 cellPadding=0
width="100%" background=""
border=0>

<TR>
<TD class=acs_box
vAlign=top>&nbsp;Presenter
can:<BR><INPUT
id=checkbox9 type=checkbox
name=checkbox9
onclick="pressedView()">View&nbsp; &nbsp;<INPUT
id=checkbox10
type=checkbox
name=checkbox10
onclick="pressedEdit
()">Edit</TD></TR></TABLE></TD></TR></TABLE></TD></TR>
<TR>
<TD vAlign=top align=left
colSpan=2 background="aveComm_files/bkg_hr.gif"><IMG
alt=""

src="http://www.atinav.com/aveimages/tab10.gif"></TD></TR>
<TR>
<TD style="WIDTH: 25%"
vAlign=top align=left
width="25%"><INPUT
id=checkbox11
type=checkbox name=checkbox11>Text
Chat</TD>
<TD class=acs_text vAlign=top
align=right></TD></TR>
<TR>
<TD vAlign=top align=left
colSpan=2 background="aveComm_files/bkg_hr.gif"><IMG
alt=""

src="http://www.atinav.com/aveimages/tab10.gif"></TD></TR>
<TR>
<TD vAlign=top align=left
width="25%"><INPUT
id=checkbox12
type=checkbox name=checkbox12>File
Transfer</TD>
<TD class=acs_text
vAlign=top
align=right></TD></TR>
<TR>
<TD vAlign=top align=left
colSpan=2 background="aveComm_files/bkg_hr.gif"><IMG
alt=""

src="http://www.atinav.com/aveimages/tab10.gif"></TD></TR>
<TR>
<TD vAlign=top align=left
width="25%" colSpan=2>
<P
align=right></P></TD></TR>
<TR>
<TD style="WIDTH: 25%"
vAlign=top align=left
width="25%" colSpan=2><IMG
alt=""

src="http://www.atinav.com/aveimages/tab10.gif"></TD></TR><
/TABLE>
</TD></TR></TABLE></P>
</TD></TR>
<TR>
<TD vAlign=top align=left
width="25%" colSpan=3><IMG alt=""

src="http://www.atinav.com/aveimages/tab4.gif"></TD></TR>
<TR>
<TD vAlign=top align=left
style="WIDTH: 25%" width="25%"
<TD vAlign=top align=left colSpan=2>
<P class=acs_text align=left>
<IMG alt=""
src="http://www.atinav.com/aveimages/tab4.gif">
<IMG alt=""
src="aveComm_files/btn_Reset.gif">&nbsp;<A
href="javascript:document.avecomm.submit()"
onclick="actionValue(2)"><IMG

src="aveComm_files/btn_Previous2.gif" border=0
</A>&nbsp;<A

href="javascript:document.avecomm.submit()"
onclick="actionValue(1)"><IMG
src="aveComm_files/btn_Next2.gif"
border=0></A> </P></TD></TR></TABLE></TD></TR>
<TR>
<TD bgColor=#ececec align=right
vAlign=bottom>
<P><IMG
alt=""
src="aveComm_files/tablebot.gif"></P>
</TD></TR></TBODY></TABLE>
<input type="hidden"
name="cmrules">
<input type="hidden"
name="memberrules">
</FORM>
<IMG alt="" width=12 height=12


src="http://www.atinav.com/aveimages/tab10.gif"></TD></tr><
/tbody></table></p></td></tr></table></TD>
<script language="javascript1.2"
SRC="http://www.atinav.com/avescripts/footer1.js"></script>
<script language="javascript">

avecomm.subject.value="<%=Request.Querystring("s1")%>"
avecomm.description.value="<%=Request.Querystring("d1")%>"
avecomm.dateforsch.value="<%=Request.Querystring("d2")%>"
avecomm.timeforsch.value="<%=Request.Querystring("t1")%>"
avecomm.attendee.value="<%=Request.Querystring("a1")%>"
function actionValue(actValue)
{
avecomm.action.value=actValue;
rulesCheck1()
}
</script>

<SCRIPT
LANGUAGE="VBSCRIPT">
'script for enabling and
checking appropriate checkboxes when 'the audio checkbox
of CM is clicked

Sub pressedAudio()

if (avecomm.checkbox1.checked) then

avecomm.checkbox2.disabled="false"

avecomm.checkbox3.disabled="false"

else

avecomm.checkbox2.disabled="true"

avecomm.checkbox3.disabled="true"

avecomm.checkbox2.checked="false"

avecomm.checkbox3.checked="false"

end if

End sub


Sub pressedHear()

if (avecomm.checkbox2.Checked) then

avecomm.checkbox1.checked="true"

end if
End Sub


Sub pressedTalk()

if (avecomm.checkbox3.Checked) then

avecomm.checkbox1.checked="true"

end if
End Sub



Sub pressedAppshare()

if (avecomm.checkbox4.Checked) then

avecomm.checkbox5.disabled="false"

avecomm.checkbox5.checked="true"

avecomm.checkbox6.disabled="false"

avecomm.checkbox7.disabled="false"

else

avecomm.checkbox5.disabled="true"

avecomm.checkbox5.checked="false"

avecomm.checkbox6.checked="false"

avecomm.checkbox7.checked="false"

avecomm.checkbox6.disabled="true"

avecomm.checkbox7.disabled="true"



end if

end sub


Sub pressedStart()

if (avecomm.checkbox5.Checked) then

avecomm.checkbox4.disabled="false"

avecomm.checkbox4.checked="true"
else

avecomm.checkbox4.checked="false"

avecomm.checkbox6.checked="false"

avecomm.checkbox7.checked="false"

end if
End Sub


Sub pressedAnnotate()

if (avecomm.checkbox6.Checked) then

avecomm.checkbox4.disabled="false"

avecomm.checkbox4.checked="true"

avecomm.checkbox5.checked="true"

avecomm.checkbox7.checked="true"

end if
End Sub


Sub pressedControl()

if (avecomm.checkbox7.Checked) then

avecomm.checkbox4.disabled="false"

avecomm.checkbox4.checked="true"

avecomm.checkbox5.checked="true"

end if
End Sub


Sub pressedWB()

if (avecomm.checkbox8.Checked) then

avecomm.checkbox9.disabled="false"

avecomm.checkbox10.disabled="false"

avecomm.checkbox9.checked="true"

else

avecomm.checkbox9.disabled="true"

avecomm.checkbox10.disabled="true"

avecomm.checkbox9.checked="false"

avecomm.checkbox10.checked="false"

end if
End Sub

Sub pressedView()

if (avecomm.checkbox9.Checked) then

avecomm.checkbox8.checked="true"

end if
End Sub


Sub pressedEdit()

if (avecomm.checkbox10.Checked) then

avecomm.checkbox8.checked="true"

end if
End Sub


</script>
<!-- Getting the Preference of a user using the rule
manager!-->
<%
Dim groupid,grouprules,metCmrules
groupid=Application("EAPMobject").getParentGroup(Session
("loginusername"))
set ruleman=Server.Createobject("Eapm.RuleManager")
grouprules=Application("EAPMobject").getGroupRules
(groupid,ruleman)
metCmrules=""
if ruleman.appSharing=1 then
if ruleman.appShareMode=2 then
if ruleman.appShareAnnotation=1 then
metCmrules=metCmrules & "08BD"
else
metCmrules=metCmrules &"08B5"
end if
else
metCmrules=metCmrules &"0875"
End if
else
metCmrules="0000"
end if



if ruleman.audio=1 then
if ruleman.audioMode=3 then
metCmrules=metCmrules&"07C0"
else
if ruleman.audioMode=2 then
metCmrules=metCmrules&"0780"
else
metCmrules=metCmrules&"0740"
end if
end if
else
metCmrules=metCmrules&"1111"
end if



if ruleman.filetransfer=1 then
metCmrules=metCmrules&"0A01"
end if

if ruleman.whiteboard=1 then
if ruleman.whiteboardMode=2 then
metCmrules=metCmrules&"0B80"
else
metCmrules=metCmrules&"0B40"
end if
else
metCmrules=metCmrules&"2222"
end if

if ruleman.textChat=1 then
metCmrules=metCmrules&"0580"
end if


%>
<!--Enabling and disabling the appropriate check boxes
based on the Preference, On this page load!-->
<script
language="Javascript">

var rule= new Array(6)

var cmrule

cmrule = "<%=metCmrules%>"

var ftflag=0

var tcflag=0

var wbeditflag=0

var appflag=0

var wbflag=0

var audflag=0
var
rulelength=cmrule.length

var rule= new String()

for(i=0;i<=rulelength;i++)

{

rule=cmrule.substring(0,4)

cmrule=cmrule.substring(4,rulelength)

rulelength=cmrule.length

if(rule=="07C0")

{

avecomm.checkbox1.enabled="true"

avecomm.checkbox2.enabled="true"

avecomm.checkbox3.enabled="true"

audflag=1

}
if (rule=="0780")

{

avecomm.checkbox1.enabled="true"

avecomm.checkbox2.enabled="true"

avecomm.checkbox3.disabled="true"

audflag=1

}

if (rule=="0740")

{

avecomm.checkbox1.enabled="true"

avecomm.checkbox3.enabled="true"

avecomm.checkbox2.disabled="true"

audflag=1

}
if
(rule=="0875")

{

avecomm.checkbox6.disabled="true"

avecomm.checkbox7.disabled="true"
appflag=1
}
if
(rule=="08BD")

{

avecomm.checkbox4.enabled="true"

appflag=1
}

if (rule=="08B5")

{

appflag=1


avecomm.checkbox6.disabled="true"
}

if (rule=="0B80")

{

wbflag=1

wbeditflag=1

}

if (rule=="0B40")

{

wbflag=1

avecomm.checkbox10.disabled="true"

}
if (rule=="0580")

{

tcflag=1
}

if (rule=="0A01")

{

ftflag=1
}
if (rule=="0000")

{

appflag=0

}
if (rule=="1111")

{

audflag=0

}

if (rule=="2222")

{

wbflag=0

}


}//end for

if(ftflag==0)

{

avecomm.checkbox12.disabled="true"

}

if(tcflag==0)

{

avecomm.checkbox11.disabled="true"

}


if( wbeditflag==0)

{

avecomm.checkbox10.disabled="true"

}

if(appflag==0)

{

avecomm.checkbox4.disabled="true"

avecomm.checkbox5.disabled="true"

avecomm.checkbox6.disabled="true"

avecomm.checkbox7.disabled="true"

}
if(audflag==0)

{

avecomm.checkbox1.disabled="true"

avecomm.checkbox2.disabled="true"

avecomm.checkbox3.disabled="true"

}

if(wbflag==0)

{

avecomm.checkbox8.disabled="true"

avecomm.checkbox9.disabled="true"

avecomm.checkbox10.disabled="true"

}

</script>
<%
ruleAudio=request.form("checkbox13")
ruleHear=request.form("checkbox14")
ruleTalk=request.form("checkbox15")
ruleAppshare=request.form("checkbo16")
ruleStart=request.form("checkbox17")
ruleAnnotate=request.form("checkbox18")
ruleControl=request.form("checkbox19")
ruleWhiteBoard=request.form("checkbox20")
ruleView=request.form("checkbox21")
ruleEdit=request.form("checkbox22")
ruleTextchat=request.form("checkbox23")
ruleFiletransfer=request.form("checkbox24")
memberrule=request.form("memberrule")
Previpouscheckboxvalue=request.form("checkboxvalue")
%>
<script language="Javascript">
//alert("memberrule"+"<%=memberrule%>")
avecomm.memberrules.value="<%=memberrule%>"
//alert("memberrule "+avecomm.memberrules.value)
var chkboxval="000000000000"
var chkboxval="<%=Previpouscheckboxvalue%>"

</script>

<script
language="javascript">

function participant()

{

rulesCheck1()


if (!avecomm.checkbox1.checked)
{
if(!
avecomm.checkbox4.checked)
{
if(!
avecomm.checkbox8.checked)
{
if(!
avecomm.checkbox11.checked )
{
if(!
avecomm.checkbox12.checked )
{
alert("please
set rules ")

return;
}
}
}
}
}





actionValue(3);

avecomm.submit();


}
</script>
<script language="Javascript">
function rulesCheck1()
{


var ruleaudio=""

var ruleapp=""
if (!
avecomm.checkbox1.checked)
{
if(!avecomm.checkbox4.checked)
{
if(!
avecomm.checkbox8.checked)
{
if(!
avecomm.checkbox11.checked )
{
if(!
avecomm.checkbox12.checked )
{
alert("please
set rules ")

return;
}
}
}
}
}
else
{
ruleaudio=ruleaudio+"07C0"
if (avecomm.checkbox2.checked)
{
if
(avecomm.checkbox3.checked)
{

ruleaudio="07C0"

}
else
{

ruleaudio="0780"

}
}
else
{
if
(avecomm.checkbox3.checked)
{

ruleaudio="0740"

}
}


}



if (avecomm.checkbox4.checked)
{
ruleapp="0875"
if (avecomm.checkbox5.checked)
{
if (avecomm.checkbox7.checked)
{
if (avecomm.checkbox6.checked)
{
ruleapp="08BD"
}
else
{
ruleapp="08B5"
}
}
}
}

var rulewb=""

if(avecomm.checkbox10.checked)
{
rulewb="0B80"
}
else
{
if (avecomm.checkbox9.checked)
{
rulewb="0B40"
}
}
var ruletc
if(avecomm.checkbox11.checked)
{
ruletc="0580"

}
else
{
ruletc=""
}

var ruleft
if(avecomm.checkbox12.checked)
{
ruleft="0A01"
}
else
{
ruleft=""
}
var srt
srt=ruleapp+ruleaudio+rulewb+ruletc+ruleft
//alert(srt)

avecomm.cmrules.value=srt

/*alert("cm rules "+avecomm.cmrules.value)
if (avecomm.memberrules.value =="")
{
alert("member rules not set")
}
else
{
alert("memberrule "+avecomm.memberrules.value)
}*/

}
</script>
<script language="javascript">
var chkboxval="<%=Previpouscheckboxvalue%>"
//alert(chkboxval)

ind=chkboxval.substring(0,1)
if(ind==1)
{
avecomm.checkbox1.checked="true"
}
ind=chkboxval.substring(1,2)
if(ind==1)
{
avecomm.checkbox2.checked="true"
}
ind=chkboxval.substring(2,3)
if(ind==1)
{
avecomm.checkbox3.checked="true"
}
ind=chkboxval.substring(3,4)
if(ind==1)
{
avecomm.checkbox4.checked="true"
}
ind=chkboxval.substring(4,5)
if(ind==1)
{
avecomm.checkbox5.checked="true"
}
ind=chkboxval.substring(5,6)
if(ind==1)
{
avecomm.checkbox6.checked="true"
}
ind=chkboxval.substring(6,7)
if(ind==1)
{
avecomm.checkbox7.checked="true"
}
ind=chkboxval.substring(7,8)
if(ind==1)
{
avecomm.checkbox8.checked="true"
}
ind=chkboxval.substring(8,9)
if(ind==1)
{
avecomm.checkbox9.checked="true"
}
ind=chkboxval.substring(9,10)
if(ind==1)
{
avecomm.checkbox10.checked="true"
}
ind=chkboxval.substring(10,11)
if(ind==1)
{
avecomm.checkbox11.checked="true"
}
ind=chkboxval.substring(11,12)
if(ind==1)
{
avecomm.checkbox12.checked="true"
}

</script>
</body>
</html>
<%
end select
%>
 
A

Aaron Bertrand [MVP]

You expect us to try and find an error in that alphabet soup? You're more
likely to get help if you find out what the real error is. Go to the page
that Ray posted, change the setting, reload the page, and post the error
here.
 
R

Ray at

Posting 1,297 lines of code, html, and whatever other nonsense is of no help
whatsoever. No one is going to read 1,297 lines of code and try to guess
what might be causing "page cannot be displayed." Turn off your friendly
errors and get the line number of your error. If you cannot figure out what
is wrong still, you can post back here with information and a RELEVANT
SNIPPET of your code.

Ray at home
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top