During the configuration of BizTalk 2004, during the configuring of WMI, there is the following error:

Failed to deploy Biztalk system assembly “D:\Program Files\Microsoft BizTalk Server 2004 Microsoft.BizTalk.DefaultPipelines.dll”. Unspecified exception: Unable to generate a temporary class (result=1).
error CS2001: Source file ‘C:\WINDOWS\TEMP\zkf0npgt.0.cs’ could not be found.
error CS2008: No inputs specified.

Unable to generate a temporary class (result=1).

error CS2001: Source File ‘C:\WINDOWS\TEMP\zkf0npgt.0.cs’ could not be found

error CS2008: No inputs specified

The resolution is to give NETWORK SERVICE read/write access to the C:\WINDOWS\TEMP directory