Monday, July 14, 2014

Troubleshooting adding server to the farm- SharePoint 2007: Continued.

Issue: As discussed in the previous article Troubleshooting adding server to the farm, after disabling the loopback adapter to get access to the SharePoint site was having issue of browning the site.

Error message: CS0016: CS0016: Could not write to output file 'c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\ -- 'Access is denied.'


I was able to get to this detailed error message by following the old method of editing the web.config file of one web app.

  • Turn on the call stack (CallStack="true")
  • Disable custom errors in Visual Studio ()

Tried to compare the folder permissions with the other server, everything was intact.

Copied the files which were having issue form the working server to the problem server and it was not working.

Tried to compare the IIS settings with the other server and it was also correct.

Checked server hotfix and SharePoint hotfix along with the version of .NET framework and it was all good.

Searched on internet and it found some couple of reference which talks about the issue with TEMP folder location used in the error message.


Someone had talked about changing the variable location of the temporary folder.

The Temporary ASP.NET Files and C:\Windows\temp folders should have IIS_WPG and NETWORK SERVICE users with the full control permission.

MS Reference which talks about the same issue:

ASP.NET IIS Registration Tool

Applies to:
  • SharePoint Server 2007
  • IIS 7
  • IIS


snow flakes

blogger widgets Blogspot Tutorial


Related Posts Plugin for WordPress, Blogger...