Serviced component : Method-level role based security requires an interface definition for class method.
Problem : We tried to register a serviced component from .Net framework version 2.0 directory using regsvcs.exe. It was installed successfully but with a warning :
WARNING: '<function name>' on class '<namespace.classname>' is not an interface member. Method-level role based security requires an interface
definition for class method.
Resolution :
Checked the Interface definition of the class and it was missing the declaration of <function name> although the function was defined in the class. For method level security to work, all the functions defined in the class should be present in the interface.
Comments
- Anonymous
June 18, 2008
PingBack from http://wordnew.acne-reveiw.info/?p=125