---
title: Troubleshooting and FAQ for Nodinite BizTalk Server Monitoring Agent
description: Quickly resolve BizTalk Server monitoring issues with Nodinite. Find answers to common questions, troubleshooting tips, and support resources to keep your integration running smoothly.
---

:ReleaseNotes(https://portal.nodinite.com/marketplace/2):  

# Troubleshooting the BizTalk Server Monitoring Agent  

If you have any issues that you can not solve, contact our [Support][]<sup>:fa-arrow-up-right-from-square:</sup>, read more on the [Support page][SupportPage]. We're here to help you maximize the value of :Nodinite: and keep your BizTalk Server environment running smoothly. :fa-hands-helping:  

## :fa-question: Frequently Asked Questions  

### Cannot start/stop ports using the Scheduled Task Adapter  

If you have trouble starting or stopping ports with the Scheduled Task Adapter, ensure you:  

* Install and run the :Nodinite: [BizTalk Server Monitoring agent][BizTalk Agent] on all relevant BizTalk Server nodes.  
* Check for versioning issues in your configuration: [https://stackoverflow.com/questions/28968785/biztalk-scheduled-task-adapter-v5-fails-unable-to-cast-object](https://stackoverflow.com/questions/28968785/biztalk-scheduled-task-adapter-v5-fails-unable-to-cast-object)<sup>:fa-arrow-up-right-from-square:</sup>  

### Cannot start the agent  

If the :Nodinite: [BizTalk Server Monitoring agent][BizTalk Agent] fails to start, it may be due to unmet security or runtime dependencies. Common causes include:  

* Insufficient rights to run as a Windows Service. See: [How to set Logon as a Service right][How to set Logon as a Service right]  
* Shared port error. Solution: [Shared Port 8000][Port8000]  
* Missing prerequisites. Review the [Prerequisites][Prerequisites for BizTalk Monitoring Agent] page.  
* Database update required. After some updates, the [Monitoring Database][Agent Database] may need to be upgraded for compatibility.  
![Update Monitoring Database][1]  
*Example: Updating the Monitoring Database to resolve agent startup issues.*  
* **Visual Studio diagnostic extensions** causing `ConfigurationErrorsException` errors. This rare edge case occurs when Visual Studio was installed and later removed, leaving incompatible entries in `machine.config`. See: [Visual Studio Diagnostic Extension Conflict][Visual Studio Diagnostic Extension Conflict]  

### MissingMethodException related to Newtonsoft.Json in GAC

If the :Nodinite: BizTalk Server Monitoring agent fails with `MissingMethodException` and references `Newtonsoft.Json`, the machine may have a non-compatible `newtonsoft.json.dll` in the Global Assembly Cache (GAC). The error broke saving metrics (`Metrics.json`) and remote, export, and import configuration.

>[!TIP]
>**Update the agent first.** The agent release that requires :Nodinite: 7.12 works with any Newtonsoft.Json 13.0.x in the GAC, so you no longer need to replace the GAC copy with 13.0.4 to run the agent. If you replaced it only for this agent, you don't need to keep doing so; check any other GAC change with [Support][] first. If the error ever comes back, the agent's error log shows which `Newtonsoft.Json` file was loaded and whether it came from the GAC. The rest of this section applies to older agent releases.

> :fa-triangle-exclamation: **Important risk warning**  
> Changing assemblies in the GAC is a high-risk operation. Customer environments may include custom BizTalk pipelines, custom components, or other deployed solutions that depend on a specific Newtonsoft.Json binary. Removing or replacing the wrong assembly can break unrelated runtime behavior.

> **Newtonsoft.Json GAC warning**  
> :Nodinite: BizTalk components require Newtonsoft.Json 13.0.4 or later. Do not install an older Newtonsoft.Json 13.x build in the GAC. Different Newtonsoft.Json 13.x binaries can share `AssemblyVersion` `13.0.0.0`, which may cause .NET Framework to load an older GAC binary even when a newer NuGet package is deployed.

Common symptoms include:

* Agent startup failure with `MissingMethodException` in logs.
* Runtime behavior where expected Newtonsoft.Json APIs appear to exist, but calls still fail.

Recommended actions:

* Contact [Support][] before changing GAC content, and perform an impact assessment for custom BizTalk artifacts.
* Create a backup of the currently installed `newtonsoft.json.dll` so you can restore the previous state if required.
* If `gacutil.exe` is not available on the server, prefer installing the :Nodinite:-supported Newtonsoft.Json DLL to the GAC instead of ad-hoc removal of existing binaries.
* If you must remove an existing Newtonsoft.Json assembly, do so only after backup, validation of dependent BizTalk artifacts, and support guidance.
* Ensure all BizTalk nodes use the same supported Newtonsoft.Json version.
* Reinstall or repair the [BizTalk Monitoring agent][BizTalk Monitoring Overview] package to restore the expected runtime dependencies.
* Restart the service and verify normal startup.

If `gacutil.exe` (SDK tooling) is not present, use an elevated legacy Windows PowerShell prompt:

```powershell
[Reflection.Assembly]::LoadWithPartialName("System.EnterpriseServices") | Out-Null
[System.EnterpriseServices.Internal.Publish] $publish = New-Object System.EnterpriseServices.Internal.Publish
$publish.GacInstall("<<FullFilePathToTheDll>>")
```

Use this fallback with caution because it still modifies the GAC and can affect other applications on the same server.

### Missing Resources  

* The agent may be configured with **Filters** that remove all resources from [BizTalk Applications][BizTalk Application]. Review and adjust your filters as needed to restore visibility.  

### There are no Actions available  

* Ensure the [Monitor View][Monitor Views] has the Actions option enabled. See the [Add or manage Monitor View][] page for details.  

### Where do I find the reason for an error?  

:new6.4.2: Messages and Log Texts from the agent no longer contain raw exception text, such as assembly names and public key tokens. The full reason is written to the agent's [diagnostic files][Diagnostic Logs]:  

* **A failed action** (a [Remote Action][Remote Actions], saving tracking, descriptions or settings, managing instances, Details, Edit, Metrics) ends with *See diagnostics for details (CorrelationId: …)*. Search the diagnostic files for that CorrelationId. For example, BizTalk's reason for refusing to [Start an Orchestration][OStart] is there.  
* **An error Log Text or health-check diagnostic** ends with *See the agent's diagnostics file for details.* It has no CorrelationId, because the text is rebuilt on every poll; look for the latest exception in the diagnostic files.  
* Connection string validation in the agent configuration still shows the SQL error, because you need it to correct the connection string.  

### BizTalk Administration Console or WMI hangs after a failed Remote Action  

Agents before 6.4.2 could leave the BizTalk management database locked when BizTalk refused a change, for example a **Start** on an [Orchestration][Orchestrations] whose send ports are unenlisted. The BizTalk Administration Console, WMI and every later agent request then hang. Restart the agent (its [IIS][] application pool or Windows service) to release the lock, and update the agent to 6.4.2 or later, which rolls a refused change back.  

### :fa-globe: Where do I install the agent?  

You can install your :Nodinite: environment on-premises, in Azure Virtual Machines, or in the cloud with your sourcing partner. Hybrid scenarios are fully supported, giving you flexibility and control.  

### How do I uninstall the BizTalk Server Monitoring Agent?  

* Stop the Agent before running the MSI package. See the [uninstallation][Uninstalling] user guide for step-by-step instructions.  
* You must be a local administrator to remove Windows Services.  

### How do I get the latest version?  

Download the latest release from the :Nodinite: [portal][NodinitePortal].  

### How do I know when there's a new version available?  

Subscribe to updates through our [Support][] portal to stay informed about new releases and features.  

### How do I know where the agent is installed and running?  

Check the [Nodinite Overview][Nodinite - Overview] and the [Monitor Agent Run-time Information][Add or manage a Monitoring Agent Configuration - RunTime] section for details on agent deployment and status.  

## :fa-hand-point-right: Next Steps

* [Prerequisites for the BizTalk Server Monitoring Agent][Prerequisites for BizTalk Monitoring Agent]  
* [Uninstall the BizTalk Server Monitoring Agent][Uninstalling]  

## :fa-link-horizontal: Related Topics

* [BizTalk Server Monitoring Agent][BizTalk Monitoring Overview]  
* [Orchestration Details][Orchestration Details]  
* [Monitor Views][]  
* [Support page][SupportPage]  

[1]:{ndm}/Documentation%20Pictures/MonitorAgent/BizTalk/Troubleshooting/UpdateDatabase.png

[Add or manage a Monitoring Agent Configuration - RunTime]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/Add%20or%20manage%20Monitor%20Agent.md#run-time-information
[Add or manage Monitor View]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/Add%20or%20manage%20Monitor%20View.md
[Agent Database]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Agent%20Database.md
[BizTalk Agent]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Logging/Overview.md
[BizTalk Application]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Features/Application/Overview.md
[BizTalk Monitoring Overview]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Overview.md
[Diagnostic Logs]:{ndr}/Install%20and%20Update/Troubleshooting/Overview.md#fa-file-lines-diagnostic-logs
[How to set Logon as a Service right]:{ndr}/Install%20and%20Update/Troubleshooting/Windows/Logon%20as%20a%20Service%20right.md
[IIS]:{ndr}/Logging%20and%20Monitoring/Windows%20Server/Features/IIS.md
[Monitor Views]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/What%20is%20a%20Monitor%20View.md
[Nodinite - Overview]:{ndr}/Administration/6.%20Tools/1.%20Nodinite%20Overview.md
[NodinitePortal]:https://portal.nodinite.com/
[Orchestration Details]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Features/Orchestrations/Actions/Details.md
[Orchestrations]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Features/Orchestrations/Overview.md
[OStart]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Features/Orchestrations/Actions/Start.md
[Port8000]:{ndr}/Install%20and%20Update/Troubleshooting/Windows/Why%20do%20Nodinite%20use%20port%208000.md
[Prerequisites for BizTalk Monitoring Agent]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Getting%20started/1.%20Prerequisites.md
[Remote Actions]:{ndr}/Getting%20Started/3.%20Monitor/Remote%20Actions.md
[Support]:https://support.nodinite.com/
[SupportPage]:{ndr}/Getting%20Started/Support.md
[Uninstalling]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Troubleshooting/Uninstall.md
[Visual Studio Diagnostic Extension Conflict]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Troubleshooting/Visual%20Studio%20Diagnostic%20Extension%20Conflict.md