My company just released an application that use LLBLGenPro v2.5 (220.127.116.11) with CoreLab (18.104.22.168). We are interested in hosting the application at MOSSO System (http://www.mosso.com/). However we didn't make the production successfully. When we upload a very simple application (a grid that populates some data) we got this error:
We had successfully run similar applications in other hosting providers, so I don't think it would be a LLBLGen problem or Corelab's one.Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: That assembly does not allow partially trusted callers.
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
[SecurityException: That assembly does not allow partially trusted callers.]
MEP.DatabaseSpecific.PersistenceInfoProviderCore.InitPartidoEntityMappings() in PersistenceInfoProvider.cs:175
MEP.DatabaseSpecific.PersistenceInfoProviderCore.Init() in PersistenceInfoProvider.cs:68
MEP.DatabaseSpecific.PersistenceInfoProviderCore..ctor() in PersistenceInfoProvider.cs:51
MEP.DatabaseSpecific.PersistenceInfoProviderSingleton..cctor() in PersistenceInfoProvider.cs:24
MOSSO Support says:
So I write to you looking for in some way workaround this. Maybe you could give a guide to configure my web.config to solve this.Our in house IIS admin asked if you could recompile the DLL's to allow the
partially trusted callers?
Would this be possible?
Thanks in advance for any clue.