Visual Studio's Crystal Reports problem with toolbar functionality
Posted on 2006-11-09
I have created a asp.net page in visual studio 2005 that mainly consists of a "crystalreportveiwer" that references a crystalreport.rpt file I created. I have the toolbar visible and whenever I click on either print or export I get an error. In firefox a new smaller window attempts to load and shows "This page cannot be found" in IE it just redraws the page and I get the yellow triangle with exclamation point in my lower left hand corner, the error reads " object doesn't support this action" and says the error is on line 1308 which is the blank line after this closing script tag:
I am running this on my localhost for now. My report pulls information from two seperate databases on the same sql server and simply displays some fields. I can get the export to work for pdf and excel formats programaticly by doing this:
oStream = (System.IO.MemoryStream)
Response.Buffer = true;
Response.ContentType = "application/pdf";
But I would prefer to have the toolbar export working instead. Am I possibly missing some DLLs? and if so where should I look and for what?