Access Denied!
From: Bart (bart_at_spamonly.com)
Date: 02/12/05
- Next message: Bart: "Re: Access Denied!"
- Previous message: Jonny Larson: "Simulate form completion using IWebBrowser2"
- Next in thread: Bart: "Re: Access Denied!"
- Reply: Bart: "Re: Access Denied!"
- Reply: Alexander Nickolov: "Re: Access Denied!"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 12 Feb 2005 12:11:48 +0100
Hi,
I am developing an IIS SMTP event sink. This is basically a COM object
integrating with IIS SMTP. This COM object uses another out-of-process
executable COM server located on the same machine. The problem is that
CoCreateInstance fail when creating the object with Access Denied
(0X80070005).
More Details:
- The problem only seems to happen on Windows 2003/IIS6 (tested on two
machines).
- Application was also tested on Windows 2000//IIS5 (tested on two machines)
and there was no problem.
- Using GetUserName() just before creating the object I confimed that the
user is SYSTEM
- The out-of-proc server is configured using as identity 'The launching
User'. If I change this to 'This User' and specify an admin account the
problem is "solved". Still I would like to avoid this "solution" to avoid
having to get admin credentials for this application.
- I did try to change the Launch Permissions and Access Permissions to set
SYSTEM, Everyone, IWAM_xxx, IUSR_xxx. No effect same problem.
- I also wrote a little application to run the command prompt under Local
System. From here I launched a test application which accesses this
out-of-process server. This worked fine!
So As you can see I tried many things but still cannot understand how to get
this to work.
Can anyone help me? Any tips will be appreciated even if you don't know the
solution.
thanks,
Bart
- Next message: Bart: "Re: Access Denied!"
- Previous message: Jonny Larson: "Simulate form completion using IWebBrowser2"
- Next in thread: Bart: "Re: Access Denied!"
- Reply: Bart: "Re: Access Denied!"
- Reply: Alexander Nickolov: "Re: Access Denied!"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|