不是这样的。最后是这样解决的: Locate machine.config (try C:\WINNT\Microsoft.NET\Framework\v1.0.3705\CONFIG). Open machine.config in Notepad or other text editor. Search for this string: "<processmodel" In the processModel element, change userName="machine" to userName="SYSTEM" //这个有些出入,我实际的操作是allowDefinition="MachineToApplication" Save the file and exit. In the Run box (Start > Run) execute this command: iisreset.exe .
Locate machine.config (try C:\WINNT\Microsoft.NET\Framework\v1.0.3705\CONFIG).
Open machine.config in Notepad or other text editor.
Search for this string: "<processmodel"
In the processModel element, change userName="machine" to userName="SYSTEM" //这个有些出入,我实际的操作是allowDefinition="MachineToApplication"
Save the file and exit.
In the Run box (Start > Run) execute this command: iisreset.exe .