Solved

How to use impersonation in 2.0

Posted on 2008-06-11
3
782 Views
Last Modified: 2013-11-26
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?

0
Comment
Question by:stevep01
3 Comments
 
LVL 48

Accepted Solution

by:
jpaulino earned 125 total points
ID: 21766932
Check this link:

How to implement impersonation in an ASP.NET application
http://support.microsoft.com/kb/306158
0
 
LVL 1

Assisted Solution

by:k3m
k3m earned 125 total points
ID: 22670236
impersonate goes in the system.web bit not authentication

<system.web>
<identity impersonate="true" userName="myUser" password="myPassword"/>
</system.web>
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now