Hello,
I'm just about concluding a win-forms pjt which uses crystal report for its print/print preview capabilities on VS 2005. The problem is whenever I try viewing a report using the crystal report viewer or try printing a report directly via code without viewing it I experience severe system hangs some times I have to power off the system.
In trying to curb the problem I've scanned my system for virus (found none using Panda), disabled the anti-virus to chk if by any chance it interfares. Nevertheless the problem wasn't solved.
I stepped thru my codes several times and on several occations I was able to detect the culprit. The system hangs whenever:
* A report object is about to be instantiated (i.e. when the constructor gets called)
*If not there, then wen the SetDataSource method is invoked.
The annoying thing is at times the whole thing goes through without incident. So pls help me out.
Replies
Know the answer? Post it — somebody with the same question will find it here.