tags:

views:

30

answers:

2

Hello all, I need to allow my asp.net application to read and write from and to a folder. Could you please help me to do so. Regards,

A: 

It's two pronged, neither of which involves your code, and both assume you have access to server settings. You need to have appropriate permissions set on the folder in the file system as well as within the IIS web application.

Anthony Pegram
how can i do that could you please show me
A: 

Assuming your application pool is using the default identity (it probably is), then right click on the folder, select Properties, go to the Security tab, click Edit..., click Add..., in the object names field enter NETWORK SERVICE (also assuming IIS 6 or 7 here), click OK, in the permissions pane check Write, and click Apply.

That should do it.

I did what you have said but still it does not work