What permissions / policies are needed to support loadUserProfile = true for new application pools?

Something happened on my development workstation (Windows 8.1) over the past few weeks, which required me to run my application pools with the Load User Profile option in False or not to work with the identifier set in ApplicationPoolIdentity. If I created a new application pool using ApplicationPoolIdentity as an identifier, and with loadUserProfile = true, the following happens when the application loads in the browser:

  • The number of errors in the Windows event log (both system and application types):
    • Warning Event 1509 - Windows cannot copy file \\?\C:\Users\Default\AppData\Local\Microsoft\VSCommon\12.0\SQM\sqmdata-7236-039-00000.sqm to location \\?\C:\Users\[Name of App Pool]\AppData\Local\Microsoft\VSCommon\12.0\SQM\sqmdata-7236-039-00000.sqm. This error may be caused by network problems or insufficient security rights.
    • Error Event 1511 - Windows cannot find the local profile and is logging you on with a temporary profile. Changes you make to this profile will be lost when you log off.
    • Another 1509 warnings
    • Error 1500 event - Windows cannot log you on because your profile cannot be loaded. Check that you are connected to the network, and that your network is functioning correctly. DETAIL - Only part of a ReadProcessMemory or WriteProcessMemory request was completed.
    • 5 x Event 5022 Warning - The Windows Process Activation Service failed to create a worker process for the application pool '[App Pool Name]'. The data field contains the error number.
    • , 5002 - Application pool '[App Pool Name]' is being automatically disabled due to a series of failures in the process(es) serving that application pool.
  • , 5002
  • " HTTP 503. ." . ( , ).

. , , . , , Windows 2012, . , ApplicationPoolIdentity loadUserProfile = true, ( , C:\Users), . , , . , , C:\Users. ApplicationPoolIdentity loadUserProfile = true. , .

- , ?

. . , , , :

(DefaultAppPool Classic.NET AppPool) . , .

, , IIS , LoadUserProfile "true".

.

+4
1

SQM, , Windows Visual Studio. , . SQM . , . , .

SQM , , . SQM, , . " LocalSystem". . . , .

, , .

, SQM, , " ". , somesuch. , . .

100% , , - . 50 , . , , , , , IIS 6.

P.S. , .

+4

Source: https://habr.com/ru/post/1536369/


All Articles