-
MTS COM Security HELP!!!
Hi,
PROBLEM 1:
===========
I'm using NT4 and VB6 to write a ActiveX DLL, then add it to the MTS run locally on my computer. I've follow my usual steps to add, export then setup. With the frontend, one line is CreateObject(), but I got 'ActiveX can't create object' error, this happens because I've change the security setting inside MTS console. Firstly, I've enable authentication, and for the identity, I've choose 'this user' and add other user's ID (e.g. MTS_USER) in it. I suppose this ID will be used when the COM accessing other server.
Secondly, I've add a group to the Role->User.
Even when I add the group Everyone or the user MTS_USER under role, I still got the same error. Once when I set identity to 'Interactive User' or my user ID (I suppose they are the same), and I got no problem.......!! The wrost thing is that, even I don't check the 'enable authentication' checkbox, with identity equals to MTS_USER, I still can't createobject.
For the COM I developed so far, I always don't enable authentication nor choose 'this user'........can any one help me???
PROBLEM 2
==========
In my working environment, with the same COM setting as above, COM_A will use COM_B. For COM_A, the identity is set to say MTS_COMA_USER, and the Roles include MTS_COMA_GROUP in which MTS_COMA_USER, MTS_USER belongs to this group. For COM_B, the identity is set to MTS_COM_B_USER, and the Roles include MTS_COMB_GROUP **and also** MTS_COMA_GROUP. In my frontend, if I access method in COMA, it will have no problem. However, when I access method in COMA, which will create COMB object and execute COMB's method, I got error 70 - Permission denied', Since it is running on MTS, I have no way to know where the error comes from. For these settings, do u think it will work? and u guess where will probably caused th error?
For both case, I've searched the MSDN for error 70, and follow the instruction to use 'dcomcnfg.exe' to change the security setting, seems no help!!!
Please help!! Thx a lot!!!!!!!!!!!!!
Regards,
Ming