我在我的网站上使用impersonate
标签.在Asp中配置.NET4.0网站.
Below is my Web.Config code:个
<system.web>
<authentication mode="Windows">
<identity impersonate="true"
userName="Administrator"
password="LALLA$26526"/>
</authentication>
</system.web>
在Visual Studio中运行应用程序时,出现以下错误:
Parser Error Message: Unrecognized element 'identity'.
源错误:
Line 50: <system.web>
Line 51: <authentication mode="Windows">
Line 52: <identity impersonate="true"
Line 53: userName="Administrator"
Line 54: password="LALLA$26526"/>
我哪里做错了?