fn_trace_gettable Error SQL Server 2008
It Requires ALTER TRACE permission on the server.

Note :- This feature will be removed in a future version of Microsoft SQL Server (2014 above). Avoid using this feature in new development work.