Click here to Skip to main content
11,931,584 members (66,360 online)
Rate this:
Please Sign up or sign in to vote.
See more: VB VB.NET compiler
i'm using a ip works v8.0 in application and a runing project error message : System.InvalidProgramException : jit compiler encountered an internal limitation.
Posted 11-Apr-13 22:54pm
Edited 12-Apr-13 3:54am
ryanb31 12-Apr-13 8:54am
Need a lot more details. When does it happen? What line of code causes it? Etc.
Sergey Alexandrovich Kryukov 12-Apr-13 11:31am
Very interesting, but without a code sample there is nothing to discuss. This is certainly a very unusual situation. Please try to develop a code sample to reproduce this problem.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2

Try turning off IntelliTrace and see if the problem goes away.
Spontifixus 22-Aug-14 9:59am
Thant's it. Thanks a lot...
Rate this: bad
Please Sign up or sign in to vote.

Solution 1

I believe this is one of the problems that can occur in the linking phase, when the JIT compiler finds multiple identical methods in the same namespace and cannot decide which one to actually link. This can happen if, say, a DLL is updated to include a method with the same fully qualified name as in another DLL used by the same assembly.

In the absence of any code, however, this is only a rough guess.
It sounds very interesting, I never could imagine it before. Did you face it? Do you know how to reproduce such case. A DLL cannot be updated, for sure, but can an an assembly be updated during runtime? I don't think so. System.Reflection.Emit allows you to create and load new assembly or dynamic methods. In both cases, I cannot see the clear case.

I'm thinking... Are you saying that I can load an extra assembly with System.Reflection.Emit (or even load from disk) successfully, and, if it has the same fully qualified type name with some matching members as some previously existing type, it can create such problem? I could try it out...

Thank you,
sistsrajan 18-Apr-13 3:17am
Is this error occur while using a usercontrol in a form

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web03 | 2.8.151126.1 | Last Updated 14 Aug 2014
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100