Hi to all
I created a report by using ssrs 2008., and by using VS 2008 report viewer control i am loading in web App.
Two Problems I am facing :First One is
I) Print button not working , at the moment i clicked Print button, First one small window opened with 'Printing is progress..' after that i got error
'An error occurred during printing (0x80004005)'
in the line of ' RSClientPrint.Print("\/AOLICFinance\/Reserved.ReportViewerWebControl.axd", "ReportSession=octk1u55acqspn455fbzmq55&ControlID=b312001cc6c54940afe827643501a104&Culture=1033&UICulture=1033&ReportStack=1&OpType=PrintRequest", "ParticipantIDCard") '
All auto generated code is :
<OBJECT ID="RSClientPrint" CLASSID="CLSID:5554DCB0-700B-498D-9B58-4E40E5814405" CODEBASE="/AOLICFinance/Reserved.ReportViewerWebControl.axd?ReportSession=octk1u55acqspn455fbzmq55&ControlID=b312001cc6c54940afe827643501a104&Culture=1033&UICulture=1033&ReportStack=1&OpType=PrintCab#Version=2007,100,1600,22" VIEWASTEXT></OBJECT>
<script language="javascript">
function Print()
{
if (typeof RSClientPrint.Print == "undefined")
{
alert("Unable to load client print control.");
return;
}
RSClientPrint.MarginLeft = 63.5;
RSClientPrint.MarginTop = 5.08;
RSClientPrint.MarginRight = 25.4;
RSClientPrint.MarginBottom = 25.4;
RSClientPrint.PageHeight = 279.4;
RSClientPrint.PageWidth = 215.9;
RSClientPrint.Culture = 1033;
RSClientPrint.UICulture = 1033;
RSClientPrint.UseSingleRequest = false;
RSClientPrint.UseEmfPlus = true;
RSClientPrint.Print("\/AOLICFinance\/Reserved.ReportViewerWebControl.axd", "ReportSession=octk1u55acqspn455fbzmq55&ControlID=b312001cc6c54940afe827643501a104&Culture=1033&UICulture=1033&ReportStack=1&OpType=PrintRequest", "ParticipantIDCard")
}
</script>
</BODY>
II)Second One is
I am loading images from Database (Sql Type:Image (Binary)), in SSRS report., In reportviewer of web App its not displaying, Only blank space i get in the place.
And For that specific field , In expression window redunder lined this
=Fields!FileData.Value ., here 'FileData' is Db field name..
Can you help me please.., Its very urgent to me...
Thanks Karthik