Hello.. I can display the report ok but when I export to pdf etc i was getting the login failed error.. after speaking with crystal reports they said I should build my report etc in page init and also again on the export button on click event. NOW I am getting the following error.
Exception has been thrown by the target of an invocation.
Now!!: am I closer to a solution or am I further away?????? can anybody help as this is driving me mad. below is a copy of the code
Public Class PPCReport
Protected WithEvents exportTypesList As System.Web.UI.WebControls.DropDownList
Protected WithEvents exportByType As System.Web.UI.WebControls.Button
Private exportPath As String
Private myDiskFileDestinationOptions As DiskFileDestinationOptions
Protected WithEvents myCrystalReportViewer As CrystalDecisions.Web.CrystalReportViewer
Protected WithEvents cR_PPCReport1 As webDevVB.CR_PPCReport
Protected WithEvents Menu1 As skmMenu.Menu
Protected WithEvents lblMessage As System.Web.UI.WebControls.Label
Protected WithEvents crppC11 As webDevVB.CRPPC1
Protected WithEvents FirstPage_button As System.Web.UI.WebControls.Button
Protected WithEvents Back_button As System.
View Complete Post