A
A_Haddad
Guest
So, I forced loading the .dll containing business classes just before executing business service. I did that in the C# project embedding Corticon Server DLLs (so it was not necessary to do it in the asp.net client project and that's better). I used standard C# instruction Assembly.LoadFrom() method. The good news is that the previous error message disappeared. The bad news: there is a new one (from Corticon logs): 2016-07-07 11:01:16.927 ERROR [pool-1-thread-1] d.c.1.0 - java.lang.ClassCastException : [ A ] Customer.Application.SFPromotion.Promotion0.Animatrice cannot be converted to [ B ] Customer.Application.SFPromotion.Promotion0.Animatrice . Type A comes from ' SFPromotion0, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null ' in the context ' LoadNeither ' from folder 'C:/fra2ntas07/DefaultCollection/Gina/POCS/CompetitionInlineConsole/BRMSResources\bin\SFPromotion0.dll'. Type B comes from ' SFPromotion0, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null ' in the context ' LoadFrom ' from folder 'C:\fra2ntas07\DefaultCollection\Gina\POCS\CompetitionInlineConsole\BRMSResources\bin\SFPromotion0.dll'. So the only difference I can see is about dll's "context"... But for the moment, I don't see any way to force the same context?
Continue reading...
Continue reading...