The current identity (nt authority \ Network Service) does not have the write access permission for "C: \ WINDOWS \ Microsoft. NET \ framework \ v2.0.50727 \ temporary ASP. NET files.
I checked it online and needed to reinstall the Asp.net service,
C: \ windows \ microsoft. Net \ framework \ v2.0.50727> aspnet_regiis-I-enable
Start installing ASP. NET (2.0.50727 ).
......................
ASP. NET (2.0.50727) installation is complete.
InstallProgramSome errors have been detected during the operation. For more information, see the installation program log file c :\
Docume ~ 1 \ admini ~ 1 \ locals ~ 1 \ temp \ 1 \ aspnetsetup_1_3.log
I checked the log and found this error:
16:02:17 failure determining if we are running on a domain controller: isdomaincontroller failed with hresult 80070842: 'The Server service is not started. '
Start the server service in the "service" and run the command again!