Impersonate tag in Web.Config
The identity
section goes under the system.web
section, not under authentication
:
<system.web> <authentication mode="Windows"/> <identity impersonate="true" userName="foo" password="bar"/></system.web>
You had the identity
node as a child of authentication
node. That was the issue. As in the example above, authentication
and identity
nodes must be children of the system.web
node