impersonation (form based logins on Windows Vista)
Posted on 2009-04-16
I get an error:
Could not create Windows user token from the credentials specified in the config file
It is associated with this line in the web.config:
<identity impersonate="true" userName="username" password="password"/>
the username and the password are correct.
I read on another site that you need to set the account to have os priviledges. I don't know where to set this in vista though. Logged in as administrator on vista.
I have a second question also: Will impersonation work when the application is running on a server (windows server 2003 I think) and being accessed from a different computer?
[I'll need to put the application on a server for demonstration. It will need to have no login for the demo, but I don't want to remove the login feature, as it bases the content on the logged in user, role etc. So I want to use impersonation.]