Zip Component, Email Component, Encryption Component ActiveX Control for Zip Compression .NET Components for ASP.NET
ActiveX and .NET Components for Zip Compression, Encryption, Email, XML, S/MIME, HTML Email, Character Encoding, Digital Certificates, FTP, and more ASP Email ActiveX Component


Index of Chilkat Blog Posts

August 15, 2007

How to run ChilkatDotNet2.dll in ASP.NET 2.0 w/ Medium Trust

Question from Web Hosting Provider:
How do I install ChilkatDotNet2.dll on the server?

Answer:
I provided a simple .zip you can download that contains only the ChilkatDotNet2.dll:
http://www.chilkatsoft.com/download/ChilkatDotNet2.zip

It’s a .NET assembly, so there’s nothing you really need to do to install it. The ChilkatDotNet2.dll will be copied to a web app’s bin directory by the website owner. As long as ASP.NET grants permission to load and use it, everything is fine. There are (at least) two ways to do it: 1) run ASP.NET in Full Trust mode. In this case, any .NET assembly is granted permission to load. Or… 2) your ASP.NET server runs Medium Trust, but you grant full trust to DLLs matching a StrongNameMembershipCondition (as shown in the blog post at http://www.chilkatsoft.com/p/p_116.asp). As long as the DLL is strong-named and the public-key matches that in the StrongNameMembershipCondition, the DLL is granted full trust. The only way a DLL can match and verify is if the strong-name was generated using a private key only held by the DLL’s publisher.


Privacy Statement. Copyright 2000-2011 Chilkat Software, Inc. All rights reserved.
Send feedback to support@chilkatsoft.com

Components for Microsoft Windows XP, 2000, 2003 Server, Vista, Windows 7, and Windows 95/98/NT4.