Unrecognized attribute 'username'. in web.config file -- why??

  • Thread starter Thread starter elizabeth
  • Start date Start date
E

elizabeth

Can any one tell me why I am getting the error " Unrecognized
attribute 'username'." in this web.config......

<identity impersonate="true" username="test" password="test" />

I can get this to work if I put it in the machine.config file but we
don't want to modify at that level. I have tried all variations of
the preceeding element & various security settings in ISS

<authentication mode="None" />

but I still get this error. Thanks!
 
Try "userName". Notice the "case-sensitive" issue.


--
Hernan de Lahitte
Lagash Systems S.A.
http://weblogs.asp.net/hernandl
Shadowfax Dev Team

This posting is provided "AS IS" with no warranties, and confers no rights.
 
try changing it to userName="test"
it is case sensitive.

HTH,
Al
 
The attribute name is case sensitive.
Try 'userName'. instead of username.

Al
 

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

Back
Top