Adams Web Session Lost
Problem
An Adams Web session is lost causing access errors. Symptoms of the problem are:
“Inadequate privileges” error after selecting files to acquire even though they have acquired previously
An error indicating that the user does not have the privilege to create a folder when acquiring files from the home page even though they have creating folders previously
During an acquisition an error displays about calling CancelUpload
When dropping files for acquiring, an error displays about calling CheckSpaceAvailable
Solution
The session can be lost for more than one reason. Here are some possibilities:
If a virus scanner scans the Adams Web directories, then that can cause the IIS process to restart thus loosing sessions. https://docs.microsoft.com/en-us/troubleshoot/aspnet/session-data-lost-inproc-mode
In IIS, the Adams Web pool is set to recycle automatically on a schedule. To see the schedule,
IIS > Application Pools > AdamsWebPool > Recycling…
The session expired due to inactivity but the browser did not redirect to the login page so the user is unaware the session expired. For example, perhaps the computer went to sleep so when the session expired, the redirect could not happen.
The user used Chrome’s forward or back buttons to navigate between pages and did not perform any action that involved the server such as click a button within 30 seconds.
For Adams Web Azure implementations, if both Windows and Forms authentication are enabled then the authentication cookie may not get extended when it should. To resolve, disable Windows authentication and recycle the Adams Web pool.
Editing some settings in the web.config can cause the pool to recycle which will end sessions.
Related articles
© 2023 Foray, LLC - All Rights Reserved