Connection failed (Internal SQL Monitor error).
rev
Posts: 7
When I enable trace, I get the error connection failed. When I view the log is see:
"The trace file path is not valid or not supported. failed to start trace: 18 Could not find the requested trace."
When I search the help I find the security settings and I checked them all. Even sysadmin is checked, but still the error returns. When I disbale the trace everything is working fine.
What do I have do?
"The trace file path is not valid or not supported. failed to start trace: 18 Could not find the requested trace."
When I search the help I find the security settings and I checked them all. Even sysadmin is checked, but still the error returns. When I disbale the trace everything is working fine.
What do I have do?
Comments
When the trace option is turned on, the trace will be created in the default log directory for the SQL Server. If you connect to the instance in question using SSMS, choose Properties of the instance and Database Settings what is the value for Database default locations>Log: ?
Does this value look valid? If you could make sure that this value is valid and reachable by the SQL Server service/username, turning the trace flag back on should then work correctly.
If the value is accessible please get back to me and we will try something else.
Thanks,
Redgate Foundry
Is it also possible to create the trace file on another disk?
It's not pretty but if you put F:\\ in the Log location, SSMS will only strip one \ and the trace flag should then work!
Let me know how you get on.
Thanks,
Redgate Foundry
That did the job. Thanks for the quick support!
Is it possible to set the trace file to another location other than changing the server setting?
Great news that it's now working. Unfortunately there isn't currently an option to choose where the trace files will be created. May I ask why you would like to have them somewhere other than the default log directory?
Thanks,
Redgate Foundry
Thanks,
Redgate Foundry
This is not yet implemented. We are tracking it as srp-2907. We hope to fix this is one of the future releases.
Thanks,
Priya
Project Manager
Red Gate Software