View Single Post
  #2  
Old April 5th 06, 05:53 AM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default New Outlook.Application throws FileNotFoundException

Outlook, just like any other Office app, cannot and should not be used from
a service (such as IIS).

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Sue" wrote in message
...
ASP.NET 2003, web application (VB), XP, Outlook 2002 - wrote short app to
loop through outlook folder, parse mail item body for http URLs to image
files, use system.net.webclient downloadfile to grab the image and save to
folder on PC. No exchange server. App was working fine. Added additional
items to parse in the mail item body. From one compile/run to the next,
started getting a FileNotFoundException error on the MyApp = new
Outlook.Application line. I've checked what security settings I can find
in
MSDN, google that seem to apply, verified the outlook.dll is in the bin
file,
cleaned out the vb web cache in the framework 1.1 folder. I'm at a loss as
to
what to try next. I really need to automate this since upwards of 100
images
each day need to be saved to disk and doing this manually is too time
consuming. Any ideas or suggestions?

tia,
Sue



Ads