I am trying to browse an image and i will search for the images with the same name in the folder called IMAGES . If it exists i just replace it
when i run my project using Visual Studio its working fine and image is perfectly getting replaced
when i do the same thing after publishing it , its saying
Access to the path 'C:\Inetpub\wwwroot\ms\IMAGES\' is denied.
I tried these things still not working
1) In the folder properties i allowed web sharing with read and write options
2) In the IIS for the IMAGES folder i gave read, write all permissions
3) In the web.config file identity impersonate = true
and authentication mode = "Windows'
Please solution for this