- Open up Computer Management and verify that the user ASPNET exists.
- Navigate to the Microsoft.Net directory (typically C:WindowsMicrosoft.Net) and open up it’s security properties.
- Add the ASPNET user under the security tab and give it read/write/modify rights.
- Click on advanced and check the box to replace permissions on child folders.
Tuesday, July 13, 2010
RealTime Issue:SHAREPOINT .NET ERROR WHEN LOADING CENTRAL ADMINISTRATION. Could not write to output file ‘The directory name is invalid.’
RESOLUTION:I recently came across the issue where after a fresh and successful install of SharePoint Server 2007 (MOSS2007) that the Central Administration Site would give an application error upon loading for the first time. After changing
in all the web.config files we are able to see the “Could not write to output file ‘The directory name is invalid.’” error pointing to a folder below the WindowsMicrosoft.Net directory. This error indicates that something is amiss with the ASPNET user account and it doesn’t have permissions to write to the folders below the Microsoft.Net folder. To solve this follow these simple steps.