?
Solved

COM+ and Permissions

Posted on 2002-06-06
2
Medium Priority
?
191 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
[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 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 700 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…
Suggested Courses

752 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