SharePoint Review Center

Everything about SharePoint – Architecture, Design, Development, Configuration, Administration, Issues, and Fixes

Access Denied When Loading Web.Config File from Within a Web Part

Posted by Anthony Odole on July 24, 2009

This Error occur when you load a connectionstring, or appsettings from within a Web Part. This error does not occur if you load the same config from within a MOSS application page, or from an aspx page. This issue is resolved by setting identify in web.config file from <identity impersonate=”true” /> to <identity impersonate=”false” />

To get a firm grasp of ASP.NET identify matrix, visit Microsoft Web Site at


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: