Link to home
Start Free TrialLog in
Avatar of sriniram
sriniram

asked on

sql server 2005 - profiler - "failed to start a new trace"

I have installed SQL Server 2005 in my laptop and testing an ASP application. I want to run the SQL profiler to findout the database activities.

When I open a new trace in SQL Server 2005 profiler, I am getting the rror "failed to start a new trace". I could not get much help in the net. Many places it is referred to SQL Server 2000 and apply a patch.

Can anyone help me to fix this problem? Do I need to download any patches to make this work?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Ved Prakash Agrawal
Ved Prakash Agrawal
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi you can tried this with SP1 for sql server 2005.

and you have full installed sql server 2005.



http://www.kbalertz.com/kbNamed_295461/environment.variable.changed.nonexisting.Server.Profiler.fail.will.result.following.Failed.start.trace.Server.Profiler.allocates.temporary.storage.aspx

But i think you can tried to installed again sql profiler.
Avatar of sriniram
sriniram

ASKER

I am using Standard Edition of SQL Server 2005.

Thanks
Is this service pack for SQL Server 2000 or 2005?

Thanks
I think this problem was due to the problem with the permissions for the execution of the stored procedure.

I dropped the new user created by me (created after the restoration of data). Using "exec sp_change_users_login 'update_one', 'login name', 'user name' ".

It is working now.

Thanks
I found the problem was the folder specified in the server's TMP environment variable had to much junk in it. After clearing it out, the problem disappeared.