IQDoc
ITIQPro Docs Maintenance Connection Everywhere (MCe) · EAM/CMMS manuals
401 - various places
After long login session or server move

This problem only affects MC 2021 and newer, it is not an issue in 8.9 (or earlier.)

Shows Error! $Response not successful: Received status code 401

On Prem and recently made a change to servers

If you are on-prem and recently did anything significant to the IIS and/or SQL Server and you start getting 401 errors like the one above, the problem may be that you need to 'reinstall' MC. This is most commonly due to a SQL Server move or change.

The various settings applications do not set it correctly for all the pieces, but the code in their (and our) MC install/upgrade package do make sure they are set for all the different pieces.

So what's the solution?

Always run the MC installer after a server, especially SQL server, change.

Why? (You can safely ignore this, this is for the curious). In 8.9 and older, MC was 'a' product. While you can't see it running easily, certainly not looking at the UI, starting with 2001 they split it into 'many' products that run in various pieces. But some of the settings are stored in a way that their new applications don't read the IIS MC Classic ASP settings.

As a result - you can run into problems trying to find things. Problems with the code saves the timeout information when you make a change - but only parts of the application honor those timeouts, some of the newer pieces ignore that and have fixed maximum timeouts that are shorter than the timeouts you are allowed to enter in the MC UI.

This may be fixed in some future version when they get rid of all of the Classic ASP, or it might not, we have no way of knowing until that day comes. As of 2026.12 the majority of the code is still written in Classic ASP and as they have been working on this rewrite since before 2016, it is reasonable to assume it will be several more years.

No recent server change, or on SaaS - try logging out and back in

Some of the pieces of MC no longer (after MC 8.9) honor the session timeout that you can set.

Shows setting Session Timeout

So what's the solution?

If you get 401 errors, log out and log back in. If that solves it - you ran into a timeout error not honoring the session timeout.

If logging out and logging back in does not solve it ... assume that you need to reinstall MC.

If that doesn't fix it - talk to our Professional Services. We'll try to help you find it.

FAQ - So what is the longest safe Session Timeout?

Probably 2 hours (120 minutes). But really: We don't know. It appears that it is different from piece to piece and it can change from version to version. The hard limits are in compiled code, and since they can change with new versions, isn't a reliable way to get an answer.

If you frequently run into problems - set your session timeout lower.

If you recently upgraded from MC 8.9 to any newer version

By extension. If the problem didn't happen before and you recently upgraded to MC 8.9. There is a really good chance it is the 'you were logged in too long' problem (directly above.)

You didn't see it before because you were on MC 8.9