views:

180

answers:

5

Has anyone seen the issue with SQL Profiler 2000 where you cannot pause or stop a trace? The only way I can stop it, is by doing a control - alt - delete and then end the application process. This just randomly started happening. Also the pause and stop buttons grey out.

Any help on this issue is greatly appreciated.

A: 

How patient are you being? Is this a few seconds, few minutes, half an hour? What amount of data are you talking about and over what sort of connection.

I have had to wait for the profiler to "catch up" before when viewing a database with very high usage.

I have also had to wait for it to respond if I've been profiling over a slower vpn connection.

A combination of the two can have you waiting for some time.

Robin Day
+1  A: 

I've seen this happen consistently on some (virtual) machines - clicking the stop button causes it to grey-out (but not enable start etc), but seem to wait forever in the "stopping" state without actually stopping. Unfortunately, I don't have a fix.

However, the systems where this happen were all fairly low-resource VPCs. The fact that this always happened for the VPCs, but never for my desktop system made me suspicious that it may be related to low memory availability, or else something about the VPC environment, but I never confirmed this for certain.

At the time, I worked around it by connecting remotely, running profiler on my own machine. If this is a low-spec machine / VPC, it may be worth trying this, or else closing all apps on the machine before using profiler.

Brian
+1  A: 

I think we need more info to help you here.

  • Are you running it on a virual machine?
  • How long are you running it for?
  • Give us example of what your using SQL Profiler to trace. (SQL Code, DB's tables etc?)
  • When it will not pause or stop run sp_who in Query Analyser to see if anything is being blocked
  • Whats your hardware setup on the server? (memory/processors etc)
kevchadders
we are running it on our database server which has p4 2.4 ghz processor with 3.6 gb ram on Windows 2000.I filter by database, run it for not even 30 seconds and try and hit pause or stop; it then greys out and continues to trace..I'll run sp_who and send an update.Many thanks for all the comments!
I have just ran sp_who after hitting stop on SQL Server Profiler. What would I be looking for? I see the SA account has a checkpoint sleep and lock monitor. Would either of those indicate anything?
+1  A: 

Yup happens to me all the time - the easiest way to get it back is to kill the connection.

DJ
This didn't use to happen. It's really inconvenient not being about to pause or stop. Thanks for confirming that I am not the only person experiencing this issue.