Ask a Question related to ASP.NET Security, Design and Development.
-
Mekkala #1
CTL_E_PERMISSIONDENIED on folder create
I have an ASP.NET application in which I store certain configuration
files on the server from my code. I have to put these files under the
web root, since I later access them in my application using a URL. The
problem is that whenever I try to write the file (or the folder
containing it) to disk, I get the following 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: Exception from
HRESULT: 0x800A0046 (CTL_E_PERMISSIONDENIED).
This has never happened before. It started happening immediately after
I changed the virtual directory to inherit security settings from the
parent folder -- and yet the virtual directory had the same security
settings as the parent folder *anyway*. Anyone know what could cause
this? And yes, before anyone asks, the ASPNET account has read, write,
execute, and list folder contents permissions on the root drive, the web
root, and the folder I'm trying to write to and read from.
Thanks in advance.
--
Mekkala, Atheist #2148
"When did I realize I was God? Well, I was praying and I suddenly
realized I was talking to myself!"
--Peter O'Toole.
Mekkala Guest
-
how to create a folder
how to create a folder by using mxml in the form of code -
Create Role/Add Folder on Mac
When I create a new role (Editor) and try to add a new folder, the Admin role window appears over the newly opened folder window and I cannot select... -
safileup create folder - I'm new!
Hello, I am new to safileup and can't figure out how to use it to create a folder. In the support documents the folder object has many methods but... -
why does it create a new sub folder?
hi all why when I publish files to a remote server does it create a new subfolder and place the file into it, rather than the subfolder on the... -
Unable to create compressed folder
I am following XP's instructions (#306531) How to Create a Compressed Folder. but... when I Double-click My Computer, and then double-click...



Reply With Quote

