Notification: System diagnostic “Test permissions” Error


The “Test permissions” button in the System diagnostic on-premise component installer is currently not working. If you click it, you will see the following error message.

image

We’ll be addressing this error soon—it does not affect the installation of the System diagnostic on premise component or any functionality.


Comments (5)

  1. Raza says:

    Hi, I have encountered another error while running system Diagnostics on one of my UAT server. Let me give you a little background, First I had hard time to get the environment diagnosed, Even I was on the server itself just to see if any network issue causing it to give me error " invalid SQL Server or Database Name" , I had to create alias on one of my other server in order for that part to work. Now when I click on Collect Now, I see my query running on SQL Server for couple minutes and then it disappears - after looking into event log where I am running Sys Diagnostics tool, I see this error three times and then it says Job completed.

    " Failed to Invoke Diagnostic External Services: Error in deserializing body of reply message for operation 'GetNonIncrementalDataCollectorDefinition'. The maximum string content length quota (8192) has been exceeded while reading XML data. This quota may be increased by changing the MaxStringContentLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader. Line 191, position 48."

    Can someone please explain - There is no XML that I can see anywhere that this tool is trying to run - where I could get to the setting and fix it.

    Any help will greatly be appreciated

    Thanks,

  2. Raza,

    This looks like a service error when we are trying to get collector definition. Are you using the latest System Diagnostic on-prem component? When did you download and install it?

  3. Raza says:

    I just downloaded it again - last night did the same thing - It is the latest one.

    I have spent lots of time, not sure what I can do from now - did on three different systems - same error.

  4. Sorry for the inconvenience and we are actively looking at the issue. Please hang in there and we will get back to you.

  5. Hey Raza,

    Here's a workaround for your issue:

    1. Stop Microsoft Dynamics Lifecycle Services Diagnostic Service

    2. Open LCSDiagFXService.exe.config file in the installation folder

    3. Find this piece of code

    <wsHttpBinding>

           <binding name="WSHttpBinding_IDiagFxUploadService" openTimeout="5.00:00:00"

             sendTimeout="5.00:00:00" maxBufferPoolSize="2097152" maxReceivedMessageSize="2097152">

             <security mode="TransportWithMessageCredential">

               <message clientCredentialType="Certificate" />

             </security>

           </binding>

    </wsHttpBinding>

    And replace it with this

    <wsHttpBinding>

           <binding name="WSHttpBinding_IDiagFxUploadService" openTimeout="5.00:00:00"

             sendTimeout="5.00:00:00" maxBufferPoolSize="2097152" maxReceivedMessageSize="2097152">

             <security mode="TransportWithMessageCredential">

               <message clientCredentialType="Certificate" />

             </security>

             <readerQuotas maxStringContentLength="5242880" maxArrayLength="200000"/>

           </binding>

    </wsHttpBinding>

    4. Restart Microsoft Dynamics Lifecycle Services Diagnostic Service

    Give that a shot

Skip to main content