Hello everyone --
Well, one of my biggest gripes about asp.net is the permissions issue for the aspnet user on a domain controller, and especially in a clustered environment.
The problem (for those of you that haven't discovered it yet) is that the ASPNET user needs the "log on as a batch job" permission in the local security policy setting of any machine where asp.net pages are to run.
When the machine you're running it on is a domain controller, though, Win2K won't automatically set this for you, resulting in a "Server Application Unavailable" big red message when you try to run pages.
To alleviate this problem, you just go in and manually create an ASPNET user account, grant the permission to that user, and you're off and running. ( MS has confirmed this as a bug in the .NET framework concerning domain controllers, and has offered the "fix" outlined in the aforementioned kb article.
Here's the catch, though... after a re-boot, Win2K forgets you did this, and asp.net pages again return the "Big Red Message", as I've "affectionately" dubbed it.
This is especially bad in a clustered environment, since the same situation occurs on a regularly flavored fail-over, as well.
I've been fighting this problem for going on a year now, and it has been the bane of my existence (along with a few other things that we won't touch on here) concerning asp.net.
Well, we just figured out the work-around for this problem.
The fix is amazingly simple:
Create a new group. Call it ASP. Add the user to the group. Add the group under the various policies:
Domain Controller Security Policy
Domain Security Policy
Local Security Policy
Problem solved. Hope this saves someone alot of headaches.
paul
Well, one of my biggest gripes about asp.net is the permissions issue for the aspnet user on a domain controller, and especially in a clustered environment.
The problem (for those of you that haven't discovered it yet) is that the ASPNET user needs the "log on as a batch job" permission in the local security policy setting of any machine where asp.net pages are to run.
When the machine you're running it on is a domain controller, though, Win2K won't automatically set this for you, resulting in a "Server Application Unavailable" big red message when you try to run pages.
To alleviate this problem, you just go in and manually create an ASPNET user account, grant the permission to that user, and you're off and running. ( MS has confirmed this as a bug in the .NET framework concerning domain controllers, and has offered the "fix" outlined in the aforementioned kb article.
Here's the catch, though... after a re-boot, Win2K forgets you did this, and asp.net pages again return the "Big Red Message", as I've "affectionately" dubbed it.
This is especially bad in a clustered environment, since the same situation occurs on a regularly flavored fail-over, as well.
I've been fighting this problem for going on a year now, and it has been the bane of my existence (along with a few other things that we won't touch on here) concerning asp.net.
Well, we just figured out the work-around for this problem.
The fix is amazingly simple:
Create a new group. Call it ASP. Add the user to the group. Add the group under the various policies:
Domain Controller Security Policy
Domain Security Policy
Local Security Policy
Problem solved. Hope this saves someone alot of headaches.
paul