tags:

views:

17

answers:

0

Hi,

We are creating a site provisioning application in IIS7.0 where as we are creating the sites programatically . We have created an app pool and assigned a user who has full previleges on the site directory to the app pool.But when we run the website the site is not using ASPNET impersonation by default. it is throwing privileges exception as it runs under IUSR_Machine account. We have manually enabling ASPNETImpersonation in Authentication settings of the web site to Overcome this problem.But we want to automate this by programming.Kindly let me know if any body had any suggessions to achieve this in IIS 7.0 integrated windows is not a default authentication and it needs to be installed separately.