---
title: Troubleshooting .NET App and API Protection
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: >-
  Docs > Datadog Security > App and API Protection > Enabling App and API
  Protection > Enabling AAP for .NET > Troubleshooting .NET App and API
  Protection
---

# Troubleshooting .NET App and API Protection

{% callout %}
# Important note for users on the following Datadog sites: app.ddog-gov.com

{% alert level="danger" %}
This product is not supported for your selected [Datadog site](https://docs.datadoghq.com/getting_started/site). ().
{% /alert %}

{% /callout %}

## Common Issues{% #common-issues %}

### No security signals appearing{% #no-security-signals-appearing %}

1. Verify Agent version:
   - Ensure you're running Datadog Agent v7.41.1 or higher.
   - Check Agent status: `datadog-agent status`.
1. Check .NET tracer version:
   - Confirm you're using .NET tracer v2.42.0 or higher.
1. Verify environment variables:
   - Ensure `DD_APPSEC_ENABLED=true` is set.
   - Check `DD_SERVICE` and `DD_ENV` are properly configured.
   - Verify `DD_APM_ENABLED=true` if using APM features.
1. Check file system permissions:
   - Ensure the application has write access to `/tmp`.
   - Verify the Java agent JAR is readable.

### Application fails to start{% #application-fails-to-start %}

1. Check logs for errors:
   - Logs are located at
     - Linux: `/var/log/datadog/dotnet/`
     - Windows: `%PROGRAMDATA%\Datadog .NET Tracer\logs\`

### Performance impact{% #performance-impact %}

1. High latency:
   - Check Agent resource usage.
   - Verify network connectivity between Agent and Datadog.
   - Consider adjusting sampling rates.
1. High memory usage:
   - Monitor memory usage.
   - Adjust Agent resource limits if needed

### Still having issues?{% #still-having-issues %}

If you're still experiencing problems:

1. Check the [Application Security Monitoring troubleshooting guide](https://docs.datadoghq.com/security/application_security/troubleshooting)
1. Review the [.NET tracer documentation](https://docs.datadoghq.com/tracing/trace_collection/compatibility/dotnet-core)
1. Contact [Datadog support](https://docs.datadoghq.com/help)
