If I comment all the SetParameterValues its the same error.
I got this from the StackTrace:
at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
at CrystalDecisions.ReportSource.EromReportSourceBase.HandleException(Exception exception)
at CrystalDecisions.ReportSource.EromReportSourceBase.GetLastPageNumber(ReportPageRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.PrintToPrinter(Int32 nCopies, Boolean collated, Int32 startPageN, Int32 endPageN)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(Int32 nCopies, Boolean collated, Int32 startPageN, Int32 endPageN)
at FrizerskiSalon2014.PrintBill..ctor(DataCompany _c, DataOrder _o, DataLogin _l)
PS: what did you mean by "Can you attach the report here? (Rename it to *.txt, hit the "Use advanced editor" and attach."? Where can I get the report?
What would it mean, do you have any clue? But keep in mind that all the code was working fine in CR for VS2008 Basic.
PS2: you know what is funny? I have two other Reports to print (different ones) but with the exact same code as this one from 1st post, and printing works! I dont know why it doesnt this one.