Aplication Freeze

PauloSilva-5793 1 Reputation point
2020-10-22T16:48:25.887+00:00

I have an application that runs on Terminal Server Windows2016.Sometimes the application freezes and I need to clean the disconnected sessions, for the application to work again.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,192 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Anonymous
    2020-10-23T13:05:59.33+00:00

    You can use this PowerShell to clean up the DCOM permissions issue.
    https://gallery.technet.microsoft.com/scriptcenter/Grant-Revoke-Get-DCOM-22da5b96/view/Discussions

    The application developer will be your best resource to debug the application issue.

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments

  2. MotoX80 34,346 Reputation points
    2020-10-23T14:30:11.603+00:00

    {F72671A9-012C-4725-9D2F-2A4D32D65169} is registered on my Win10 Home laptop as CDPComAccountProvider. I doubt that the DCOM error has anything to do with your application hang.

    Is the app written in DotNet or C++ or what? Do you have the required run time components installed on the 2016 server? You really need to get the 3rd party developers involved and ask them if their code has been tested on 2016. Ask them if their code has any logging/diagnostic functionality where you can enable a trace, recreate the error, and then determine what API calls were made.

    Troubleshooting a hang is going to require some low level diagnostics. The best tools that I have found are Process Monitor, Process Explorer and DebugDiag.

    Does the app always hang at the same spot? That is, does the user click on a certain button and then it hangs? I would start by tracing the app when a user recreates the hang with Process Monitor.

    https://learn.microsoft.com/en-us/sysinternals/downloads/procmon

    Look at the last activity that the program does. Is it reading a database or something? Ask the developers if they have any insight as to what the program is doing and why it might hang at this point.

    Is the app using cpu when it hangs or is it just "stuck"? Use Process Explorer and examine the threads to see if you can isolate the function hanging. Again you will need to ask the developers about this.

    The last resort is to use prodexp to create a dump and then use DebugDiag to analyze the crash/hang.

    https://www.microsoft.com/en-us/download/details.aspx?id=58210

    https://www.codeproject.com/articles/708098/part-2-windows-debugging-techniques-debugging-appl

    0 comments No comments

  3. Joy Qiao 4,901 Reputation points Microsoft Employee
    2020-10-28T06:57:09.623+00:00

    Hi anonymous user-5793

    For DCOM 10016 issue, we could refer to the following link to perform recommend actions on your side. It is very a detailed manual.

    Event ID 10016 The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID

    Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.

    Bests,

    ============================================

    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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.