Strange Prob With Web.config <<identity> section.

S

Sonal

I am trying to impersonate user with windows account.

If I write following lines in web.config it show error
<identity impersonate="true" userName="contoso\Jane" password="pass"/>

ERROR:
Error while trying to run project: Unable to start debugging on the web
server. Server side-error occurred on sending debug HTTP request.

Make sure the server is operating correctly. Verify there are no syntax
errors in web.config by doing a Debug.Start Without Debugging. You may also
want to refer to the ASP.NET and ATL Server debugging topic in the online
documentation.


On the other hand if i just write like this then error goes aways and
application starts running...

<identity impersonate="true" userName="" password=""/>


I am wondering what is wrong. can any one guide.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top