Changing user for App Pool in IIS6
am 03.06.2007 09:27:55 von DFS
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
Antony
Re: Changing user for App Pool in IIS6
am 07.06.2007 14:11:42 von David Wang
On Jun 3, 12:27 am, "nospam" wrote:
> 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
> Antony
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
//