To fix this, you will need to
Open Control Panel | Administrative Tools | Local Security Policy, select Local Policies and then User Rights Assignment from the tree "Act as part of OS" should be the second entry on the right hand paneontrol Panel. Add the ASPNET account to this list.
The next change is a web.config entry that allows you to actually impersonate an administrator. To do this, open up the web.config in a text editor. Locate the <system.web> tag and add the following <identity> tag immedately afterwards.
<identity impersonate="true" userName="computername\AnAdministratorAccountHere" password="ThePasswordHere"/>
E.g.
<identity impersonate="true" userName="Amit Chowdhury" password="newdelhi"/>
|