'Permission denied' when new'ing a vc6 atl com dll from vb6 when logged into an account with in user group



When
Set mobjRplMgr = New RPLMGRLib.RplMgr
executes in VB6 I get 'Run-time error '70': Permission Denied'

Part of the definition of the class that implements the COM object is

class ATL_NO_VTABLE CRplMgr :
public CComObjectRootEx<CComMultiThreadModel>,
public CComCoClass<CRplMgr, &CLSID_RplMgr>,
public IDispatchImpl<IRplMgr, &IID_IRplMgr, &LIBID_RPLMGRLib>
{
DECLARE_REGISTRY_RESOURCEID(IDR_RPLMGR)
DECLARE_PROTECT_FINAL_CONSTRUCT()
BEGIN_COM_MAP(CRplMgr)
COM_INTERFACE_ENTRY(IRplMgr)
COM_INTERFACE_ENTRY(IDispatch)
END_COM_MAP()
}

The 'Permission denied' error never occurs when user is logged in to an
account in the admin or poweruser group.
The error only occurs on *some* machines when user is logged in to an
account in the user group.
On other machines the error does *not* occur even though user is only a
member of the user group.
I cannot determine the significant difference between machines on which the
error occurs and those on which it doesn't.
On machines where the error *does* occur the error can be avoided by using a
debug version of the vc6 atl com dll.
The error occurs before DLLMain is called and before the constructor of the
class partly defined above can execute.
Maybe it occurs in the constructor of CComModule or some other startup code.

Help!




.



Relevant Pages

  • Re: Unable to Share Folder
    ... It may look daunting, but if you follow the steps at the links and suggestions below systematically and calmly, you will have no difficulty in setting up your sharing. ... Problems sharing files between computers on a network are generally caused by 1) a misconfigured firewall; or 2) inadvertently running two firewalls such as the built-in Windows Firewall and a third-party firewall; and/or 3) not having identical user accounts and passwords on all Workgroup machines; 4) trying to create shares where the operating system does not permit it. ... You do not need to be logged into the same account on all machines and the passwords assigned to each user account can be different; the accounts/passwords just need to exist and match on all machines. ...
    (microsoft.public.windowsxp.general)
  • Re: Folder Sharing Security
    ... I turned off simple file sharing. ... I created a user account on my machine and gave it a password. ... start by running the Network Setup Wizard on all machines (see ... With Windows Firewall, this means allowing File/Printer ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Folder Sharing Security
    ... I turned off simple file sharing. ... I created a user account on my machine and gave it a password. ... start by running the Network Setup Wizard on all machines (see ... With Windows Firewall, this means allowing File/Printer ...
    (microsoft.public.windowsxp.security_admin)
  • Re: seeing another computer on a LAN
    ... Both machines are XP Pro ... so I'm hoping to use Administrator on both. ... account and all will be well, but I'm concerned re whether the Administrator ... caused by 1) a misconfigured firewall; ...
    (microsoft.public.windowsxp.network_web)
  • Re: Why cant this XP machine send email to a particular Yahoo account?
    ... > I've got a simple 2-machine home network, with the two machines ... Are they sending from the same account or from different accounts? ... So what happens when you configure your Vista host to use the e-mail account that is normally used by your Windows XP host? ...
    (microsoft.public.windowsxp.general)