Solved

COM+

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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 …
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
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…

760 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

17 Experts available now in Live!

Get 1:1 Help Now