You are currently offline, waiting for your internet to reconnect

FIX: Profiler Fails To Start New Trace When User Environment Variable Has Been Changed

This article was previously published under Q295461
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 235412 (SHILOH_BUGS)
If the TMP environment variable is changed to a nonexisting directory, SQL Server Profiler may fail to run a new trace, and will result in the following message:
Failed to start a new trace
SQL Server Profiler allocates temporary storage files into the directory specified in the TMP environment variable. However, SQL Server Profiler does not validate whether the directory exists.
To resolve this problem, obtain the latest service pack for SQL Server 2000. For additional information, click the following article number to view the article in theMicrosoft Knowledge Base:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack
Make sure that the directory exists when changing the TMP environment variable.
Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.
In Microsoft Windows NT and Microsoft Windows 2000, environment variables are strings that contain information such as drive, path, or file name. Environment variables control the behavior of various programs. For example, the TMP environment variable specifies the location where programs place temporary files.

To add or change the values of environment variables, right-click My Computer and then click Properties. On the Advanced tab, click Environment Variables. Select a user in User Variables for a list of environment variables.

Article ID: 295461 - Last Review: 01/16/2015 22:22:22 - Revision: 3.2

Microsoft SQL Server 2000 Standard Edition

  • kbnosurvey kbarchive kbbug kbfix kbsqlserv2000sp1fix KB295461