RE: C# Interop Object Security Permissions Problem

From: Ying-Shen Yu[MSFT] (v-yiy_at_online.microsoft.com)
Date: 03/16/04


Date: Tue, 16 Mar 2004 05:19:23 GMT

Hi John,

>From your description, do you mean the error will occur if you change the
running account of the service without chaning one line of your code.

If so I suspect this issue probably caused by an access failure when
creating the COM component.
You may check the file permission of your .NET class library to see if the
service account can access it (Read, Read&Execute).
You may also need check the permission of registry node for the COM
Component to make sure your service account can read from it.

If the problem persists, maybe you need need use Filemon and Regmon to get
a complete log of the File/Registry access for your service, it might be
helpful to narrow down the problem and see which file/node caused the
Access denied.

If you still have problem after trying these suggestions, please feel free
to reply this thread to let me know and provide more detail information.

Good Luck!

Best regards,

Ying-Shen Yu [MSFT]
Microsoft community Support
Get Secure! - www.microsoft.com/security

This posting is provided "AS IS" with no warranties and confers no rights.
This mail should not be replied directly, please remove the word "online"
before sending mail.



Relevant Pages

  • NTFS Permission
    ... The user has an account on the domain A as a domain user. ... His nootebook is not in the domain A but he has the same init and the ... The file permission for the user are set to read, ...
    (microsoft.public.windows.server.security)
  • Re: NTFS Permission
    ... Evidently that means the account of the user in Domain A? ... Are these domains within one forest? ... His nootebook is not in the domain A but he has the same init and the ... The file permission for the user are set to read, ...
    (microsoft.public.windows.server.security)
  • Re: Username/Password input dialog
    ... Hello Jeff I checked no the account itself and the account was locked. ... "Everyone" as file permission. ... >access using the anonymous user account to a resource with full ...
    (microsoft.public.inetserver.iis.security)
  • Re: [kde-linux] kmail send problem
    ... I started kmail as root and set up one of my accounts from scratch. ... First I recreated the account that had ... Logic tells me that creating an account and sending mail as root, ...
    (KDE)
  • Re: [kde-linux] kmail send problem
    ... >>> I've never previously had a problem sending mail from kmail on this ... >>worked as root and I was able to send mail. ... The second account worked ...
    (KDE)