---
title: "RSA Security Analytics - Microsoft SQL Server: Could not create a trace file"
description: "Issue\nODBC Log Collection to a Microsoft SQL Database fails due to a trace file becoming impossible to create. The Trace File directory on the SQL Ser"
---

[Skip to content](https://mydev.netwitness.com/knowledge-base/rsa-security-analytics-microsoft-sql-server-could-not-create-a-trace-file#main-content)

![NW Logo](https://mydev.netwitness.com/hs-fs/hubfs/Portal-Partner%20Program/AssetFiles/NW%20Logo%20(2).png?width=180&height=32&name=NW%20Logo%20(2).png)

- [Home](https://mydev.netwitness.com/home)
- Integrations
  
  Show submenu for Integrations

    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community
  
  Show submenu for Community

    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers
  
  Show submenu for Customers

    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners
  
  Show submenu for Partners

    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education
  
  Show submenu for Education

    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support
  
  Show submenu for Support

    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

Open main navigation

Close main navigation

- [Home](https://mydev.netwitness.com/home)
- Integrations
  
  Show submenu for Integrations

    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community
  
  Show submenu for Community

    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers
  
  Show submenu for Customers

    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners
  
  Show submenu for Partners

    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education
  
  Show submenu for Education

    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support
  
  Show submenu for Support

    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [NetWitness Knowledge Base](https://mydev.netwitness.com/knowledge-base?hsLang=en)
2. [Break Fix](https://mydev.netwitness.com/knowledge-base/break-fix?hsLang=en)

April 30, 2026

# RSA Security Analytics - Microsoft SQL Server: Could not create a trace file

#### Issue

 ODBC Log Collection to a Microsoft SQL Database fails due to a trace file becoming impossible to create. The Trace File directory on the SQL Server will not send log also after the reset of the db.nic\_aud\_init\_trace (KB [000030430](http://cs-server.corp.emc.com/tools/search/data/sfdcknowledge/000030430.htm)).

 In the /var/log/messages file on the Log Collector, messages similar to the following will be seen:

\[mssql.xxxxxx\] \[processing\] Error finding any new events. Reason: Unable to execute statement: Statement: "exec nic\_aud\_swap\_trace 30, 'L:\\SIEMLogging\\SIEMTrace', 1, 'WHERE StartTime \> 2014-12-30 09:47:59.727'"; Reason: state: S1000; error-code: 139809775438454; description: \[RSA\]\[ODBC SQL Server Wire Protocol driver\]\[Microsoft SQL Server\] **Could not create a trace file.state**: 01000; error-code: 139809775438489; description: \[RSA\]\[ODBC SQL Server Wire Protocol driver\]\[Microsoft SQL Server\] **Windows error occurred while running** **SP\_TRACE\_CREATE. Error =** 0x80070070(failed to retrieve text for this error. Reason: 15105).state: 01000; error-code: 139809775469392; description: \[RSA\]\[ODBC SQL Server Wire Protocol driver\]\[Microsoft SQL Server\]ERROR: Error occured trying to start tracing for file - 81, L:\\SIEMLogging\\SIEMTrace-11

 The important parts are : 

Could not create a trace file.state 

 Windows error occurred while running SP\_TRACE\_CREATE Error

#### Cause

 Somehow the collection has been stopped and for some reason was not restarted but the logs were still created until all the space was filled.

At the same time you should find this error:

Unable to execute statement: Statement: "exec nic\_aud\_swap\_trace 30"  
 

#### Resolution

 Check if there is free space in the folder where ​the trace file are stored.

Note: In windows the partitions could have a "space quota limit":

1. Try to move to another partition others file in order to gain enough space to allow the restart of the collection
2. Use these step [KB000030430](http://cs-server.corp.emc.com/tools/search/data/sfdcknowledge/000030430.htm) to restart the collection

N.B.  
If in this partition there are only the trace files generated by mssql (the logs)

- you must move one file to another partition (usually they are 100MB each max) -\> follow the above step 2.
- Copy back the trace file in the original folder
- Only if is not consumed do the above step 2. again. Could be useful to also restart the odbc collection as below:

 From **UI -\>Services -\>Select VLC/LogDecoder -\> System -\>Collection -\> ODBC -\>stop** and then  **start**

#### Product Details

**NetWitness Product Set:** NetWitness Platform   
**NetWitness Product/Service Type:** All Nodes   
**NetWitness Version/Condition:** 12.x   
**Platform:** CentOS/Alma

#### Approval Reviewer Queue

Technical approval queue

[![Netwitness Logo](https://mydev.netwitness.com/hs-fs/hubfs/Quote%20Template%20-%20NW%20Logo/Netwitness%20Logo.png?width=158&height=42&name=Netwitness%20Logo.png "Netwitness Logo")](https://mydev.netwitness.com/?hsLang=en)

<https://www.linkedin.com/company/netwitness-platform/> <https://www.youtube.com/@netwitness>

Copyright © 2026, NetWitness LLC. All rights reserved.

[NetWitness Platform](https://www.netwitness.com/)

[Acceptable Use Policy](https://www.netwitness.com/wp-content/uploads/Acceptable-Use-Policy-092022.pdf) [Privacy Statement](https://www.netwitness.com/wp-content/uploads/NetWitness-Privacy-Statement-07292024.pdf)

![NetWitness Logo](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/netwitness-logo-RGB-white%201.png)

[![LinkedIn](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/linkedin.png)](https://www.linkedin.com/company/netwitness-platform/) [![YouTube](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/Youtube.jpg)](https://www.youtube.com/@netwitness)

© 2026 NetWitness LLC. All rights reserved.