Hi Paspas,
It sounds as though you are searching for CDR records for the current date. I just ran a test using CDR Analysis and get your exact error message. CDR information is only available for the previous days calls.
Try changing the 'To Date' to the day before and it should work.
Also note you need to have the CDR Insert Service running on the Publisher to insert the CDR records into SQL.
Cheers,
Dan.