Click here to Skip to main content
15,569,644 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a one asp form page i uploaded on plesk but when i visit that page its giving error **(The page cannot be displayed because an internal server error has occurred.)**

Page Code
C#
Isflag=false
flag1=false
initial=Request.Form ("R1")
name=Request.Form ("name")
'lastname=Request.Form ("lastname")
'occupation=Request.Form ("occupation")
'company=Request.Form ("company")
age=Request.Form ("age")
sex=Request.Form ("sex")
country=Request.Form ("country")
qualification=Request.Form ("qualification")
languages=Request.Form ("languages")
category=Request.Form ("category")
details=Request.Form ("details")
experience=Request.Form ("experience")
background1=Request.Form("background1")
background2=Request.Form("background2")
background3=Request.Form("background3")
background4=Request.Form("background4")
phtdetails=Request.Form("phtdetails")
how=Request.Form("how")
interested1=Request.Form("interested1")
interested2=Request.Form("interested2")
interested3=Request.Form("interested3")
interested4=Request.Form("interested4")
interested5=Request.Form("interested5")
location1=Request.Form("location1")
location2=Request.Form("location2")
location3=Request.Form("location3")
location4=Request.Form("location4")
location5=Request.Form("location5")
location6=Request.Form("location6")
startdate=Request.Form("date1")
startmonth=Request.Form("month1")
startyear=Request.Form("year1")
enddate=Request.Form("date2")
endmonth=Request.Form("month2")
endyear=Request.Form("year2")
remarks=Request.Form("remarks")

tel=Request.Form ("tel")
email="smtp@panchendriya.com"
from=Request.Form ("email")
'about=Request.Form ("about")
  ' message = Request.Form("message")
     If Len(name) Then
     Set mail = Server.CreateObject("JMAIL.SMTPMail")
     Set Mail1 = Server.CreateObject ("JMAIL.SMTPMail")
   mail.ServerAddress ="mail.panchendriya.com"
    mail1.ServerAddress ="mail.panchendriya.com"
   mail.Subject = "My Details"
       'Mail1.ServerAddress ="mail.panchendriya.com"
       mail1.subject = "Thanks for sending your details"
mail1.Sender = email
mail1.AddRecipient from
   mail.Sender = from
   mail.AddRecipient  email
   'mail.Subject = subject
   text = "Name: " &name & vbCrlf 
   text = text&"Age: " &age &vbCrlf
   text = text&"Sex: " &sex &vbCrlf
   text = text&"Country: " &country &vbCrlf
   text = text&"Qualification: " &qualification &vbCrlf
   text = text&"Languages Known: " &languages &vbCrlf
   text = text&"Category: " &category &vbCrlf
   text = text&"Category Details: " &details &vbCrlf
   text = text&"Therapy Experience: " &experience &vbCrlf
   text = text&"Background in Physical Training: " &vbCrlf
   text = text&background1 &vbCrlf
   text = text&background2 &vbCrlf
   text = text&background3 &vbCrlf
   text = text&background4 &vbCrlf
   text = text&"Details of Physical Training: " &phtdetails &vbCrlf
   text = text&"How did you come to know about us: " &how &vbCrlf
   text = text&"Interested in: " &vbCrlf
   text = text&interested1 &vbCrlf
   text = text&interested2 &vbCrlf
   text = text&interested3 &vbCrlf
   text = text&interested4 &vbCrlf
   text = text&interested5 &vbCrlf
   text = text&"Preference of Training Location: " &vbCrlf
   text = text&location1 &vbCrlf
   text = text&location2 &vbCrlf
   text = text&location3 &vbCrlf
   text = text&location4 &vbCrlf
   text = text&location5 &vbCrlf
   text = text&location6 &vbCrlf
   text = text&"When you want to take the course " &vbCrlf
   text = text&"Start Date: " &startdate& "/"& startmonth& "/"& startyear &vbCrlf
   text = text&"End Date: " &enddate& "/"& endmonth& "/"& endyear &vbCrlf
   text = text&"Remarks: " &remarks &vbCrlf

   text = text&"Telephone: " &tel &vbCrlf
   text = text&"Email: " &from &vbCrlf &vbCrlf
   text = text&initial &vbCrlf
   
   text1="Hi "&name &vbCrlf
   text1=text1 &"Thanks for sending your details.We will be back to you soon." &vbCrlf
   text1=text1 &"Regards" &vbCrlf
   text1=text1 &"Prabhat Menon" &vbCrlf
   mail1.Body = text1
   mail.Body = text
    
   mail.Execute 
   mail1.Execute
   Set mail = Nothing
   flag=true
   else 
   flag1=true
   end if
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<link rel="stylesheet" type="text/css" href="style.css">
<meta name="description" content="">
<meta name="keywords" content=" ">
<META NAME="OWNER" CONTENT="">
<META NAME="AUTHOR" CONTENT="">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<meta name="description" content="">
<meta name="keywords" content="">
<META NAME="OWNER" CONTENT="">
<META NAME="AUTHOR" CONTENT="">

