Foros del Web » Programando para Internet » ASP Clásico »

Formulario en ASP

Estas en el tema de Formulario en ASP en el foro de ASP Clásico en Foros del Web. Tengo un formulario en contacto.asp cuando envio el formulario me indica este error, a que es devido. Internal Server Error The server encountered an internal ...
  #1 (permalink)  
Antiguo 15/07/2011, 15:42
 
Fecha de Ingreso: julio-2011
Ubicación: Barcelona
Mensajes: 8
Antigüedad: 12 años, 10 meses
Puntos: 0
Formulario en ASP

Tengo un formulario en contacto.asp cuando envio el formulario me indica este error, a que es devido.

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.

More information about this error may be available in the server error log.



--------------------------------------------------------------------------------

Web Server at ------------.com

<FORM name="Formulario" id="Formulario" action="contacto.asp" method="post">
<h3 style="font-family: Verdana, Geneva, sans-serif; font-weight: bold; font-size: 16px; color: #00F;">CONTACTO</h3>
<p style="font-family: Verdana, Geneva, sans-serif; font-size: 12px;">Si desea ponerse en contacto con nosotros rellene el siguiente formulario de contacto o bien clique <a href="mailto:[email protected]">aqui</a>.&nbsp;<br>
Los campos marcados con el s&iacute;mbolo * son obligatorios: </p>
<table border="0" align="center" cellpadding="0" cellspacing="0" class="texto">
<tr>
<td><span style="font-family: Verdana, Geneva, sans-serif">Nombre * </span><br>
<input name="contacto" type="text" class="Form2" id="contacto" size="33"></td>
<td width="20"></td>
<td><span style="font-family: Verdana, Geneva, sans-serif">Apellidos * </span><br><input name="apellidos" type="text" class="Form2" id="apellidos" size="33"></td>
</tr>
<tr>
<td height="10" colspan="3"></td>
</tr>
</table>
<table border="0" align="center" cellpadding="0" cellspacing="0" class="texto">
<tr>
<td><span style="font-family: Verdana, Geneva, sans-serif">Direcci&oacute;n completa</span><br><input name="direccion" type="text" class="Form2" id="direccion" size="52"></td>
<td width="20"></td>
<td><span style="font-family: Verdana, Geneva, sans-serif">C&oacute;digo postal</span><br><input name="codigopostal" type="text" class="Form2" id="codigopostal" size="14"></td>
</tr>
<tr>
<td height="10" colspan="3"></td>
</tr>
</table>
<table border="0" align="center" cellpadding="0" cellspacing="0" class="texto">
<tr>
<td width="123"><span style="font-family: Verdana, Geneva, sans-serif">Poblaci&oacute;n</span><br>
<input name="poblacion" type="text" class="Form2" id="poblacion" size="20"></td>
<td width="36"></td>
<td width="129"><span style="font-family: Verdana, Geneva, sans-serif">Provincia</span><br>
<input name="provincia" type="text" class="Form2" id="provincia" size="20"></td>
<td width="28"></td>
<td width="120"><span style="font-family: Verdana, Geneva, sans-serif; font-size: 10px;">Pa&iacute;s</span><br>
<input name="pais" type="text" class="Form2" id="pais" size="20"></td>
</tr>
<tr>
<td height="10" colspan="5"></td>
</tr>
<tr>
<td><span style="font-family: Verdana, Geneva, sans-serif; font-size: 10px;">Tel&eacute;fono</span><br>
<input name="telefono" type="text" class="Form2" id="telefono" size="20"></td>
<td width="36"></td>
<td width="129"><span style="font-family: Verdana, Geneva, sans-serif">Fax</span><br>
<input name="fax" type="text" class="Form2" id="fax" size="20"></td>
<td width="28"></td>
<td><span style="font-family: Verdana, Geneva, sans-serif">E-mail * </span><br>
<input name="email" type="text" class="Form2" id="email" size="20"></td>
</tr>
<tr>
<td height="10" colspan="5"></td>
</tr>
</table>
<table border="0" align="center" cellpadding="0" cellspacing="0" class="texto">
<tr>
<td><span style="font-family: Verdana, Geneva, sans-serif">Observaciones * </span><br>
<textarea name="observaciones" cols="70" rows="6" class="Form2" id="observaciones" ></textarea></td>
</tr>
<tr>
<td height="10"></td>
</tr>
<tr>
<td><a href="#" class="Boton1" style="cursor:pointer; color: #006; font-family: Arial, Helvetica, sans-serif; font-weight: bold;" onClick="javascript:EnviarF();">
<input type="reset" name="cancelar" id="cancelar" value="Cancelar" />
<input type="submit" name="Enviar" id="Enviar" value="Enviar" />
</a></td>
</tr>
<tr>
<td height="25"></td>
</tr>
</table>
<p><br />
<br />
<span style="font-size: 11px; font-family: Verdana, Geneva, sans-serif;">A los efectos de lo que dispone la Ley Org&aacute;nica 15/1999, de 13 de
diciembre, de Protecci&oacute;n de Datos de Car&aacute;cter Personal, le
informamos que sus datos personales incluidos en esta Solicitud de Informaci&oacute;n
y los facilitados en este formulario van a ser incorporados en un fichero
creado bajo la responsabilidad de Motos Beltrán. Estos datos los facilita
voluntariamente para poder ser atendido en la solicitud de informaci&oacute;n
que cursa.
</span>
</p>
<p style="font-family: Verdana, Geneva, sans-serif; font-size: 11px;">Usted tiene derecho a acceder a la informaci&oacute;n que le concierne
recopilada en este fichero, rectificarla de ser err&oacute;nea o cancelarla
</p>
</form>

El archivo de envio es el siguiente:
<%response.expires=0%>

<!-- #include file="cabecera.asp"-->
<!-- #include file="menuprod.asp"-->
<!-- #include file="pie.asp"-->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<title>-----------</title>
<link href="estilos.css" rel="stylesheet" type="text/css">
</head>

<body>
<div id="contenedor">
<% cabecera %><% menuprod %>
<div id="contenido">
<span class="Titulo">CONTACTO</span>
<br>
<br>
Sus datos han sido enviados correctamente.<br>
En breve recibir&aacute; noticias nuestras.<br>
<br>
<b>Gracias por utilizar nuestros servicios.</b>
<% pie %>
</div>
</div>
</body>
</html>
  #2 (permalink)  
Antiguo 15/07/2011, 17:25
Avatar de phillipecw  
Fecha de Ingreso: septiembre-2008
Ubicación: Lima, Peru, Peru
Mensajes: 142
Antigüedad: 15 años, 7 meses
Puntos: 19
Respuesta: Formulario en ASP

Creo que no se logra ver el código ASP que realiza el envío. Sería bueno ver el código completo para poder ayudarte.
__________________

Phillipe Calmet Williams
Freelance Front-End Developer, Graphic & Web Designer www.phillipecw.com

Etiquetas: asp, formulario
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 18:48.