Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Re: Creating an Instance of Outlook

Thread Tools

Re: Creating an Instance of Outlook

bruce barker
Posts: n/a
you have two problems:

1) the webserver is running as a service account and does not have an
outlook profile, so outlook can not open the mailbox.

2) Outlook is a windows app it cannot create its window from a service
account and won't run.

-- bruce (

"cathy" <(E-Mail Removed)> wrote in message
news:024f01c34ca7$62f55300$(E-Mail Removed)...
> hi everyone
> I want to access the outlook from my webpage to be able
> to read the messages in the inbox.
> when first I try to create an instance of the Outlook
> i get the error "Access Denied".
> this is my syntax
> Dim oApp As Outlook.Application = New Outlook.Application
> ()
> I gave the ASPNET user, full control over my C drive and
> I still get the error.
> What do I need to do?
> Any help will be great
> Thanks.

Reply With Quote
cathy gh
Posts: n/a
Thank you

*** Sent via Developersdex ***
Don't just participate in USENET...get rewarded for it!
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating an instance when the argument is already an instance. Olive Python 4 07-06-2012 02:01 PM
Custom Taglib problems - instead of a single instance per page, I have a single instance per application. chris brat Java 1 05-10-2006 11:16 AM
Cannot refer to an instance member of a class from within a shared method or shared member initializer without an explicit instance of the class. DJ Dev ASP .Net 3 02-08-2004 04:19 PM
Re: Creating an Instance of Outlook Chris Jackson ASP .Net 0 07-18-2003 08:09 PM
Acces denied when creating an instance of outlook cathy ASP .Net Security 0 07-17-2003 09:31 PM