Solved

COM+

Posted on 2003-10-27
5
326 Views
Last Modified: 2013-11-25
Hi:

I have a component services application. This application is contained in a dll. Inside the dll I need to make some API calls that need certain permissions. When I create  an instance of the component all this functions appear to fails even when I set the com application to run under the security context of an administrator in the "Identity" tab of the components services manager. There is any way that the server could make any API call o whatever it wants in the server? What kind of rights should I give it for this thing to work? An example of a task I want to acomplish is running a program from inside the component. The client application may run under the security context of  the IIS account so it could not have right to do this directly.
0
Comment
Question by:fantasma110899
  • 2
5 Comments
 
LVL 2

Accepted Solution

by:
cero earned 100 total points
ID: 9634223
Hi fantasma,

In my opinion you have to debug permissions to see what is the problem.
How to do that:
1. In the server with IIS activate security policies (logon fails, etc) for seeing exactly what is happening. Next in the event viewer, security Item, you will see what are the denied permissions.
2. See logs of IIS.
3. Look if you can do that without component services, create and standard exe with the same funcionality and execute it to discard if is your account or is component services. (Execute the exe with the same user that you are using in component services)

Also, look at:
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/kb/articles/Q223/3/34.asp&NoWebContent=1

Maybe, you isolate the problem and give us much information, in that case we could help you more.

regards,

cero
0
 
LVL 2

Expert Comment

by:cero
ID: 9761078
fantasma:

some feedback?

regards

cero
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now