Server Essentials 2016 Anywhere Access Devices Gadget Error

Joe Peifer 1 Reputation point
2020-09-11T08:21:16.02+00:00

After running fine for over a year users are now seeing a message when they log in to Anywhere Access. The gadget that normally displays icons for the workstations the users can access remotely now shows error "There was a problem loading a gadget. Contact the person who manages your server."

24046-remote-web-console.png

I've searched around for a solution, but have come up empty.

Anyone have any experience with this? Thanks.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,084 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,225 questions
{count} votes

4 answers

Sort by: Most helpful
  1. Karlie Weng 13,951 Reputation points Microsoft Vendor
    2020-09-14T08:48:02.023+00:00

    Hi,

    Does this issue happen to specific user/group or all the users?

    You may try Repair wizard in Anywhere Access to find the cause.

    24428-image.png

    And please go to RAPs, check the available network resources.

    24414-image.png

    I also find a similar post here, check if it helps.

    ----------

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best Regards
    Karlie

    0 comments No comments

  2. Joe Peifer 1 Reputation point
    2020-09-17T08:44:04.397+00:00

    Thanks for the reply @Karlie Weng

    This problem affects all users and groups.

    After digging deeper into this issue I found the following in C:\ProgramData\Microsoft\Windows Server\Logs\WebApps\RemoteAccess.log

    An exception of type 'Type: Microsoft.WindowsServerSolutions.Common.RemoteDesktopConfig.RemoteDesktopConfigException, RdConfig, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' has occurred.  
    Timestamp: 09/17/2020 04:09:12  
    Message: Could not get RemoteApp RD Gateway  
    Stack:    at Microsoft.WindowsServerSolutions.Common.RemoteDesktopConfig.RemoteDesktopConfigLib.GetRemoteApp(String alias)  
    	   at Microsoft.WindowsServerSolutions.Web.RDP.SBSRdProvider.ApplyProductSettings(ComputerInfo info, String logonUserName)  
    	   at Microsoft.WindowsServerSolutions.Web.RDP.HsbsRdProvider.GetComputers()  
    	   at Microsoft.WindowsServerSolutions.Web.RDP.RemoteDesktopProcessor.GetLastConnections()  
    	   at Microsoft.WindowsServerSolutions.Web.RDP.RdpGadget.get_LatestComputers()  
    	   at Microsoft.WindowsServerSolutions.Web.RDP.RdpGadget.Page_PreRender(Object sender, EventArgs e)  
    	   at System.Web.UI.Control.OnPreRender(EventArgs e)  
    	   at System.Web.UI.Control.PreRenderRecursiveInternal()  
    	   at System.Web.UI.Control.PreRenderRecursiveInternal()  
    	   at System.Web.UI.Control.PreRenderRecursiveInternal()  
    	   at System.Web.UI.Control.PreRenderRecursiveInternal()  
    	   at System.Web.UI.Control.PreRenderRecursiveInternal()  
    	   at System.Web.UI.Control.PreRenderRecursiveInternal()  
    	   at System.Web.UI.Control.PreRenderRecursiveInternal()  
    	   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  
    ---------------------------------------  
    An exception of type 'Type: System.Management.ManagementException, System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' has occurred.  
    Timestamp: 09/17/2020 04:09:12  
    Message: Generic failure   
    Stack:    at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)  
    	   at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()  
    	   at System.Management.ManagementObjectCollection.get_Count()  
    	   at Microsoft.WindowsServerSolutions.Common.RemoteDesktopConfig.RemoteDesktopConfigLib.GetSingleRdServiceWmiInstance(String wmiQuery)  
    	   at Microsoft.WindowsServerSolutions.Common.RemoteDesktopConfig.RemoteDesktopConfigLib.GetRemoteApp(String alias)  
      
    [14880] 200917.040912.9716: RemoteAccess: [Homepage] Restarting homepage - 1  
    [13736] 200917.040913.3827: RemoteAccess: Failed to open ADTestHook registry key.  
    [13736] 200917.040913.3827: RemoteAccess: Failed to open ADTestHook registry key.  
    [13736] 200917.040913.3877: MailServiceADUtils: Local User Name : netadmin AD User Name: netadmin   
    [13736] 200917.040913.3917: MailServiceADUtils: group WSS_Office365Access exists.  
    [13736] 200917.040913.3988: RemoteAccess: Failed to open ADTestHook registry key.  
    [13736] 200917.040913.3988: RemoteAccess: Failed to open ADTestHook registry key.  
    [13736] 200917.040913.4098: RemoteAccess: Failed to open ADTestHook registry key.  
    [13736] 200917.040913.4098: RemoteAccess: Failed to open ADTestHook registry key.  
    [13736] 200917.040913.4208: RemoteAccess: [Website] Make necessary settings for built in page  
    [13736] 200917.040913.4248: RemoteAccess: [Homepage] The GUID of GadgetPlacementIndex for 497796C6-9CC7-43BE-AA26-4E6B5695370D does not refer to any gadget. Ignoring.  
    [13428] 200917.040916.2905: RemoteAccess: Failed to open ADTestHook registry key.  
    [13428] 200917.040916.2905: RemoteAccess: Failed to open ADTestHook registry key.  
    [13428] 200917.040916.3015: RemoteAccess: Failed to open ADTestHook registry key.  
    [13428] 200917.040916.3015: RemoteAccess: Failed to open ADTestHook registry key.  
    [13428] 200917.040916.3125: RemoteAccess: Failed to open ADTestHook registry key.  
    [13428] 200917.040916.3135: RemoteAccess: Failed to open ADTestHook registry key.  
    [13428] 200917.040916.3236: RemoteAccess: Failed to open ADTestHook registry key.  
    [13428] 200917.040916.3236: RemoteAccess: Failed to open ADTestHook registry key.  
    
    0 comments No comments

  3. Karlie Weng 13,951 Reputation points Microsoft Vendor
    2020-09-22T07:19:52.84+00:00

    Hi Joe @ JoePeifer-0013,

    1.Have you check the setup/configuration of Anyway Access?

    Manage Anywhere Access in Windows Server Essentials

    Troubleshoot Anywhere Access in Windows Server Essentials

    2.Are you running the latest version of windows essential with updates applied?

    3.You might want to try restoring the server back to the state it was in before the latest updates or issue occurred.

    Restore your Windows Server Essentials 2016

    4..Alternatively we can run process monitor first then reproduce our issue, finally we can check which ADtesthook related registry cannot access/open.

    If you can find it, can you right click the registry and check what's permission for it now?

    Process Monitor v3.60
    How To Use: Process Monitor - Activity Monitor

    Hope this helps!


    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Best Regards
    Karlie


  4. Joe Peifer 1 Reputation point
    2020-09-30T06:23:52.033+00:00

    My apologies @Karlie Weng for not following up sooner.

    It appears that the ship has righted itself. My users now report (and I've confirmed) that they are able to use Remote Access as normal.

    When I log in to RA as admin I still see the message I posted above. It seems that I should be seeing a full list of workstations and servers that are joined to the domain. Is that normal? Is there a way for me to associate the admin account with one or more workstations/servers in the network so that they appear on the RA console?

    0 comments No comments