Solved

COM+ and Permissions

Posted on 2002-06-06
2
186 Views
Last Modified: 2010-05-02
I have an Object that I am using on an application server named asdmprg.  I want to be able to instantiate it from another application server or even a client PC.  

I create a COM+ package and register the object on either the client or other application server.  

When ever I try to Intantiate the Object with
CreateObject("prjName.clsObj","asdmprg")
I get an error 70 for permissions.

I can not seem to find any useful info on the Micosoft Knowledge base about  this...  Does any one have any idea?????
0
Comment
Question by:clangl
2 Comments
 
LVL 5

Expert Comment

by:rpai
ID: 7060170
Did you check if DCOM is enabled ? And that you have valid priveleges to access that objecT?
0
 
LVL 2

Accepted Solution

by:
woka earned 175 total points
ID: 7060376
On the machine where the COM+ package resides, go to Start menu --> Run --> dcomcnfg to set the permissions.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

776 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