PDA

View Full Version : I need help about "TypeInitializationException"



Ahmed ElMaraghi
08-29-2010, 07:56 AM
For any function I am trying to use, I am receiving a "typeinitializationexception" error form the compiler so how can I overcome that exception.

ed
08-29-2010, 04:07 PM
You will see this with the IMSL C# Library when the license is not correctly configured. There are many things to try, but first I would be sure the FlexLM license DLL is in the local folder. Next, be sure the license file is located the directory pointed to by %LM_LICENSE_FILE%

Ahmed ElMaraghi
08-30-2010, 08:06 AM
I have checked all the lic files and validate it again and so I had overcome the problem ... thanks so much.

The problem was that the lic dll files were found in different location...