Hi Ludek,
Testing I have placed the reportdocument.Refresh() before the SetParameterValue and now the page doesn't crash, the report is printed but it is not refreshed, the data are old.
reportdocument.Refresh()
reportdocument.SetParameterValue("CustomerId", TCtrCustomerToPrint.Text)
All these tests are working properly in the developing machine Windows 8 64 bits, when I deploy it in production Server 2012 64 bits, the report print from the button doesn't work. I have checked the two web.config files and I have all the Crystal Report references in both.?????? DOES THIS MAKE SENSE???