IIS Server Security - Changing user for App Pool in IIS6

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server Security > June 2007 > Changing user for App Pool in IIS6





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Changing user for App Pool in IIS6
nospam

2007-06-03, 7:20 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
Antony
David Wang

2007-06-07, 1:20 pm

On Jun 3, 12:27 am, "nospam" <nos...@nospam.com> 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
//

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com