Question:

Why does the error message "Session UserId is not set", show up in the System logs, coupled by one of the following errors in the System Logs or Event Viewer:

A process serving application pool 'ADG.Map.AppPool' exceeded time limits during shut down. The process id was '12216'.

Or

A worker process '12216' serving application pool 'ADG.Map.AppPool' failed to stop a listener channel for protocol 'http' in the allotted time.  The data field contains the error number.

Or

A worker process with process id of '8840' serving application pool 'ADG.Map.AppPool' has requested a recycle because it reached its virtual memory limit.

Cause:

The common cause for this error message is the memory limit set in IIS.

 

Resolution:

  1. Open IIS Manager.
  2. Click on the arrow next to your servers name to expand the view.
  3. Click on Application, then select ADG.Map.AppPool.
  4. On ADG.Map.AppPool, right click and select Advanced Settings.
  5. Scroll to the bottom of the list and look for Virtual Memory Limit.
  6. Make sure this setting is 0 (the default for this setting is 0).
  7. Once changed, click OK and run IISRESET from a command prompt.  Make sure to open the command prompt with elevated permissions.