Solved

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

Posted on 2006-06-14
6
2,209 Views
Last Modified: 2008-05-06
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
0
Comment
Question by:sriniram
  • 3
  • 2
6 Comments
 
LVL 11

Accepted Solution

by:
Ved Prakash Agrawal earned 200 total points
ID: 16903998
No. Not needed at all.

I think there are some problem with the installation that's why this happening.
please tell me which version of sql u r using.
enterprise or developer.

0
 
LVL 11

Expert Comment

by:Ved Prakash Agrawal
ID: 16904030
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.
0
 

Author Comment

by:sriniram
ID: 16904032
I am using Standard Edition of SQL Server 2005.

Thanks
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Author Comment

by:sriniram
ID: 16904053
Is this service pack for SQL Server 2000 or 2005?

Thanks
0
 

Author Comment

by:sriniram
ID: 16915332
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
0
 

Expert Comment

by:mattjk
ID: 21505312
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.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

In this article—a derivative of my DaytaBase.org blog post (http://daytabase.org/2011/06/18/what-week-is-it/)—I will explore a few different perspectives on which week today's date falls within using Microsoft SQL Server. First, to frame this stu…
When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now