Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Atthacment problem

Status
Not open for further replies.

alexbo

Programmer
Jul 26, 2002
20
IT
Hi Folks,
I've wrote a c# application that sends mail over lotus notes, using the domino.dll, It automatically sends mail when its called by programs or procedure that works over night. The procedure worked fine for almost two years, in the last couple of month, sometimes crashes and print out that can't find the attached file, The file exists because, befor attaching the file the c# program verify the existance.
The istruction I use to attach the file to lotus notes are the following
<code>
RTI=Doc.CreateRichTextItem("Allegato"+All.ToString()); RTI.EmbedObject;(Domino.EMBED_TYPE.EMBED_ATTACHMENT,"",AtFile,"Allegato"+All.ToString());
</code>
Any Idea?
Thanks for all the information you may give me Alex
 
Usual slew of inital questions :

1) Is the dll the same as the one that worked before the crashes (borked file, hijacked function, . .) ?
2) Has anything changed in the Notes version used on the PC ?
3) Has anything changed in the authorizations to read the file ?

This last point is spectacularly important. Some setting may have overridden the accessibility of the file to the Notes process - to be sure you'd have to run the check with the same authority as the process.

Pascal.


I've got nothing to hide, and I'd very much like to keep that away from prying eyes.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top