marcos medina07 de Septiembre del 2005
Preguntahola y saludos a todos ,tengo el siguiente problema:
cuando desde un formulario en una pagina asp(contac.asp) envio desde un formulario un serie de datos hacia otra pagina messageSent.asp la cuanl se encarga de mandarme los datos del formulario a mi correo me sale el mismo erro un a y otra vez:
Tipo de error:
(0x8004020E)
No se puede modificar o suprimir un objeto que fue añadido usando el SDK Admin COM+
/newland/messageSent.asp, línea 17
el codigo asp de messageSent asp es este:
<%
theSchema="http://schemas.microsoft.com/cdo/configuration/"
Set cdoConfig=server.CreateObject("CDO.Configuration")
cdoConfig.Fields.Item(theSchema & "sendusing")=2
cdoConfig.Fields.Item(theSchema & "smtpserver")="smtp.correo.yahoo.es"
cdoConfig.Fields.Update
set cdoMessage=Server.CreateObject("CDO.Message")
cdoMessage.Configuration=cdoConfig
cdoMessage.From=Request.Form("emailAddress")
cdoMessage.To="[email protected]"
cdoMessage.Subject=Request.Form("subject")
cdoMessage.TextBody=Request.Form("body")
cdoMessage.Send
Set cdoMessage=Nothing
Set cdoConfig=Nothing
%>
y el código asp de formulario(contact.asp) es :
<form name="frm_message" id="frm_message" method="post" action="messageSent.asp">
<table width="95%" border="0" cellpadding="3" cellspacing="0" bgcolor="#eeeeee">
<tr>
<td>Your Email Address </td>
<td><input name="emailAddress" type="text" id="emailAddress" /></td>
</tr>
<tr>
<td>Subject</td>
<td><input name="subject" type="text" id="subject" /></td>
</tr>
<tr>
<td>Message Body </td>
<td><textarea name="body" cols="55" rows="6" wrap="VIRTUAL" id="body"></textarea></td>
</tr>
<tr>
<td> </td>
<td><input name="Submit" type="submit" onclick="MM_validateForm('emailAddress','','RisEmail','subject','','R','body','','R');return document.MM_returnValue" value="Submit" /></td>
</tr>
</table>
</form>
¿q toy haciendo mal?
problemas del servidor?
tengo win xp sp2 y iss
cuando desde un formulario en una pagina asp(contac.asp) envio desde un formulario un serie de datos hacia otra pagina messageSent.asp la cuanl se encarga de mandarme los datos del formulario a mi correo me sale el mismo erro un a y otra vez:
Tipo de error:
(0x8004020E)
No se puede modificar o suprimir un objeto que fue añadido usando el SDK Admin COM+
/newland/messageSent.asp, línea 17
el codigo asp de messageSent asp es este:
<%
theSchema="http://schemas.microsoft.com/cdo/configuration/"
Set cdoConfig=server.CreateObject("CDO.Configuration")
cdoConfig.Fields.Item(theSchema & "sendusing")=2
cdoConfig.Fields.Item(theSchema & "smtpserver")="smtp.correo.yahoo.es"
cdoConfig.Fields.Update
set cdoMessage=Server.CreateObject("CDO.Message")
cdoMessage.Configuration=cdoConfig
cdoMessage.From=Request.Form("emailAddress")
cdoMessage.To="[email protected]"
cdoMessage.Subject=Request.Form("subject")
cdoMessage.TextBody=Request.Form("body")
cdoMessage.Send
Set cdoMessage=Nothing
Set cdoConfig=Nothing
%>
y el código asp de formulario(contact.asp) es :
<form name="frm_message" id="frm_message" method="post" action="messageSent.asp">
<table width="95%" border="0" cellpadding="3" cellspacing="0" bgcolor="#eeeeee">
<tr>
<td>Your Email Address </td>
<td><input name="emailAddress" type="text" id="emailAddress" /></td>
</tr>
<tr>
<td>Subject</td>
<td><input name="subject" type="text" id="subject" /></td>
</tr>
<tr>
<td>Message Body </td>
<td><textarea name="body" cols="55" rows="6" wrap="VIRTUAL" id="body"></textarea></td>
</tr>
<tr>
<td> </td>
<td><input name="Submit" type="submit" onclick="MM_validateForm('emailAddress','','RisEmail','subject','','R','body','','R');return document.MM_returnValue" value="Submit" /></td>
</tr>
</table>
</form>
¿q toy haciendo mal?
problemas del servidor?
tengo win xp sp2 y iss
