How do I add an assembly reference in the web.config file?

To access the ASP.NETcomponents installed on our web servers, you have two options:

1) Register the assembly in the page you wish to use the component
2) Reference the assembly with the web.config file in the application

The following is the generic form of how to add an assembly reference in the web.config file.

 
<configuration> 
  <system.web> 
    <compilation> 
      <assemblies> 
        <add assembly="<AssemblyName>, Version=<Version>, Culture=<Culture>, PublicKeyToken=<PublicKeyToken>"/>  
      </assemblies> 
    </compilation> 
  </system.web> 
</configuration> 
 

Note: You will need to insert the AssemblyName, Version, Culture, and PublicKeyToken for the assembly in the web.config.

Note: You can find the detailed assembly version information (IE: AssemblyName, Version, Culture, PublicKeyToken) in our  Knowledge Base articles for the specific component.

Add Feedback