SmtpMail.Send problem (bad)

G

Guest

I have an asp.net (1.1) that "as" sending emails okay. Lately it is trowing
the following exception:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
System.Reflection.TargetInvocationException: Exception has been thrown by
the target of an invocation. ---> System.UnauthorizedAccessException: Access
is denied. --- End of inner exception stack trace --- at
System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr,
Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture,
String[] namedParameters) at System.RuntimeType.InvokeMember(String name,
BindingFlags invokeAttr, Binder binder, Object target, Object[] args,
ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters)
at System.Web.Mail.CdoSysHelper.Send(MailMessage message) at
System.Web.Mail.SmtpMail.Send(MailMessage message) at
Que.temp.Page_Load(Object sender, EventArgs e) in
c:\inetpub\wwwroot\dev\queue\temp.aspx.cs:line 43
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

We are stumped.

2.0 apps on the same box work ok (Send()).
1.1 apps on another box work ok(Send()).
1.1 windows apps work ok(Send())

I've checked everywhere., but to no avail.

Anyone here have any ideas?
 
S

sloan

I have a 2.0 and 1.1 hybrid solution at:

http://spaces.msn.com/sholliday/ 2/8/2006 entry

...

Check all the folders in the C:\Inetpub\mailroot\
and see if it gets hung up at your machine.

If it gets stuck, then you may have to adjust your smarthost settings.

But I've seen it screw up the 1.1 and 2.0 hybrid sites.
 
G

Guest

Woe that looks pretty cool.

No mailroot dir on this box - smtp stuff is handled elsewhere(different box).

I'm not sure if your solution will work - I have only one smtp server to
work with.

thanx though. I like your idea for multiple smtp servers - I just wish I
had more to use.



sloan said:
I have a 2.0 and 1.1 hybrid solution at:

http://spaces.msn.com/sholliday/ 2/8/2006 entry

...

Check all the folders in the C:\Inetpub\mailroot\
and see if it gets hung up at your machine.

If it gets stuck, then you may have to adjust your smarthost settings.

But I've seen it screw up the 1.1 and 2.0 hybrid sites.




Chaz said:
I have an asp.net (1.1) that "as" sending emails okay. Lately it is trowing
the following exception:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
System.Reflection.TargetInvocationException: Exception has been thrown by
the target of an invocation. ---> System.UnauthorizedAccessException: Access
is denied. --- End of inner exception stack trace --- at
System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr,
Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture,
String[] namedParameters) at System.RuntimeType.InvokeMember(String name,
BindingFlags invokeAttr, Binder binder, Object target, Object[] args,
ParameterModifier[] modifiers, CultureInfo culture, String[] namedParameters)
at System.Web.Mail.CdoSysHelper.Send(MailMessage message) at
System.Web.Mail.SmtpMail.Send(MailMessage message) at
Que.temp.Page_Load(Object sender, EventArgs e) in
c:\inetpub\wwwroot\dev\queue\temp.aspx.cs:line 43
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

We are stumped.

2.0 apps on the same box work ok (Send()).
1.1 apps on another box work ok(Send()).
1.1 windows apps work ok(Send())

I've checked everywhere., but to no avail.

Anyone here have any ideas?
 
G

Guest

Something else:

for about 10 days or so we've been getting these weird error popups from
windows that read:

"Error during Send request in first handshake. Error: 12029"

From what I've been able to gather, this is related to HTTP sends. The
appearance of the word "first" in the error mssg presupposes a second
handshake. Could my app be hitting a similar error on SmtpMail.Send() and
giving up without attempting another and returning the exception in my first
post??
 
S

sloan

You don't have to use multi-servers, but you have the option.

You can start a gmail account, and enable pop. and test that with my
project.

That way you can differentiate between it being your code ..... and your
server.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top