An unhandled exception of type 'System.Runtime.Ser
Publicado por Mel (1 intervención) el 14/03/2006 14:18:17
Hola, estoy tratando de enviar mail usando unas componetes, y en el momento que hago click en "send" me aparece el siguiente error:
An unhandled exception of type 'System.Runtime.Serialization.SerializationException' occurred in Unknown Module.
Additional information: The type Techint.Mail.SendMailException in Assembly Techint.Mail, Version=1.0.0.0, Culture=neutral, PublicKeyToken=55da075edcdb4745 is not marked as serializable
En el web.config tengo lo siguiente:
<configSections>
<section name="SendMailConfig" type="System.Configuration.NameValueSectionHandler,system, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, Custom=null" />
</configSections>
<SendMailConfig>
<add key="SMTPServer" value="ARMAIL1" />
<add key="ExchangeServer" value="ARMAIL1" />
</SendMailConfig>
por si uso SMTPServer o ExchangeServer. Igual creoq ue el problema no pasa por el tipo de servidor porque en realidad yo tengo mi codigo donde envio el mensaje dentro de un try-catch y lo pasa, es decir, no entra al catch. Alguien sabe de que se trata y como solucionarlo??
Muchas gracias.
An unhandled exception of type 'System.Runtime.Serialization.SerializationException' occurred in Unknown Module.
Additional information: The type Techint.Mail.SendMailException in Assembly Techint.Mail, Version=1.0.0.0, Culture=neutral, PublicKeyToken=55da075edcdb4745 is not marked as serializable
En el web.config tengo lo siguiente:
<configSections>
<section name="SendMailConfig" type="System.Configuration.NameValueSectionHandler,system, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, Custom=null" />
</configSections>
<SendMailConfig>
<add key="SMTPServer" value="ARMAIL1" />
<add key="ExchangeServer" value="ARMAIL1" />
</SendMailConfig>
por si uso SMTPServer o ExchangeServer. Igual creoq ue el problema no pasa por el tipo de servidor porque en realidad yo tengo mi codigo donde envio el mensaje dentro de un try-catch y lo pasa, es decir, no entra al catch. Alguien sabe de que se trata y como solucionarlo??
Muchas gracias.
Valora esta pregunta


0