Groups | Blog | Home
all groups > iis security > june 2007 >

iis security : Changing user for App Pool in IIS6


nospam
6/3/2007 12:00:00 AM
I am trying to change the user credentials for an App Pool. I have created a
new user and added the account to the IIS_WPG group. For the site in question
I have set the ACLs so the new user has full control over the folders/files
used by the site. Then I changed the login credentials in the App Pool for
the site. However, when I try and access the site its throwing a server error
saying Unable to generate a temporary class (result=1).
error CS2001: Source file 'C:\WINDOWS\TEMP\5sgiat7t.0.cs' could not be found
error CS2008: No inputs specified
What other ACL's / Changes do I have to make when trying to do this?
TIA
David Wang
6/7/2007 12:11:42 PM
[quoted text, click to view]

Not an IIS/AppPool issue.

You changed the Application Pool Identity, which affects the user
identity ASP.Net uses to compile .CS files backing your website. If
you change user identities, you need to make sure it works for the
entire application stack you subsequently make IIS load and run. IIS
won't have any idea what Files, Registry Keys, Servers, etc that the
application you make it run require, so you have to know what they are
and manually configure it when you stray from defaults.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
AddThis Social Bookmark Button