Hi
I've got a problem with a distributed application.
The application consists of one Exe (loaded on client computers) and two
Dll's. The first Dll is loaded on both the server and the client. It
contains classes used by both the server and clients. (similar to ado) The
other Dll is the server dll and is registered in Component Services.
In one part of the program, on the client side, I create a new instance of a
class from the Shared DLL, populate the DLL with data and submit it to the
server.
If I run the application normally, it works. But if I register the server
DLL in Component Services AND run the program from a client computer, I get
an Error 70: Permission Denied.
The class does not access the registry and does not have anything to do with
any file operations.
About the shared class that is submitted... here is some basic details:
The class is called DataFields and stores multiple DataField objects in an
array. Methods include Add, Remove, Clear.
The DataField class contains various properties including FieldName as
String, Value as Variant, DataType as DataTypeEnum, Read-Only FormattedValue
As String.
Regards
William
Gary Chang[MSFT] - 13 Nov 2004 08:52 GMT
Hi William,
Currently I am looking for somebody who could help you on it. We will reply
here with more information as soon as possible.
If you have any more concerns on it, please feel free to post here.
Thanks for your understanding!
Best regards,
Gary Chang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
"Peter Huang" - 15 Nov 2004 06:39 GMT
Hi
Usually this is caused by the security check of COM+, you may try to take a
look at the KB below.
How To Troubleshoot DCOM for Visual Basic Client/Server Applications
(269330)
http://support.microsoft.com/default.aspx?scid=KB;EN-US;269330
PRB: "Runtime Error 70 : Permission Denied" Occurs When Attempting to
Invoke the Methods of a Secure MTS Object from a VB Application
http://support.microsoft.com/?id=252711
Also you may try to take a look at eventlog to see if there is any
permission deny security log related when we call the dll hosted in the
com+.
Also have you tried to add a role in the com+ configuration.
You may run the dcomcnfg in the run dialog,navigate to the Component
Service/Computer/Mycomputer, select and expand the right application.
In the following nodes, select the role and add the user into the role
which will run the application.
Best regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
HP - 28 Dec 2004 22:15 GMT
Hello,
I need help with Widows 2003 and DCOM. I had registered a VB6 DLL in COM+ ,
exported its package from 2003 and installed it on another Server which is
Windows 2000. And I am getting error
Run-time error 429: ActiveX component can't create object. I am sure its a
permission issue related to error 70: Permission Denied. but I am not sure
what am I missing to configuring the Package. I am using Local Admin user on
Windows 2003 and can't use Domain admin at this point due to other reasons.
Any help and link explaning setup and installation would be appreciated.
thanks in advance.
Regerds,
MP
> Hi
>
[quoted text clipped - 25 lines]
> Get Secure! - www.microsoft.com/security
> This posting is provided "AS IS" with no warranties, and confers no rights.