Skip to Content
Former Member
May 26, 2010 at 08:49 AM

Invalid IL-code error


I get the above error when opening a crystal report in the viewer, nothing more just a message saying 'Invalid IL-code' and the report won't show.

The really weird thing tho is that I don't get it always.

In designer however I can get the 12.x version of the viewer control onto my form.

When I try the 10.x version of the control it does work but I can't use this one since it doesn't support everything I need.

Any idea's as to what this can be?

I'm currently updating CR to see if it is fixed but I'm not that hopeful about it.

I'v been using this version of CR and this exact code in countless other projects, and never had any problems until now.

Using CR2008 (12.x)