<SCRIPT LANGUAGE=javascript>
<!--

function validmail(mail)
{
	var str= mail.value;
		var locSpace= str.indexOf(" ");
		var locAt= str.indexOf("@");
		var tmpStr= str.substring(locAt+1);
		var locDot= tmpStr.indexOf(".");
		
		locSpace= str.indexOf(" ");
		
	// check if the email address contains " " ( space ). If it does, give an error message.
	
  if ( locSpace> -1 ) 
   {
	 alert("The email address cannot contain a space character.");
	 
	 mail.focus();
	 return false;
   }
		
		locSpace= str.indexOf(",");
		
	// check if the email address contains ",". If it does, give an error message.
  if ( locSpace> -1 ) 
   {
	alert("The email address cannot contain a \",\" character.");
	
	mail.focus();
	return false;
   }

		locAt= str.indexOf("@");
		
	// check if the email address contains "@". If it doesn't, give an error message.
  if ( locAt< 0 ) 
    {
	 alert("The email address must be in the form \"username@domain.com\".");
	 
	 mail.focus();
	 return false;
	}
			
		tmpStr= str.substring(locAt+1);
		locAt= tmpStr.indexOf("@");
		
	// check if the email address contains a second "@". If it does, give an error message.
  if ( locAt> -1 )
   {
	alert("The email address can contain only one \"@\".");
	
	mail.focus();
	return false;
   }

		locAt= str.indexOf("@");
		tmpStr= str.substring(locAt+1);
		locDot= tmpStr.indexOf(".");
	// check if the email address domain contains at least one "." character. If not, give an error message
  if ( (locDot<0) )
   {
	alert("The domain must contain at least one \".\"-character.");
	
	mail.focus();
	return false;
   }			
			
	// check if the "username" starts with a dot
  if ( str.charAt(0)== ".")
   {
	alert("The username part of the email address can not start with a \".\"-character.");
	
	mail.focus();
	return false;
   }

		locAt= str.indexOf("@");
		tmpStr= str.substring(0,locAt);
		locDot= tmpStr.charAt(tmpStr.length-1);
	
	// check if the "username" ends with a dot
  if ( tmpStr.charAt(tmpStr.length-1)== ".")
   {
	alert("The username part of the email address cannot end with a \".\"-character.");
	
	mail.focus();
	return false;
   }

	// check if the "domain" ends with a dot
  if ( str.charAt(str.length-1)== ".")
   {
	alert("The domain part of the email address cannot end with a \".\"-character.");
	
	mail.focus();
	return false;
   }
		
		locAt= str.indexOf("@");
		tmpStr= str.substring(locAt+1);
	// check if the "domain" starts with a dot
  if ( tmpStr.charAt(0)== ".")
   {
	alert("The domain part of the email address cannot start with a \".\"-character.");
	
	mail.focus();
	return false;
   }
  return true;
}


