Blogs

.NET to SQL to Project Server and everything in between
Welcome to Blogs Sign in | Join | Help
in Search

Thomas F. Abraham - On Technology

Visual Studio, .NET, BizTalk Server, SQL Server and more...

How to Crash the DB Tuning Advisor in SQL Server 2005 RTM -- Take 2

As a follow-up to my earlier post about crashing the SQL Server 2005 Database Tuning Advisor, I later discovered that the .NET exception stack trace was logged to the Application event log.

My suspicions were correct: it is a threading bug, and it turns out that the steps are even simpler:
  1. Start the Database Engine Tuning Advisor
  2. Drop down the "Server name" listbox and choose "Browse for more..."
  3. Click the Network Servers tab
  4. Click the Cancel button
  5. Wait a few seconds ... until the application crashes...

The background discovery thread tries to access the TreeView control in the browse dialog, which no longer exists since you closed it. Oops. I'm not sure how this one got past QA. I passed the info on to friends in the SQL Server group, and probably ruined their days.

Published Friday, November 04, 2005 3:31 PM by Thomas
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

Leave a Comment

(required) 
(optional)
(required) 
Submit
Powered by Community Server, by Telligent Systems