Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Failed to read trace data.

Author  Topic 

vuacorona
Starting Member

8 Posts

Posted - 2011-09-15 : 17:23:25
Hello ALL:

I am running SQL Server Profiler and often received error "Failed to read trace data". Everytime it raise error and stop, then I have to re-run the profiler again.

Server: Windows 2008
SQL Server 2008 enterprise
SQL Collation: Latin1_General_BIN (case sensitive)

Please advise how to fix this problem.

Thanks in advance.
vuacorona

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2011-09-15 : 17:24:14
You are adding a load to your system due to profiler, and probably causing it too slow down so much that it fails. Are you tracing to a file and on a separate machine? Have you considered instead using a server-side trace?

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

vuacorona
Starting Member

8 Posts

Posted - 2011-09-15 : 17:31:44
Oh NO.... I am not running the trace on the database server.

I am running the profiler from a client computer and automatically save to a trace file on local computer.


quote:
Originally posted by tkizer

You are adding a load to your system due to profiler, and probably causing it too slow down so much that it fails. Are you tracing to a file and on a separate machine? Have you considered instead using a server-side trace?

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2011-09-15 : 17:34:22
Good. Check if there are any access violations or other messages/errors in the SQL Server Error Log when you encounter this problem. When I did a google search for this, it indicated this is a bug in previous versions, perhaps it's a bug in 2008 too.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

vuacorona
Starting Member

8 Posts

Posted - 2011-09-15 : 17:49:42
I checked the log and all it said

"SQL Trace stopped. Trace ID = '2'. Login name = 'sa'.

Checked in the app log and found nothing.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2011-09-15 : 18:02:20
Based upon this being a bug in previous versions, I'd say you'll need to open a PSS case with Microsoft to troubleshoot it. Make sure you are on the latest build of SQL Server first though, in case this is a covered in a service pack or cumulative update package.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page

vuacorona
Starting Member

8 Posts

Posted - 2011-09-15 : 18:40:49
Thanks Tara for all your promptly replies.

My last option is open the case with Microsoft, and I know they will said "you need to apply SP1 to SQL Server 2008".

Go to Top of Page
   

- Advertisement -