Ask a Question related to ASP.NET Security, Design and Development.
-
Roman #1
System.Security.Permissions.SecurityPermission
I am getting the following exception while opening a
workbook; theWorkbook = excelObj.Workbooks.Open(fileName,
0, true, 5, string.Empty, string.Empty, true,
Excel.XlPlatform.xlWindows, "", false, false, 0, true,
false, false);
Exception Type: System.Security.SecurityException
PermissionType:
System.Security.Permissions.SecurityPermission
PermissionState: <IPermission
class="System.Security.Permissions.SecurityPermiss ion,
mscorlib, Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089"
version="1"
Flags="UnmanagedCode"/>
GrantedSet: NULL
RefusedSet: NULL
Message: Request for the permission of type
System.Security.Permissions.SecurityPermission, mscorlib,
Version=1.0.5000.0, Culture=neutral,
PublicKeyToken=b77a5c561934e089 failed.
TargetSite: Void CheckHelper
(System.Security.PermissionSet,
System.Security.PermissionSet,
System.Security.CodeAccessPermission,
System.Security.PermissionToken)
HelpLink: NULL
Source: mscorlib
Roman Guest
-
system.diagnostics Permissions
I have a C# service that utilizes system.diagnostics for looking at currently running processes and other tasks, I can not seem to run this service... -
System.Security.SecurityException: Security error
Dear All, The problem or error which I am getting while running my web application is as given below: Security Exception Description: The... -
System.Security.Permissions.FileIOPermission
Hello, This seems to be a common question, but all the posts I see do not have a clear answer. Here's an excerpt of my WebPart code:... -
Role based Security and Permissions
Hi, I have been working on a framework for publishing several sites from a single code based allowing for easy modification by end users. I have... -
Security permissions...
I an attempting to serialize a custom exception class that is derived from System.Exception during runtime. I am getting a the following security...



Reply With Quote

