Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: CDONTS file attachment failure


Message #1 by "Vadim Kudryavtsev" <vadim.kudryavtsev@m...> on Tue, 11 Dec 2001 20:32:03
Hi,

I am trying to create a web request form, with submition via CDONTS.

We have 2 servers NT4/IIS4 or 2000/IIS5.

As long as we are not using file attachment everything works fine.

Attchment, posted from *.htm to *.asp fails, whether it is sent from

input type="file" or explicitly as string.

Sometimes it returns error code 80004005.

Strange thing - it is working fine if you access form from server 

itself.

Appreciate any ideas.

Vadim

Message #2 by "Martin Grundy" <martin.grundy@s...> on Wed, 12 Dec 2001 09:05:25
Vadim,



Have you looked at:

http://p2p.wrox.com/view.asp?list=asp_cdo&id=109944



It suggests that MIME types may be your answer.



Martin



> Hi,

> I am trying to create a web request form, with submition via CDONTS.

> We have 2 servers NT4/IIS4 or 2000/IIS5.

> As long as we are not using file attachment everything works fine.

> Attchment, posted from *.htm to *.asp fails, whether it is sent from

> input type="file" or explicitly as string.

> Sometimes it returns error code 80004005.

> Strange thing - it is working fine if you access form from server 

> itself.

> Appreciate any ideas.

> Vadim

Message #3 by "Vadim Kudryavtsev" <vadim.kudryavtsev@m...> on Wed, 12 Dec 2001 08:59:40 -0500
Martin,

thanks for the hint, but my problem is not file type 

- any type of file fails from being attached.

I smell security issues, since it works fine runnig

locally on server.

any ideas...

midaV

Vadim Kudryavtsev

programmer

Development & Alumni Relations Services

McGill University,

Rabinovitch House

3640 de la Montagne

Montreal QC H3G 2A8

CANADA

tel.(514)398-6016

vadim.kudryavtsev@m...

Message #4 by "Siegfried Weber" <sweber@c...> on Wed, 12 Dec 2001 15:34:55 +0100
IIRC, an ASP application per default can only access files from the

local Windows NT/2000 Server it runs on.



Did you check:



FIX: ASP Fails to Access Network Files Under IIS 4.0 and IIS 5.0:

http://support.microsoft.com/default.aspx?scid=3Dkb;EN-US;q189408



HOWTO: Accessing Network Files from IIS Applications:

http://support.microsoft.com/default.aspx?scid=3Dkb;EN-US;q207671





<Siegfried />



> -----Original Message-----

> From: Vadim Kudryavtsev [mailto:vadim.kudryavtsev@m...]

> Sent: Wednesday, December 12, 2001 3:00 PM

> To: ASP CDO

> Subject: [asp_cdo] Re: CDONTS file attachment failure

>

> Martin,

> thanks for the hint, but my problem is not file type

> - any type of file fails from being attached.

> I smell security issues, since it works fine runnig

> locally on server.

> any ideas...

> midaV

> Vadim Kudryavtsev

> programmer

> Development & Alumni Relations Services

> McGill University,

> Rabinovitch House

> 3640 de la Montagne

> Montreal QC H3G 2A8

> CANADA

> tel.(514)398-6016

> vadim.kudryavtsev@m...

>

>




$subst('Email.Unsub')

>




$subst('Email.Unsub').

Message #5 by "Vadim Kudryavtsev" <vadim.kudryavtsev@m...> on Wed, 12 Dec 2001 11:57:16 -0500
thanks Siegfried,

i'll give it a try.

i also found some info related to specific rights

that have to be given to  IUSER in Mailbox folder

and explicit path (C:\TEMP) in Machine Environment 

variables (it seems odd to me however).

i will let you all now how is it going.

midaV


  Return to Index