Answered by:
cannot read configuration file due to insufficient permissions

Question
-
User749488471 posted
hi all
i have one trouble with IIS when i trying open connection. this error "cannot read configuration file due to insufficient permissions" "detail :
filename:\\?\C:\windows\system32\inetsrv\config\redirection.config . error:cannot read configuration file due to insufficient permissions".
if i open config folder, i dont have any access to open it. so tell me how to solve this error ?? but i have permission in my web folder.
thanks
merna
Sunday, August 18, 2013 11:11 PM
Answers
-
User2103319870 posted
Hi,
Try to Add "IIS_IUSRS" with Read permission to particular folder.
Please refer the following links
http://vivekthangaswamy.blogspot.com/2009/07/aspnet-website-cannot-read.html
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Sunday, August 18, 2013 11:15 PM -
User-1635195291 posted
Hi Merna,
Please try various trobleshooting methods from the following link:
or else:
You need to give permission to C:\Windows\System32\inetsrv\config folder to Network Service user.
Hope this helps.
Thanks,
Jatin
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Sunday, August 18, 2013 11:18 PM -
User1815411410 posted
hi there,
first of all, I am wondering as to why your application needs to read the C:\Windows\System32 file. May I please know whether you host this site on your own PC or on a shared server?
If it is on a shared server, I doubt that your current host will allow write permission to their system folder
If it is on your own PC and this PC is used by you only, you can certainly grant the NETWORK SERVICE with READ and WRITE permission to C:\Windows\System32. Please remember that granting a write permission on the system folder is not recommended and this is due to the security issue.
Please mark this response as an "answer" if it helps you. Thanks heaps!- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, August 19, 2013 12:38 AM -
User-306750178 posted
Hi,
Just move your web folder to another drive other than C.
Then there is no need to give permissions. Don't forget to change physical path in IIS.
This will definately work for you.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, August 19, 2013 1:03 AM
All replies
-
User2103319870 posted
Hi,
Try to Add "IIS_IUSRS" with Read permission to particular folder.
Please refer the following links
http://vivekthangaswamy.blogspot.com/2009/07/aspnet-website-cannot-read.html
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Sunday, August 18, 2013 11:15 PM -
User-1635195291 posted
Hi Merna,
Please try various trobleshooting methods from the following link:
or else:
You need to give permission to C:\Windows\System32\inetsrv\config folder to Network Service user.
Hope this helps.
Thanks,
Jatin
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Sunday, August 18, 2013 11:18 PM -
User1815411410 posted
hi there,
first of all, I am wondering as to why your application needs to read the C:\Windows\System32 file. May I please know whether you host this site on your own PC or on a shared server?
If it is on a shared server, I doubt that your current host will allow write permission to their system folder
If it is on your own PC and this PC is used by you only, you can certainly grant the NETWORK SERVICE with READ and WRITE permission to C:\Windows\System32. Please remember that granting a write permission on the system folder is not recommended and this is due to the security issue.
Please mark this response as an "answer" if it helps you. Thanks heaps!- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, August 19, 2013 12:38 AM -
User-306750178 posted
Hi,
Just move your web folder to another drive other than C.
Then there is no need to give permissions. Don't forget to change physical path in IIS.
This will definately work for you.
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Monday, August 19, 2013 1:03 AM -
User749488471 posted
thanks.
i had added user "IIS_IUSRS" with Read permission to particular folder and it's work very well
Tuesday, August 20, 2013 9:27 PM -
User749488471 posted
thanks
Tuesday, August 20, 2013 9:27 PM