default trace not creating trace file

  • default trace seems to be running but not creating file or creates one and writes nothing. also when i query the path for trace is NULL

  • You can check if it's enabled by running:
    SELECT * FROM sys.configurations
    WHERE configuration_id = 1568
    GO

    Are you checking sys.traces for the location of the .trc file?

    Thanks

  • did that and yes

  • Have you had any space issues on any of the disks recently?

    You can also check the location of the trace file through the registry:

    HKEY_LOCAL_MACHINE\Software\Microsoft\<InstanceName>\Setup\SQLDataRoot

  • no space issues and yes the path is in the registry which is the crazy thing
    when i create a generic trace that works just fine
    i need the default to work so i can check out the auto growth of the databases

  • Have you tried disabling the default trace then re-enabling it? I know this sounds pretty basic but it might work.

    Thanks

  • i did

Viewing 7 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic. Login to reply