Hello,
I have deployed the Web Chart DLL at
http://softtelevision.com/infrag/default.aspx [Hosted on Godaddy]
I get the exception
[SecurityException: That assembly does not allow partially trusted callers.]Infragistics.WebUI.Shared.UltraLicenseAttribute..cctor() +0Is there any solution for the above?Kindly help.thanksStan
Stan,
You need to use the versions of our assemblies that make use of the "AllowPartiallyTrustedCallersAttribute" (APTCA). The following article from our online help documentation of NetAdvantage for .NET 2009 Volume 1 provides more information:Deploying an Application to a Partial-Trust Environment
Vince. I tried to do what you said. I added the following to my web.config.
</system.web> <!-- This line was already there --> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.vl" > <dependentAssembly> <assemblyIdentity name="Infragistics.WebUI.Shared.v5.2" PublicKeyToken="7dd5c3163f2cd0cb" /> <bindingRedirect oldVersion="5.2.20052.1028" newVersion="5.2.20052.1028" /> </dependentAssembly> </assemblyBinding > </runtime>
I got this error trying to run in my development environment.
Error 35 The type 'Infragistics.WebUI.Design.IGetClientSideEvents' is defined in an assembly that is not referenced. You must add a reference to assembly 'Infragistics.WebUI.Shared.v5.2, Version=5.2.20052.1028, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb'.
So I thought maybe I should rerun ILMerge, using the /ver tag. But that didn't seem to change the version number.
Any more thoughts. Thanks
Joel