Document Map Not Displaying

Oct 24, 2012 at 1:01 AM

When I run a report in CrissCross that has a document map, the document map either does not display or displays but is blank.  Are document maps supported in CrissCross?

Coordinator
Oct 24, 2012 at 9:29 AM

Hmm, I've never used DocumentMaps but its pretty much all down to the ReportViewer control, so it should work.

I see on the forums that are various people complaining that they're having trouble with ReportViewer and DocumentMaps:

http://social.msdn.microsoft.com/Forums/is/sqlreportingservices/thread/8b8ce7a3-2e26-44fe-a597-549dad0d251f

http://social.msdn.microsoft.com/Forums/en-IE/sqlreportingservices/thread/322b34f1-b197-44cd-a5e1-5c72b6b4ccb6

http://social.msdn.microsoft.com/Forums/en/sqlreportingservices/thread/7bd96586-2f4e-4102-b524-475c6a74d5c5

Does the toolbar button to display the DocumentMap appear on the viewer and is it enabled?

Oct 24, 2012 at 4:41 PM

Thank you!  The first time I ever ran a report on CrissCross it displayed the button on the toolbar and displayed the document map on the left hand side of the report, however the document map was blank.

The last few times I have ran reports there has not been the button on the toolbar and no document map is displayed.

Coordinator
Oct 24, 2012 at 4:59 PM

I'll see if I can figure out whats going on.

What version of SSRS are you using (2005, 2008, 2008 R2 etc)?

Also what browser version?

Oct 24, 2012 at 5:23 PM

I am using SSRS 2008 R2.  It looks like the document map button and document map show up in IE but the document map is blank.  In firefox the button and document map are both not visible.  Thank you for all your assistance!

Oct 24, 2012 at 5:30 PM

Also, just noticed the values for the document map are visible when I view source.  Google Chrome behaves like firefox and does not display the icon on the toolbar or the document map.

Coordinator
Oct 24, 2012 at 5:41 PM

Support for the ReportViewer component in non-IE browsers is a bit patchy.

Heres the official word from Microsoft on browser support for the ReportViewer in VisualStudio 2005 and VisualStudio 2010:

VS2005: http://msdn.microsoft.com/en-us/library/ms251673(v=vs.80).aspx

VS2010: http://msdn.microsoft.com/en-us/library/ms251673(v=vs.100).aspx

Unfortunately there isn't an equivalent page for VS 2008, which is what CrissCross is based on, but this does sort of imply that Document Maps might not be supported in non-IE browsers.

If you update CrissCross to be a VS2010 project and use the VS2010 version of the ReportViewer you may get better results? This can be a bit tricky though, I've tried it before and VS got the ReportViewer version numbers in a bit of a muddle.

Will try and investigate further....

Oct 24, 2012 at 5:43 PM

Thanks for the information.  I am fine forcing the users to use IE if that will resolve the issue.  Unfortunately I can't get it to work properly in IE either.

Coordinator
Oct 24, 2012 at 8:25 PM

Yep, noted. Which version of IE are you using?

Oct 24, 2012 at 8:38 PM

I am using IE9.

Oct 24, 2012 at 9:35 PM

Not sure if this will help, but found this error in IE:

  1. Run a Report in IE
  2. Click F12 button to activate developer tools
  3. Click ‘script’ tab
  4. Note Error below in the script panel

SCRIPT438: Object doesn't support this property or method
Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=9.0.30729.4402&Name=Microsoft.Reporting.WebForms.Scripts.TreeView.htc, line 610 character 1

Coordinator
Oct 24, 2012 at 10:40 PM

This sounds mostly like a ReportViewer issue and not something specifically to do with CrissCross; as such you might be able to ask around other forums or StackOverflow etc and get some help.

One thing to try:

Remove this line from Main.Master:

<meta http-equiv="X-UA-Compatible" content="IE=edge" />

Then try IE9 with Compatibility mode on and off, see if that helps.

I reckon upgrading the project to VS2010 and the ReportViewer version that goes with VS2010 would also help, but thats quite major.

I will try and reproduce the problem on one of my serversbut it will take me a while ...

Hope this helps.

Oct 24, 2012 at 11:11 PM

Thank you.  I have removed the line from Main.Master and the document map is now displaying and working correctly in compatibility mode.  I have sent you an email regarding the project upgrade to VS 2010.  Hope to hear from you soon!