function validate()
{
if (document.form1.name.value=="")
{
alert("Please enter your Name")
document.form1.name.focus();
return false;
}
if (document.form1.country.value=="")
{
alert("Please enter your Country")
document.form1.country.focus();
return false;
}
if (document.form1.language.value=="")
{
alert("Please enter your Language")
document.form1.language.focus();
return false;
}
if (document.form1.tel.value=="")
{
alert("Please enter your Telephone")
document.form1.tel.focus();
return false;
}


if (document.form1.mails.value=="")
{
alert("Please enter the Email")
document.form1.mails.focus();
return false;
}
if ((document.form1.mails.value).length > 40)
	{
	  alert("Please enter at most 40 characters in the \"Email \".");
	 document.form1.mails.focus();
	  return false
	}
	if(!validmail(document.form1.mails))
		{
			return false;
		}
}
//-->
</script>

<style type="text/css">
<!--
body {
	background-image: url(imgs/paper-leaf1.jpg);
}
-->
</style>

<style>
<!--
ul.disc
{
list-style-type:disc;color:#990000;}
-->
</style>

<style>
<!--
ul.disc1
{
list-style-type:circle;color:#006600;}
.style1 {
	font-size:8pt;
	color:#bf3000;
	font-family: Verdana, Arial, "Arial Narrow";
	font-weight: bold;
}
-->
</style>

<script language="javascript">
<!--
<!--
var win=null;
function NewWindow(mypage,myname,w,h,scroll,pos){
if(pos=="random"){LeftPosition=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;TopPosition=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;}
else if((pos!="center" && pos!="random") || pos==null){LeftPosition=0;TopPosition=20}
settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
win=window.open(mypage,myname,settings);
if(win.focus){win.focus();}}
function CloseNewWin(){if(win!=null && win.open)win.close()}
window.onfocus=CloseNewWin;
// -->
</script>

</head>
<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td align="center" valign="top"><table width="50%"  border="0" cellpadding="5" cellspacing="0" bordercolor="#339900">
            <tr>
              <td align="center" valign="top"><% if flag1 then%>
                  <font class="left">Please Enter into the text boxes to send the mail </font>
                  <%end if%>
                  <%if flag then%>
                  <font class="left">Email sent successfully</font>
                  <%end if%>
                  <form name="form1" method="post" action="contactus.asp" onsubmit="return validate()">
                    <table cellspacing=3 cellpadding=4 width="95%" border=1 bordercolor="#006600">
                      <tbody>
                        <tr>
                          <td width="25%" align="left" valign="middle"><span class="formdata">Name<font color="#FF0000">*</font></span></td>
                          <td width="75%" align="left" valign="top"><input name=name id="name" style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)" size=30 
                  maxlength=35></td>
                        </tr>
                        <tr>
                          <td align="left" valign="middle"><span class="formdata">Age</span></td>
                          <td align="left" valign="top"><input name=age id="age" style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)" size=30 
                  maxlength=35></td>
                        </tr>
                        <tr>
                          <td align="left" valign="middle"><span class="formdata">Sex</span></td>
                          <td align="left" valign="top"><input type=radio value=Male name=Sex checked style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)">
                              <span class="formdata">Male</span>
                              <input type=radio value=Female name=Sex style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)">
                              <span class="formdata">Female</span> </td>
                        </tr>
                        <tr>
                          <td align="left" valign="middle"><span class="formdata">Country<font color="#FF0000">*</font></span></td>
                          <td align="left" valign="top"><textarea name="country" cols="35" rows="1" id="country" style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)"></textarea></td>
                        </tr>
                        <tr>
                          <td align="left" valign="middle" height="26"><span class="formdata">Professional Qualifications</span></td>
                          <td height="26" align="left" valign="top"><textarea name="qualification" cols="35" rows="1" id="qualification" style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)"></textarea></td>
                        </tr>
                        <tr>
                          <td align="left" valign="middle" height="22"><span class="formdata">Languages known <font color="#FF0000">*</font></span></td>
                          <td height="22" align="left" valign="top"><textarea name=languages cols=35 rows="1" id="languages" style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)" type="text"></textarea></td>
                        </tr>
                        <tr>
                          <td align="left" valign="middle"><span class="formdata">Category</span></td>
                          <td align="left" valign="top"><input type=radio value=Professional name=category checked style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)">
                              <span class="formdata">Professional</span><br>
                              <input type=radio value=Amateur Therapist name=category style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)">
                              <span class="formdata">Amateur Therapist</span><br>
                              <input type=radio value=Need Treatment name=category style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)">
                              <span class="formdata">Need Treatment</span></td>
                        </tr>
                        <tr>
                          <td align="left" valign="middle"><span class="formdata">*If coming for treatment, please give details:</span></td>
                          <td align="left" valign="top"><textarea name=details cols=35 rows="1" id="details" style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)" type="text"></textarea></td>
                        </tr>
                        <tr>
                          <td align="left" valign="middle"><span class="formdata">Therapy Experience</span></td>
                          <td align="left" valign="top"><textarea name=experience cols=35 rows="1" id="experience" style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)" type="text"></textarea></td>
                        </tr>
                        <tr>
                          <td align="left" valign="middle" height="141"><span class="formdata">Background in Physical Training<font color="#FF0000">*</font></span></td>
                          <td height="141" align="left" valign="top"><input name="background1" type="checkbox" id="background1" value="Yoga" style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)">
                              <span class="formdata">Yoga</span><br>
                              <input name="background2" type="checkbox" id="background2" value="Martial Art" style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)">
                              <span class="formdata">Martial Art</span><br>
                              <input name="background3" type="checkbox" id="background3" value="Dance Forms" style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)">
                              <span class="formdata">Dance Forms</span><br>
                              <input name="background4" type="checkbox" id="background4" value="Massage" style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)">
                              <span class="formdata" >Massage</span><br>
                              <span class="formdata"><br>
                                Specify Style in each category:</span><br>
                            <textarea name=phtdetails cols=35 rows="1" id="phtdetails" style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)" type="text"></textarea>
                            </p></td>
                        </tr>
                        <tr>
                          <td align="left" valign="middle" height="47"><span class="formdata">How did you come to know about us?</span></td>
                          <td height="47" align="left" valign="top"><input name=how type=radio style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)" value=Friend checked>
                              <span class="formdata">Friend</span><br>
                              <input type=radio value=Website search name=how style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)">
                              <span class="formdata">Website search</span><br>
                              <input type=radio value=Institute name=how style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)">
                              <span class="formdata">Institute</span></td>
                        </tr>
                        <tr>
                          <td align="left" valign="middle" height="80"><span class="formdata">Interested in</span></td>
                          <td height="80" align="left" valign="top"><input name="interested1" type="checkbox" id="interested1" value="Ayurvedic Treatments" style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)">
                              <span class="formdata">Ayurvedic Treatments</span><br>
                              <input name="interested2" type="checkbox" id="interested2" value="Chavutti Thirummal" style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)">
                              <span class="formdata">Chavutti Thirummal</span><br>
                              <input name="interested3" type="checkbox" id="interested3" value="Thai yoga massage" style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)">
                              <span class="formdata">Thai Yoga Massage</span><br>
                              <input name="interested4" type="checkbox" id="interested4" value="Kalarippayatt" style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)">
                              <span class="formdata">Kalarippayatt</span><br>
                              <input name="interested5" type="checkbox" id="interested5" value="Mohiniattam" style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)">
                              <span class="formdata">Mohiniattam</span></td>
                        </tr>
                        <tr>
                          <td align="left" valign="middle"><span class="formdata">Preference of Training Location</span><br>
                              <span class="formdata">(not applicable for Kalarippayatt & Mohiniattam)</span></td>
                          <td align="left" valign="top"><input name="location1" type="checkbox" id="location1" style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)" value="Mumbai, India">
                              <span class="formdata">Mumbai, India</span><br>
                              <input name="location2" type="checkbox" id="location2" style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)" value="Rural locations on the outskirts of Mumbai, India">
                              <font class="formdata">Rural areas outside Mumbai, India</font><br>
                              <input name="location3" type="checkbox" id="location3" style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)" value="Goa, India">
                              <span class="formdata">Goa, India</span><br>
                              <input name="location4" type="checkbox" id="location4" style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)" value="Kerala, India">
                              <span class="formdata">Kerala, India</span><br>
                              <input name="location5" type="checkbox" id="location5" style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)" value="Chiang Mai, Thailand">
                              <span class="formdata">Chiang Mai, Thailand</span><br>
                              <input name="location6" type="checkbox" id="location6" style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)" value="Chiang Mai, Thailand">
                              <span class="formdata">Europe</span></td>
                        </tr>
                        <tr>
                          <td align="left" valign="middle"><span class="formdata">When do you want to take a course?</span></td>
                          <td align="left" valign="top"><span class="formdata">From :</span> <br>
                              <span class="formdata">Date:</span>
                              <input name=date1 id="Telephone0" size=5 maxlength=2 style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)">
                              <span class="formdata"> Month:</span>
                              <input name=month1 id="Telephone1" size=5 maxlength=2 style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)">
                              <span class="formdata"> Year:</span>
                              <input name=year1 id="Telephone2" size=5 maxlength=4 style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)">
                              <br>
                              <span class="formdata">To :</span> <br>
                              <span class="formdata">Date:</span>
                              <input name=date2 id="Telephone3" size=5 maxlength=2 style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)">
                              <span class="formdata"> Month:</span>
                              <input name=month2 id="Telephone4" size=5 maxlength=2 style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)">
                              <span class="formdata"> Year:</span>
                              <input name=year2 id="Telephone5" size=5 maxlength=4 style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)"></td>
                        </tr>
                        <tr>
                          <td align="left" valign="middle"><span class="formdata">Remarks/Comments</span></td>
                          <td align="left" valign="top"><textarea name=remarks cols=30 rows="5" wrap="PHYSICAL" id="remarks" style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade-1.jpg)" type="text"></textarea></td>
                        </tr>
                        <tr>
                          <td align="left" valign="middle"><span class="formdata">Phone<font color="#FF0000">*</font></span></td>
                          <td align="left" valign="top"><input name=tel id="tel" size=30 maxlength=20 style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)"></td>
                        </tr>
                        <tr>
                          <td align="left" valign="middle"><span class="formdata">Email <font color="#FF0000">*</font></span></td>
                          <td align="left" valign="top"><input maxlength=70 size=30 name=email style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FFCC33 2px solid; COLOR: #990000; BORDER-BOTTOM: #FFCC33 2px solid; BACKGROUND-COLOR: #FFFF99; background-image:url(imgs/form-shade.jpg)"></td>
                        </tr>
                        <tr>
                          <td align="left" valign="top"</td>
                          <td align="left" valign="top"><input type="submit" name="Submit" value="Submit" style="BORDER-RIGHT: #FF9900 2px solid; BORDER-TOP: #FF9900 2px solid; FONT: 11px Lucida sans, Verdana, Arial,; BORDER-LEFT: #FF9900 2px solid; COLOR: #006600; BORDER-BOTTOM: #FF9900 2px solid; font-weight:bold;"></td>
                        </tr>
                      </tbody>
                    </table>
                  </form></td>
            </tr>
        </table></td>
      </tr>
      <tr>
        <td align="left" valign="top"</td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>


What I have tried:

i am trying anything if anyone help me out so please tell me the error
Posted
Updated 29-Jan-19 3:31am
v2
Comments
CHill60 29-Jan-19 8:32am    
Change your web config file to show more detailed error messages
<httpErrors errorMode="Detailed"></httpErrors>

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900