Failure decoding embedded permission set object After .Net service pack install

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: David Hodges (dhodges_at_nospamoutermost.com)
Date: 09/12/04


Date: Sun, 12 Sep 2004 14:59:25 -0400

After installing the service packs from Framework 1.0 and 1.1 on my
W2k web server I get the above error on all applications.
I am at my wits end and finding nothing on Google that helps.

Here is the complete error:

Security Exception
Description: The application attempted to perform an operation not
allowed by the security policy. To grant this application the required
permission please contact your system administrator or change the
application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Failure decoding
embedded permission set object.

Source Error:

An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.

Stack Trace:

[SecurityException: Failure decoding embedded permission set object.]
   System.RuntimeType.CreateInstanceImpl(Boolean publicOnly) +0
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +66
   System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr,
Binder binder, Object[] args, CultureInfo culture, Object[]
activationAttributes) +277
   System.Activator.CreateInstance(Type type, BindingFlags
bindingAttr, Binder binder, Object[] args, CultureInfo culture,
Object[] activationAttributes) +109

System.Web.Configuration.HttpCapabilitiesEvaluator.Evaluate(HttpRequest
request) +719

System.Web.Configuration.HttpCapabilitiesBase.GetConfigCapabilities(String
configKey, HttpRequest request) +43
   System.Web.HttpRequest.get_Browser() +22
   System.Web.UI.WebControls.ValidationSummary.OnPreRender(EventArgs
e) +96
   System.Web.UI.Control.PreRenderRecursiveInternal() +62
   System.Web.UI.Control.PreRenderRecursiveInternal() +125
   System.Web.UI.Control.PreRenderRecursiveInternal() +125
   System.Web.UI.Control.PreRenderRecursiveInternal() +125
   System.Web.UI.Control.PreRenderRecursiveInternal() +125
   System.Web.UI.Page.ProcessRequestMain() +2095
   System.Web.UI.Page.ProcessRequest() +118
   System.Web.UI.Page.ProcessRequest(HttpContext context) +18
   System.Web.CallHandlerExecutionStep.Execute() +179
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step,
Boolean& completedSynchronously) +87

Any ideas?
Thanks,
David



Relevant Pages

  • Using RSA from ASP.NET
    ... ASP.NET application I get an exception at RSA.Create. ... CryptoAPI cryptographic service provider for this ... (BindingFlags invokeAttr, Binder binder, Object ... parameters, CultureInfo culture, Boolean isBinderDefault) ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: problems with encoding for different locales
    ... I only get the exception below on certain Spanish locales.. ... invokeAttr, Binder binder, Objectparameters, CultureInfo culture) ... at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, ...
    (microsoft.public.dotnet.xml)
  • Exception has been thrown by the target of invocation exception
    ... For some reason when application tries to load signed XML into the ... Exception has been thrown by the target of an invocation. ... Binder binder, Objectparameters, CultureInfo culture) at ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Exception has been thrown by the target of an invocation
    ... For some reason when application tries to load signed XML into the SignedXml ... Exception has been thrown by the target of an invocation. ... Binder binder, Objectparameters, CultureInfo culture) at ...
    (microsoft.public.dotnet.security)
  • Re: How to add a record to a table?
    ... >> GetBaseException on the exception to see the real exception. ... >>> BindingFlags invokeAttr, Binder binder, Objectparameters, CultureInfo ... >>> culture, Boolean isBinderDefault, Assembly caller, Boolean verifyAccess) ...
    (microsoft.public.dotnet.framework.adonet)