ScriptResource.axd is occasionally throwing Server Error (500) RSS

Discussion in 'ASP .Net Security' started by Amit, Jul 28, 2008.

  1. Amit

    Amit Guest

    In one of .Net 2.0 application, we start getting application server error 500
    for ScriptResource.axd after several hrs/days of use. This happens all of
    sudden without any warning. The app would work fine for several hrs/days and
    then at one moment it would start throwing this error. Saving web.config
    solves the problem. The problem would probably be solved by restarting the
    app pool also but since we don't have access to the web servers, we use the
    saving of web.config as quick fix. Search on the net doesn't get anything
    useful. The actual error message from the server is

    Server Error in '/' Application.
    Cannot perform CAS Asserts in Security Transparent assemblies
    Description: An unhandled exception occurred during the execution of the
    current web request. Please review the stack trace for more information about
    the error and where it originated in the code.

    Exception Details: System.InvalidOperationException: Cannot perform CAS
    Asserts in Security Transparent assemblies

    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:

    [InvalidOperationException: Cannot perform CAS Asserts in Security
    Transparent assemblies]
    Microsoft.Web.Handlers.ScriptResourceHandler.DecryptString(String s) +37

    Microsoft.Web.Handlers.ScriptResourceHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context) +325

    System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +303
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
    completedSynchronously) +64


    Version Information: Microsoft .NET Framework Version:2.0.50727.832; ASP.NET
    Version:2.0.50727.832
     
    Amit, Jul 28, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Max2006
    Replies:
    3
    Views:
    952
    Walter Wang [MSFT]
    Sep 21, 2007
  2. Victor

    Strange problem ScriptResource.axd

    Victor, Oct 1, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    1,599
    Steven Cheng[MSFT]
    Oct 2, 2007
  3. Victor

    Strange problem ScriptResource.axd

    Victor, Oct 1, 2007, in forum: ASP .Net
    Replies:
    1
    Views:
    635
    Steven Cheng[MSFT]
    Oct 2, 2007
  4. Daniel H
    Replies:
    0
    Views:
    1,395
    Daniel H
    Jan 5, 2009
  5. MAN

    Ajax ScriptResource.axd load failed.

    MAN, Mar 5, 2010, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    934
Loading...

Share This Page