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+ Error 70: Permission denied

Posted on 2006-10-30
5
1,584 Views
Last Modified: 2007-12-19
Hi All,

 I wrote a COM+ server application and a client app, both in VB. When the component is installed on my computer (in component services) and I try to run my client app I get "Error 70: permission denied".

What can I do to resolve this problem?

Thanks in advance
0
Comment
Question by:negreteo
5 Comments
 
LVL 4

Accepted Solution

by:
JRCSystems earned 250 total points
ID: 17838878
Not sure what OS you are using, but you probably need some version of DCOMCNFG ( win 2k / xp ).
In XP, you can still run the DCOMCNFG command, but its buried with Component Services.

Error 70 permission denied is without a doubt, the single largest paint DCOM/COM+ runs into.

You will probably also want to clear all event logs ( computer management ), and further inside Local Security Settings, Local Policies/Audit Policy, turn on logging for all failures so you can see what is failing.

That should help point you in the right direction.

Another Key: If the program works properly in development (i.e. start up VB twice, load the server and start it, then load the client, make sure its references point to the 1st runninng copy of VB, and run it.) then you have a issue with either TLBs, mismatched GUIDs in DLLs, or user does not have the security to start the task.

0
 
LVL 1

Assisted Solution

by:Clivous
Clivous earned 250 total points
ID: 17848540
Hi,

1. Run the tool DCOMCNFG and search your com+ component. Make sure the autorisation is fine ( set for the test the autorisation on everyone )
2. When u call the com+ component from some other component, make sure u use late binding.
    you must not lay some reference to the com+ component, but use the createobject routine. ( com+ components don't work in early binding. )

Good luck,
Hans
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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
Adding to a VBA? 6 78
vb6 connector to mongodb 2 120
Using an encrypted  value to decrypt and display contents in vb6 9 55
VBA: Insert New column with specific format type 12 38
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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…
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…

861 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