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 4 1385
Hello David,
Thanks for your post. I am look for appropriate resources to help you on
this issue, and we will update you with our information as soon as possible.
Have a nice day!
Regards,
HuangTM
Microsoft Online Partner Support
MCSE/MCSD
Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
Hello.
I will be taking a look at this issue.
I haven't found any other instances of this particular error so I'm going
to try and set up a reproducable sample here.
Also, do you have error handling or tracing in this component? A stack
trace would be useful if we can get one.
Thank you,
Scott Mason
Microsoft
This posting is provided "AS IS", with no warranties, and confers no rights.
Scott
Apologies for not getting back to this thread
I envisage getting a trace within the next day or so, but as I'm embroiled in other things at present, I'll endeavour to look at posting something soon
Apologies once agai
Davi
P.S. If you prefer, we can consider this thread closed, and I'll start a new one, once I have my trace details, and I still see this SecureMethod problem.
Hi, David
Scott is not available today. Please start a fresh post when you are ready
to resume work on this issue. When you post it would help us if you
mention that this is a continuation of 21410546. If not, we will get there
fine eventually
Thank you for choosing the MSDN Managed Newsgroups,
John Eikanger
Microsoft Developer Support
This posting is provided “AS IS” with no warranties, and confers no rights.
--------------------
| From: "=?Utf-8?B?RGF2aWQ=?=" <Ce****************@nospam.com>
| Subject: RE: COM+ SecureMethod attribute issue
| Date: Tue, 2 Mar 2004 04:36:05 -0800
| X-Tomcat-NG: microsoft.public.dotnet.general
|
| Scott,
Apologies for not getting back to this thread.
I envisage getting a trace within the next day or so, but as I'm embroiled
in other things at present, I'll endeavour to look at posting something
soon.
Apologies once again
David
P.S. If you prefer, we can consider this thread closed, and I'll start a
new one, once I have my trace details, and I still see this SecureMethod
problem.
| This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: David |
last post by:
I am trying to use COM+ security in a C# class by applying
the ComponentAccessControl attribute to the class, along
with SecurityRole attributes for any roles that I want to
have access to the...
|
by: robertbrown1971 |
last post by:
My company is working on a bond derivative portfolio analysis tool and
we're facing a problem that I did not see adequately addressed any
where in literature. I really did RTFM. I'm very...
|
by: DU |
last post by:
I am looking for opinions on the issue of length of title attribute.
First of all, the current HTML 4.01 spec is rather vague on this
issue... at least, it isn't explicit nor normative.
The HTML...
|
by: David |
last post by:
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...
|
by: Brian |
last post by:
Hope someone can help .....
Have a function which creates a HTML HREF
function fLink(aText)
{ return '<a href=javascript:DoLinkSearch("'+aText+'")>'+aText+'</a>'; }
If the parameter value is...
| |
by: Bryce Calhoun |
last post by:
Hello,
First of all, this is a .NET 1.1 component I'm creating.
SUMMARY
-----------------------
This component that I'm creating is, for all intents and purposes, a
document parser (I'm...
|
by: Nicolas |
last post by:
Hi everybody,
I'm stuck for a couple of days now to the following issue, concerning
fixed/default attributes and multiple namespaces. Any help would be
greatly appreciated...
I'm using Xerces...
|
by: kenundrum |
last post by:
Hey all,
I am having an issue with XML/XSLT and JavaScript in my ASP.NET page that I am creating. I first want to apologize if i placed this in the wrong category. Since there were three different...
|
by: Queez |
last post by:
I have an issue with an ASP repeater which is seriously frustrating me.
In simple terms, I have an ASP repeater which is meant to display a list of items for a wedding list, including the name of...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |