Access to file denied
-
Hi, I'm currently working between two technologies, classic asp and ASP.NET. A file is uploaded to a folder using the classic asp, the asp.net then tries to access this file later on, but I am receiving an "Access denied message" to the file. I know that this is because the file does not have the ASPNET user account added to the security permssions. I have added the ASPNET user to the folder the file is stored in, and set that any new files inherit the permissions of the parent. Now this works for all the user accounts but the ASPNET user, it just refuses to add the security permission. Is there an easy way to solve this, or perhaps add a user permission to the file progrmamtically? Any help much appreciated Paul Custance
-
Hi, I'm currently working between two technologies, classic asp and ASP.NET. A file is uploaded to a folder using the classic asp, the asp.net then tries to access this file later on, but I am receiving an "Access denied message" to the file. I know that this is because the file does not have the ASPNET user account added to the security permssions. I have added the ASPNET user to the folder the file is stored in, and set that any new files inherit the permissions of the parent. Now this works for all the user accounts but the ASPNET user, it just refuses to add the security permission. Is there an easy way to solve this, or perhaps add a user permission to the file progrmamtically? Any help much appreciated Paul Custance
First try to access that file by giving permision to everyone in permission propertirs of folder. then if you are able to access then try with specific permissions
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "