web mail error in aspx application
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS and SMTP > web mail error in aspx application




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    web mail error in aspx application  
Rea Peleg


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-05-04 10:55 PM


Hi all
I am using iis smtp service in an aspx application to send email
notifications.
The same code runs nicely from a test console application, but later fails
in the web form.

The following error occurs:

"Could not access 'CDO.Message' object.
Exception has been thrown by the target of an invocation. The network path
was not found."

I'm not sure what is the target of invocation?

I can think of 3 possebilities:
1)The smtp server
2)The CDO.dll
3)an attachment from network location

If it is the smtp server than why there is no problem locationg it from with
in the console
project?

I also had a problem to add an attachment which is retrieved from client's
machine.
More specifically i had a line of code which tested its existance there:
File.Exist("path to attachment")  and it failed untill
i impersonated the iis service.

Can there be still a problem attaching to this file on sending the message??

Can this be related to 'trust' between my application and the attachment or
between
my application and the CDO dll??

Thanks alot for your attention
Rea










[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 10:22 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register