Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SQL Server Profiler: Templates not showing / missing

When I start SQL Server Profiler, and I click Run, it says "At least one event must be selected." I see that this is due to the Template being "blank" (and there are no other options) and I'm sure there should be a set of defaults here.

Does anyone know why they would have vanished? And how to get them back?

Am Running Sql Server 2008.

Thanks

like image 522
Richard Avatar asked Sep 03 '25 10:09

Richard


1 Answers

I have managed to resolve the issue, I solved it by following this link's suggestion:

http://www.mattbutton.com/2011/06/01/sql-profiler-templates-missing/

The following comes from the link:

If you are connecting to a SQL server with the SQL profiler and none of your templates are showing up, compare the versions of the SQL profiler you are running and the version of SQL server that you’re connecting to; there is likely a version mismatch.

If this is the case, what’s likely happening here is that you’re connecting to a SQL 10.50 instance with a SQL 10.0 profiler and the profile templates for 10.50 aren’t present.

In the case of the profiler from SQL 2008 connecting to a SQL 2008 R2 instance, copy your 100 profile templates folder (default install is at C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Profiler\Templates\Microsoft SQL Server\100) into a new folder in the same location with the name “1050″ i.e. C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Profiler\Templates\Microsoft SQL Server\1050.

Then try to reconnect, and you’ll have access to the profile templates and everything will work fine.

like image 119
Richard Avatar answered Sep 05 '25 16:09

Richard