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
Joel,
The article I referenced noted that we added APTCA assemblies to our toolset starting with NetAdvantage for .NET 2006 Volume 3. You're using NetAdvantage 2005 Volume 2, so APTCA versions of these assemblies are not available.
If you're deploying to a medium-trust environment, I recommend that you upgrade to a more recent version of our toolset. I recall that there were a lot of difficulties with the ILMerge solution, though I don't currently recall what those difficulties were.
So I need to spend $1000 to fix what never worked in the first place. Maybe so, after I browse the competition. I've already invested about 10 hours following the posts on this site, and this answer doesn't make me very happy.