cancel
Showing results for 
Search instead for 
Did you mean: 

Invalid IL-code error

Former Member
0 Kudos

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)

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

Using CR2008 (12.x) does not quite cut it as far as accurate info goes... e.g.; it does not tell me what update you've applied.

At minimum, you should be on version 12.2.0.290 ([SP2|https://wiki.sdn.sap.com/wiki/display/BOBJ/Crystal%20Reports%202008%20-%20Version%20and%20Download%20information%20for%20SPs%20and%20FPs]

Also, you do not mention your development language - and version...

Ludek

Follow us on Twitter http://twitter.com/SAPCRNetSup

Former Member
0 Kudos

I'm on the latest version of CR (I ran the update several times) and this did seem to solve the problem but created a world of other problems.

.NET 3.5 and Visual studio 2008

I can no longer deploy my application. Further more the updates and attempt to deploy have destroyed my designer (it won't start anymore).

After searching for close to 5 hours now reading all posts I could find about this, it would seem this is a problem since CR SP1 and is still not solved.

Adding the merge modules as described here:

does not work, I tryed every version I could get my hands on including the one's posted there still it doesn't work.

Even with the vc redistrubale it does not work.

How is it possible that this is still not solved?

This is exactly the reason I decided no longer to update CR because every time I did in the past I had such issues, there is always something that doesn't work anymore.

And once again I have them, I already lost well over a day on this now, and I'm getting more and more frustrated.

As it stands now I can't find a solution so I can no longer deploy my application.

If you have any suggestions please tell me because I'm a lose here.

Former Member
0 Kudos

After using the MSI runtime installer I once again have the same error (Invalid IL-code) and my designer is still not opening.

The designer gives me the error:

can not find entrypoint of procedure ?DDV_MinMaxDoubleText@CSLib300@@YAXPAVCDataExchange@@ABNNN@Z in DLL-file cslibu-3-0.dll

This is all for a very small application that took me all but 6 hours to write and has now taken me over a day just to get a working installer.

This is getting to the point of being ridiculous.

former_member183750
Active Contributor
0 Kudos

Marc, with all due respect. I think you want to back off a bit. Collect your thoughts and give me the info I asked for first. All I get is that you are frustrated. I only asked two questions and I have not got an accurate answer to either. I have never, ever seen the error you are getting. If you have found info on that exact error, please also share that.

Other than that, if this is a critical issue, I'd recommend creating a phone case here:

http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryI...

Ludek

Former Member
0 Kudos

I did supply you with the information you asked.

You asked the exact version of CR

I said I ran all the updates so my version should be 12.2.0.290 (I say should be since I can no longer check this because the designer and basically everything from CR is now no longer opening)

You asked my evelopment language - and version...

Granted I didn't say that it's vb.net but I did say .NET 3.5 (and there's no difference between C# and VB that could possible be the cause )

As to the exact error it's in the subject: I get nothing more than that

Just a messagebox saying "Invalid IL-code" (translated from dutch "Ongeldige IL-indeling") and after that the program crashes (even tho there is error handling in place)

I wish I could provide more info but I can't since I don't have it.

Everything I try'd fails.

I'v try'd the different merge modules (that's another big mess since 12.2 but I won't get into that here)

I'v try'd the independent msi runtime installer

I'v try'd to compile my application on a completely different development environment (to rule out any compiler issues)

I'v try'd it with different reports (even blank without any connections)

I'm now exploring the possibility that it could be related to a thirth party software but I'm almost certain that's not possible.

But it all keeps failing from time to time, and that's the really weird thing that it doesn't happen always.

I'v now been able to get it to a somewhat stable build (crashes only about 10% of the time) which I'll be deploying.

But since I can't afford not to deploy it to my client I have no choice other than to tell him that he'll just have to reboot the application when it crashes.

If I made it out to look as if I attacked you, I didn't mean that.

Answers (1)

Answers (1)

0 Kudos

Errors of this type: The designer gives me the error:

can not find entrypoint of procedure ?DDV_MinMaxDoubleText@CSLib300@@YAXPAVCDataExchange@@ABNNN@Z in DLL-file cslibu-3-0.dll usually indicate there is a major version conflict of Cr runtime. Make sure DEP and anti-virus software are not enabled, disocnnect from the network while running the install, and that you ahve full PC Admin rights.

We've never seen this error so it could well be a third party issue.