Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 180
  • Last Modified:

Can't able to write images to a project folder at runtine in ASP.NET 2.0 !!

Hi,

I have the following web project structure in ASP.NET 2.0.

Project Name
                   |
                   ----------------App_Data
                   ----------------App_Code
                   ----------------TempImages
                   ----------------Default.aspx
                   ----------------Default.aspx.cs
                   ----------------Web.Config

The "Default.aspx" page is trying to write images to / create images in "TempImages" folder at runtime - dynamically. But it can't able to do it. I have given security permissions (Full permissions - including USERS and ADMIN of this machine) to this folder. But invain. Can you please let me know what are the things i need to take care inorder to make it wok properly ? This is very confusing part for me and this is very urgent as currently i am posting my web site to production machine. If you can provide me the steps to do - that is much appreciated.

Appreciate your time and patience !!
0
kishore_peddi
Asked:
kishore_peddi
1 Solution
 
skiltzCommented:
Have you given right to ASPNET and NETWORK SERVICE?
0
 
kishore_peddiAuthor Commented:
Yes...please. I have given permissions to them also.
0

Featured Post

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now