G
Guest
To give some background....I'm using COM+ security in my C# classes by applying the ComponentAccessControl, and SecureMethod attributes at class level. I also use the SecurityRole attributes for any roles that I want to have access to the whole class. I then also use the SecurityRole attribute at method level to grant access to specific methods for specific roles
My issue is that I have a separate assembly sitting in the GAC that contains a number of structs. These structs are populated from my within my application and are passed up to my middle tier and are used to update my database. Now when my UI, populates a struct, and attempts to call into my C# class (hosted in COM+), and I have set the [SecureMethod] attribute (at class level), my application fails with the following exception mesage; "An internal error occurred in a remote procedure call (RPC)". But as soon as I comment out the [SecureMethod] attribute, rebuild my class & add it back into COM+, I no longer get the above error
This error only appears to happen when I call into methods that use structs. I can call into other components, and the method fires successfully...
Any ideas
David
My issue is that I have a separate assembly sitting in the GAC that contains a number of structs. These structs are populated from my within my application and are passed up to my middle tier and are used to update my database. Now when my UI, populates a struct, and attempts to call into my C# class (hosted in COM+), and I have set the [SecureMethod] attribute (at class level), my application fails with the following exception mesage; "An internal error occurred in a remote procedure call (RPC)". But as soon as I comment out the [SecureMethod] attribute, rebuild my class & add it back into COM+, I no longer get the above error
This error only appears to happen when I call into methods that use structs. I can call into other components, and the method fires successfully...
Any ideas
David