[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 567
  • Last Modified:

Group Policy and Framework asp.net permissions.

We are installing a new web server on a windows 2008 Server R2.   Our web pages are failing because of write permissions on the ASP.NEt temporary file directory.   If I go in and reset the permissions on the directory so that all users have write access everything works okay for about an hour.  It then seems as if the GPO is being applied and the permissions keep getting reset.

The Domain Group Policy is on a Windows 2003 server which is still our Primary Domain Controller.

We do not seem to have this problem on our old web server which is also Windows 2003 server. How can I update the permissions or modify the group policy so that my permissions do not get reset?

0
paulfree
Asked:
paulfree
  • 3
  • 2
  • 2
1 Solution
 
David Johnson, CD, MVPOwnerCommented:
add the users i.e. default web site  and the app pools to the their own OU and then apply policy as per that group
0
 
e_aravindCommented:
Want to try changing the temp location?

Related Link:
========
Process and request identity in ASP.NET
http://support.microsoft.com/kb/317012

Excerpt from the above KB article:
Note If you change the machine.config to save the ASP.NET temporary files in a different location, the ASPNET account must have the List Folder Contents access type on the root level of the drive.

>> You want to move this server out of the GPO?

0
 
paulfreeAuthor Commented:
I am not sure about moving it out of the GPO.  I have turned this over to the company that developed the web app.  It was running fine on my Windows 2003 server and the same exact web site is running into this problem on the Windows 2008 R2 server.

I am not very familiar with the inards of GPO and Framework so I think I will just let the developer sort things out.  
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
e_aravindCommented:
> Check out if you can move the server out of the current-OU to a location to any other servers-OU
Normally the DCs OU will not have the GPOs inherited...so prevented from any other normal GPO settings which are meant for desktops (other computers)
0
 
David Johnson, CD, MVPOwnerCommented:
the above kb article is not relevant .. web sites now show up in the 'users' folder with iis 7 and above, windows 2003 uses iis 5.x
0
 
e_aravindCommented:
My Plan\thought was
- To try and move the temp-directory for the asp.net out of the default location to some other drives.
===============================
IMO, the default asp.net temp location is: (similar to the following)
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files

Reference:
http://blogs.msdn.com/b/dougste/archive/2008/08/11/clearing-out-temporary-asp-net-files.aspx

==================================
Note: On my Windows 2008 machine, i dont see the following XML configuration
(tempDirectory) as per the  http://msdn.microsoft.com/en-us/library/s10awwz0.aspx ....at my machine.config files.
0
 
paulfreeAuthor Commented:
I moved all of my servers to a separate OU and turned off inheritance. Now each server is using the local rather than the domain group policy which seems to have done the trick,
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

  • 3
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now