Visual Studio: Dataset and DataTable Visualizer not working in watch window

zzzzzzzzzzzzzzzzzzzzzzzzzzzzzz picture zzzzzzzzzzzzzzzzzzzzzzzzzzzzzz · Dec 7, 2011 · Viewed 7.9k times · Source

I have just installed visual studio 2005 service pack 1 on a Windows 7 64 bit machine. Everything appears to work fine and I am able to run my project without any errors. However, when I am in debug mode I have noticed a problem with the "Watch" window for DataTables and DataSets.

I have a DataTable named dt and I enter it in the watch window. No magnifying glass appears to open the visualizer and I get the following error in the value column:

0x000000001d438c90 { KEY_XMLSCHEMA="XmlSchema" KEY_XMLDIFFGRAM="XmlDiffGram" KEY_NAME="TableName" ...}

Has anyone else had this problem? I have tried everything in this post and searched all around google but nothing worked.

Answer

I had to copy all the files in C:\Users\username\Documents\Visual Studio 2008\Visualizers to C:\Program Files (x86)\Microsoft Visual Studio 8\Common7\Packages\Debugger\Visualizers. Specifically it was missing autoexp.dll and autoexpce.dll.