F
fred
I need a asp appli enabled to start/stop a web service
I'm using ServiceController for that, but encounter a
access denied problem when I try to start or stop the
service.
This problem is perfectely normal and well documented.
But I can't solve it.
My asp application ask for Windows authentification, my
account has the rights to control a windows service and I
check the Principal correspond to my account.
I wrote a strongnamed class to make the control, the asp
web page juste instanciate it.
This class is decorated with:
AllowPartiallyTrustedCallersAttribute
[assembly: PermissionSet
(SecurityAction.RequestMinimum,Unrestricted=true)]
in th .net administrator NMC plugin I associate this
assembly with the fulltrustpermission set
I check the right checkbox to tell .net just use this
codegroup.
What can I do more?
Thank you for helping
I'm using ServiceController for that, but encounter a
access denied problem when I try to start or stop the
service.
This problem is perfectely normal and well documented.
But I can't solve it.
My asp application ask for Windows authentification, my
account has the rights to control a windows service and I
check the Principal correspond to my account.
I wrote a strongnamed class to make the control, the asp
web page juste instanciate it.
This class is decorated with:
AllowPartiallyTrustedCallersAttribute
[assembly: PermissionSet
(SecurityAction.RequestMinimum,Unrestricted=true)]
in th .net administrator NMC plugin I associate this
assembly with the fulltrustpermission set
I check the right checkbox to tell .net just use this
codegroup.
What can I do more?
Thank you for helping