Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

COM+

Posted on 2003-10-27
5
Medium Priority
?
380 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 2

Accepted Solution

by:
cero earned 400 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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
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…
Suggested Courses

730 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