Solved

COM+

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

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…
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 …
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

710 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