System.UnauthorizedAccessException: Filename: redirection.config

If you see this error when activating a feature which makes use of the Microsoft.Web.Administration namespace, and the account you are using to activate this feature does not have permissions to C:\Windows\System32\inetsrv\config, chances are, you will see this error.

The fix – give that account access, or use a higher-privileged account.

If there are other solutions out there that people have come into, please let me know, I would love to hear them.

About Geoff Varosky
Geoff Varosky is a Senior Architect for Insight, based out of Watertown, MA. He has been architecting and developing web based applications his entire career, and has been working with SharePoint for the past 15 years. Geoff is an active member of the SharePoint community, Co-Founder and Co-Organizer of the Boston Area SharePoint Users Group, co-founder for the Boston Office 365 Users Group, co-organizer for SharePoint Saturday Boston and speaks regularly at SharePoint events and user groups.

2 Responses to System.UnauthorizedAccessException: Filename: redirection.config

  1. Pingback: SharePoint Daily » Blog Archive » SP2010 Records Management; Could You be Fired Due to Office 365?; Are Tablets a Fad?

  2. Pingback: SharePoint Daily

Leave a comment