Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: DCOM object creation


Message #1 by "Mark Roworth" <mark.roworth@b...> on Fri, 25 Oct 2002 22:31:56 +0100
Aha. I'm just reading Q216051 (Symptoms: Clients get an Access Denied error
although the access is granted to the client using DCOMCNFG). Seems a
service pack may be in order. Cheers,

Mark

-----Original Message-----
From: Marco Straforini [mailto:marco.straforini@c...]
Sent: 25 October 2002 23:01
To: professional vb
Subject: [pro_vb] Re: DCOM object creation


Mark,

do you declare you component with events? If yes, you need to open
the access security... Try to omit withevents and see what happens

Marco

>
Hi everyone. I've got a problem with DCOM. I'm trying to remotely create
objects on an NT server. I'm using the following line of code:

	Set moCon = CreateObject("TCLServerIS.Connection",
moPrefs.ServerURL)

And I get the error

	"Permission denied"


---
Visual C# - A Guide for VB6 Developers
This book will make it easy to transfer your skills
from Visual Basic 6 to C#, the language of choice
of the .NET Framework.
http://www.wrox.com/ACON11.asp?ISBN=1861007175&p2p0059



  Return to Index