Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > System.Net.Mail.SmtpClient Send method causing an Application popup in IIS ???

Reply
Thread Tools

System.Net.Mail.SmtpClient Send method causing an Application popup in IIS ???

 
 
ticketdirector@gmail.com
Guest
Posts: n/a
 
      04-24-2006
Hi,

In the event viewer on our production web server (win2k3), I am seeing
that if a call to the System.Net.Mail.SmtpClient.Send() function fails
/ throws an exception, it is popping up an assertion failure message
box. But since this is a remote server, there is no logged in user, so
the assertion failure message box is just sitting there waiting forever
for someone to come along and hit "OK" button. This is causing problems
on the server.

We have this call in a try/catch, so I can't understand why assertion
failires or exceptions are not caught. Why is this call causing an
application assertion failure popup message that can never be seen? Is
there a way to fix this?

thanks for any help.

Roy.

 
Reply With Quote
 
 
 
 
=?Utf-8?B?UGV0ZXIgQnJvbWJlcmcgW0MjIE1WUF0=?=
Guest
Posts: n/a
 
      04-25-2006
Sounds like you may want to check your JIT debugger settings in the Registry.
Sorry don't have a link handy. Also, make sure debug=false in the web.config.
Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com




"(E-Mail Removed)" wrote:

> Hi,
>
> In the event viewer on our production web server (win2k3), I am seeing
> that if a call to the System.Net.Mail.SmtpClient.Send() function fails
> / throws an exception, it is popping up an assertion failure message
> box. But since this is a remote server, there is no logged in user, so
> the assertion failure message box is just sitting there waiting forever
> for someone to come along and hit "OK" button. This is causing problems
> on the server.
>
> We have this call in a try/catch, so I can't understand why assertion
> failires or exceptions are not caught. Why is this call causing an
> application assertion failure popup message that can never be seen? Is
> there a way to fix this?
>
> thanks for any help.
>
> Roy.
>
>

 
Reply With Quote
 
 
 
 
ticketdirector@gmail.com
Guest
Posts: n/a
 
      04-25-2006
Peter,

thanks for your response. I checked my web.config and debug is set to
false. I did some searching on google for the proper reg key to modify
to disable this behavior, but was unsuccessful. Aside from needing to
figure out how to fix this, I'd love to also know *why* it's happening.
All other exceptions thrown in my web app get caught by exception
handlers except this one.

: (

 
Reply With Quote
 
hazz
Guest
Posts: n/a
 
      04-25-2006
There is some unmanaged code stuff going on at the lower levels. My
experience with smtp and the .net controls led me to test locally and I had
to use devmail.net's product to get my sends to work. Even with a detail
trace on what was going on at the port level, I never could sort out my
issue. -greg

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed) oups.com...
> Peter,
>
> thanks for your response. I checked my web.config and debug is set to
> false. I did some searching on google for the proper reg key to modify
> to disable this behavior, but was unsuccessful. Aside from needing to
> figure out how to fix this, I'd love to also know *why* it's happening.
> All other exceptions thrown in my web app get caught by exception
> handlers except this one.
>
> : (
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
using GMail to send e-mail causing email Brian Rhiel Ruby 1 05-31-2010 06:59 PM
javascript popup causing postback on parent. Pls Help! =?Utf-8?B?VmVhcg==?= ASP .Net 6 04-13-2006 04:13 AM
popup causing iframe target to be ignored ukrbend Javascript 6 02-03-2006 07:56 PM
validator causing password prompt to popup =?Utf-8?B?SnVzdGlu?= ASP .Net 1 10-09-2004 03:37 AM
Main > Popup > Popup > Close popup AND new URL in main? Jens Peter Hansen Javascript 7 06-19-2004 08:56 PM



Advertisments