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
Solved

COM+

Posted on 2003-10-27
5
347 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to debug this code 7 64
windbg taking it's time 32 93
Sub or Function is not defined 6 43
VB6 common control 6 sp6 object library not registerd 3 20
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…

839 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