Exforsys
+ Reply to Thread
Results 1 to 2 of 2

Security Exception Error

This is a discussion on Security Exception Error within the Microsoft .NET forums, part of the Programming Talk category; Hi, iam getting Security Exception error .How to Fix this Problem?Getting this msg. Server Error in '/' Application. Security Exception ...

  1. #1
    chowexfo is offline Junior Member Array
    Join Date
    Mar 2009
    Answers
    11

    Security Exception Error

    Hi,

    iam getting Security Exception error .How to Fix this Problem?Getting this msg.


    Server Error in '/' Application.

    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: Request failed.

    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: Request failed.]
    System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed) +150
    System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Object assemblyOrString, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed) +100
    System.Security.CodeAccessSecurityEngine.CheckSetHelper(PermissionSet grants, PermissionSet refused, PermissionSet demands, RuntimeMethodHandle rmh, Object assemblyOrString, SecurityAction action, Boolean throwException) +281
    System.Security.PermissionSetTriple.CheckSetDemand(PermissionSet demandSet, PermissionSet& alteredDemandset, RuntimeMethodHandle rmh) +67
    System.Security.PermissionListSet.CheckSetDemand(PermissionSet pset, RuntimeMethodHandle rmh) +145
    System.Security.PermissionListSet.DemandFlagsOrGrantSet(Int32 flags, PermissionSet grantSet) +43
    System.Threading.CompressedStack.DemandFlagsOrGrantSet(Int32 flags, PermissionSet grantSet) +41
    System.Security.CodeAccessSecurityEngine.ReflectionTargetDemandHelper(Int32 permission, PermissionSet targetGrant, CompressedStack securityContext) +139
    System.Security.CodeAccessSecurityEngine.ReflectionTargetDemandHelper(Int32 permission, PermissionSet targetGrant) +51




    thanks
    Chow


  2. #2
    megabyte is offline Junior Member Array
    Join Date
    Nov 2006
    Answers
    23
    i think its hosting problem.this problem comes from Godaddy Shared Hosting.its godaddy hosting then try to contact custmour Service.


    Thanks
    MEgaByte


Latest Article

Network Security Risk Assessment and Measurement

Read More...