471,605 Members | 1,344 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,605 software developers and data experts.

"Request Failed" Security Exception

Hi All,
I am developing a Outlook interop plugin which performs task
time allocation. However when i attempt to fire my custom event to
notify that an allocation has been generated the security exception
"Request Failed" is thrown. The events sole subscriber is the main
class of the interop plugin.

Anyone experienced this problem in the past? Or can you give me more
information about this type of security exception. I have read about
issues of "request failed" exceptions in the context of ASP web
developments but..... well. Any suggestions would be appreciated.

Feb 8 '06 #1
1 2712
Problem sorted. When the event fired calling the subscribers function.
The subscribers Security Permissions were set as:

[System.Security.Permissions.PermissionSetAttribute (System.Security.Permissions.SecurityAction.Demand ,
Name="FullTrust")]

The constraint was set in a partial class within the outlook interop
generated code.

I decreased the Security restrictions to:

[System.Security.Permissions.PermissionSetAttribute (System.Security.Permissions.SecurityAction.LinkDe mand,
Name="FullTrust")]

which has now sorted the problem.

Any comments on whether this corrective approach is good or bad are
welcome.

Feb 9 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by camaro77 majau via DotNetMonster.com | last post: by
1 post views Thread by New MSSQL DBA | last post: by
1 post views Thread by | last post: by
1 post views Thread by Jonas Auken | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by MichaelMortimer | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.