attachments from network resource
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 > attachments from network resource




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

    attachments from network resource  
Rea Peleg


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


 
08-07-04 01:48 AM

Hi all
There seem to be a problem when i attempt to add
attachment from the client machine to the mail message sent from the
web aspx server application.
I am using dot net and i expect security issues to block
attempts from aspx code to access the file system on client machine but not
sure how to
over come this.
I suspect security because the same code runs just fine when executed
by a console application.

Here's the error message i get:

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

Have any of you had some expirience in this sort of mission?

TIA
Rea








[ Post a follow-up to this message ]



    Re: attachments from network resource  
Ken Schaefer


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


 
08-09-04 07:48 AM

You need to have the user upload the file to the server. Then you add the
attachment from the server's file system

How you upload the file depends. If the clients trust the server, you could
use ActiveX control. If they don't, you will need to use a HTML form.

The problem you are having is that:
a) there may not be any file sharing protocol (eg SMB) that the server can
use to access the client's file share
-and/or-
b) the process identity of the server probably doesn't have permissions to
the client's file system

Cheers
Ken

"Rea Peleg" <reapeleg@barak-online.net> wrote in message
news:%233cTnmBfEHA.708@TK2MSFTNGP09.phx.gbl...
> Hi all
> There seem to be a problem when i attempt to add
> attachment from the client machine to the mail message sent from the
> web aspx server application.
> I am using dot net and i expect security issues to block
> attempts from aspx code to access the file system on client machine but
not
> sure how to
> over come this.
> I suspect security because the same code runs just fine when executed
> by a console application.
>
> Here's the error message i get:
>
> "Could not access 'CDO.Message' object.
> Exception has been thrown by the target of an invocation. The network path
> was not found."
>
> Have any of you had some expirience in this sort of mission?
>
> TIA
> Rea
>
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:49 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