If staff are suddenly unable to access BC from home due to a 500 error, first have them restart their machine and reconnect to their router and VPN.  If the problem persists, then have them try opening BC with a different browser to check if cookies and cache need to be cleared.  


If the 500 error still appears, they may have viewed a corrupt/bad merge physician record that has entered their UserPhysicianViewHistory, and is causing their page to crash.  To fix this, run the following SQL queries:


SELECT TOP 1000 * FROM UserPhysicianViewHistory WHERE CreatedBy = [Staff_Username] ORDER BY ViewedDate DESC


Note the UserPhysicianViewHistoryId values from the day they were last successfully able to access BC, and include them in the following query:


DELETE FROM UserPhysicianViewHistory WHERE UserPhysicianViewHistoryId IN (IDs to be deleted)


Make sure to obtain the physician IDs that were most recently viewed before the 500 error and advise staff to avoid viewing those records until they can be fixed.