Please note that the SP2010 site (with SP1, and June 2011 CU applied) functioned properly with the 2007 UI enabled -- Show Filter Choices worked flawlessly. After performing the Visual Upgrade to the new UI, I am experiencing this problem now.
The following problem is related to thread "SP 2010 Document Library Column "Show Filter Choices" is not appearing".
When filtering a column that returns many results (potentially thousands), the Show Filter Choices appears. When then selecting to show filter choices, an error is displayed saying "Unable to display this Web Part. To troubleshoot the problem, open this Web page in a Microsoft Sharepoint Foundation-compatible HTML editor such as Microsoft SharePoint Designer. If the problem persists, contact your Web server administrator." along with a Correlation ID. The log entry for the correlation id indicates that a Stack Overflow Exception occurred:
07/16/2011 18:15:01.94 w3wp.exe (0x16AC) 0x18F0 SharePoint Foundation Web Parts 89a1 High Error while executing web part: System.StackOverflowException: Operation caused a stack overflow. at Microsoft.Xslt.NativeMethod.CheckForSufficientStack() at SyncToNavigator(XPathNavigator , XPathNavigator ) at <xsl:apply-templates mode="printTableCellEcbAllowed">(XmlQueryRuntime , XPathNavigator , XPathNavigator ) at <xsl:template match="Row" mode="Item">(XmlQueryRuntime , XPathNavigator , IList`1 , IList`1 , Double , Double ) at <xsl:template match="View" mode="RenderView">(XmlQueryRuntime , XPathNavigator ) at <xsl:template match="View" mode="full">(XmlQueryRuntime , XPathNavigator , String ) at <xsl:template match="View" name="View_Default_RootTemplate" mode="RootTemplate">(XmlQueryRuntime , XPathNavigator , String ) at <xsl:template match="/">(XmlQueryR... 1d8ec968-87fb-4bb0-b40f-cc1bea214a77 07/16/2011 18:15:01.94* w3wp.exe (0x16AC) 0x18F0 SharePoint Foundation Web Parts 89a1 High ...untime ) at Root(XmlQueryRuntime ) at System.Xml.Xsl.XmlILCommand.Execute(Object defaultDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter writer, Boolean closeWriter) at System.Xml.Xsl.XmlILCommand.Execute(IXPathNavigable contextDocument, XmlResolver dataSources, XsltArgumentList argumentList, XmlWriter results) at System.Xml.Xsl.XslCompiledTransform.Transform(IXPathNavigable input, XsltArgumentList arguments, XmlWriter results) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.ExecuteTransform(XslCompiledTransform xslCompiledTransform, XsltArgumentList xmlArguments, Boolean bDeferExecuteTransform) at Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) 1d8ec968-87fb-4bb0-b40f-cc1bea214a77
When filtering other columns in order to reduce the volume of results, I'm often able to get the filter choices dialogues to render properly. There appears to be some "data volume limit" that is causing Show Filter Choices to not function.
Any ideas on how to resolve as filtering columns with large result sets is a critical function for this SharePoint site?