IBM Support

Error 'Unhandled Exception: System.Security.SecurityException...' when launching Controller from website

Troubleshooting


Problem

User launches Controller from website (for example http://servername/cognos8/controllerbin/ccr.exe). User receives error message However, if the administrator tries launching Controller directly from Windows Explorer (for example by launching ...c8\webcontent\ccr\CCR.EXE on the application server itself) then Controller launches OK.

Symptom

Screen error message (inside a web page):

    http://servername/cognos8/controllerbin/ccr.exe - Microsoft Internet Explorer

    Unhandled Exception: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly asm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed) at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Object assemblyOrString, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, SecurityAction action, Object demand, IPermission permThatFailed) at System.Security.CodeAccessSecurityEngine.CheckSetHelper(PermissionSet grants, PermissionSet refused, PermissionSet demands, RuntimeMethodHandle rmh, Object assemblyOrString, SecurityAction action, Boolean throwException) at System.Security.CodeAccessSecurityEngine.CheckSetHelper(CompressedStack cs, PermissionSet grants, PermissionSet refused, PermissionSet demands, RuntimeMethodHandle rmh, Assembly asm, SecurityAction action) at Cognos.Controller.MainModule.IsControllerRunning() at Cognos.Controller.MainModule.LoadMain() at Cognos.Controller.MainModule.main() The action that failed was: LinkDemand The type of the first permission that failed was: System.Security.Permissions.SecurityPermission The first permission that failed was: The demand was for: The granted set of the failing assembly was: The assembly or AppDomain that failed was: CCR, Version=8.4.116.0, Culture=neutral, PublicKeyToken=ed57d9b2993bd917 The Zone of the assembly that failed was: Internet The Url of the assembly that failed was: file://?/D:/Program Files/cognos/c8/webcontent/ccr/ccr.exe
[{"Product":{"code":"SS9S6B","label":"IBM Cognos Controller"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Controller","Platform":[{"code":"PF033","label":"Windows"}],"Version":"8.4","Edition":"Not Applicable","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSMRTZ","label":"IBM Cognos Controller on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

To view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use the link to actual document below to access the full document. You will be asked to log on if you are not already logged in. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

More support for:
IBM Cognos Controller

Software version:
8.4

Operating system(s):
Windows

Document number:
621165

Modified date:
09 May 2025

UID

swg21375909

Manage My Notification Subscriptions