We are on:
Verison: SQL 2008 [10.0.2531] on windows server 2008. Both are enterprise editions.
When I highlight the query and right-click, then select Analyze Query in Database Engine Tuning Advisor, then click "Start Analysis", I get the following error in the "Message" column of "Progress" tab of DTA:
Cannot initialize tuning. [.Net SqlClient Data Provider]
If I click on this, it displays this message:
"Cannot find either column 'msdb' or the user-defined function or aggregate 'msdb.dbo.fn_DTA_unquote_dbname', or the name is ambiguous. Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count=0, current count=1. (Microsoft SQL Server Error: 4121)
Please let me know if you guys have any ideas on this error.
Thanks,
Sam.