Last post Sep 23, 2010 01:11 AM by Rjk_P
Sep 22, 2010 10:38 AM|rajeevinime|LINK
hw can i give write permission to folder for changing the image at runtime.i have tried so many times but still confused and free hand. can some one pls give me the solution in details.
Sep 22, 2010 04:29 PM|ptownbro|LINK
Which operating system are you using? Is your site hosted by a hosting provider (i.e. something like godaddy)?
Assuming you're using Windows, you have the rights to change permissions, and you site is hosted at localhost (or you have access to actually view the directory/folder):
Not sure what giving write permission to folder directly has to do with changing an image... However, in order to change your write permissions for a folder (regardless of the reason), you can change it by going to Windows Explore and navigating to the folder/directory
you want to change. Once there, do the following:
1. Right click on the folder and select Properties
2. Click the "Security" tab.
3. For both the "ASP.NET" and "Internet Guest Account" user accounts check the "Write" permissions.
If you don't see either user listed, you'll have to add by clicking on the "Add.." button.
Sep 22, 2010 11:36 PM|rajeevinime|LINK
i could not find the asp.net and internet user guest account in the security tab folder.pls tell me the way to find that one
Sep 23, 2010 12:32 AM|ptownbro|LINK
Where exactly is your site hosted? On a local computer/server you have access to? A virtual host? Or? Again, assuming its your own personal computer and you can use http://localhost/website to view your site:
Try this for ASP.NET. You have to search for the ASP.NET user on your local machine (you need to know your machine name):
Internet Account user is similar. Try this for Internet user:
For more information just google setting NFTS permissions or setting permissions for ASP.NET user or Internet Guest User, etc... Lots of stuff out there.
Sep 23, 2010 01:11 AM|Rjk_P|LINK
put this teg into your web configuration file inside the system.web teg
it will allow you to save the images to the folder at run time