Link to home
Create AccountLog in
Avatar of stevep01
stevep01

asked on

How to use impersonation in 2.0

Based on MSDN, I attempted to use the following recommended code snippet in my web.config file.

<authentication mode=...
<identity impersonate="true" username="TestUser" password="P@ssw0rd" />
...
</authentication>
When I launch the application, I receive the following error:
Unrecognized element 'identity"
Does anyone know how to make this work?

ASKER CERTIFIED SOLUTION
Avatar of Jorge Paulino
Jorge Paulino
Flag of Portugal image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
SOLUTION
Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.