How to add an assembly reference in the web.config file?
This information in this article applies to:
ASP.NET Components
Web.config
To access the ASP.net components, you would have two options:
- Reference the assembly with the web.config file in the application
- Register the assembly in the page that you wish to use the component
Sample on 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>
PLEASE NOTE: You will need to insert the correct AssemblyName, Version, Culture, and PublicKeyToken for the assembly in the web.config. You can find the detailed assembly version information in the Knowledge Base articles related to the component you want to use which can be found in the Installed Components folder.
Article ID: 189, Created On: 5/27/2008, Modified: 5/27/2008