You received an error message saying that no reference to the component is found.
Since it is not possible for Visual Studio 2005 or Visual Web Developer 2005 to reference a component that is installed on a remote server, you will need to download and install the trial version of the component on your local machine. Install the same version that is installed on the web server. You can add the reference after you install the component.
To add reference to your project, follow these steps:
- First, make sure that the assembly exists in your local computer's assembly folder. You will need to add it if the component installation did not do so. This is to replicate the web server environment.
- Reopen Visual Studio after component installation.
- Open the project.
- Modify the web.config file of the project to load the assembly. Visual Studio will then automatically recognize it as a GAC-type Reference.
- You can now import the assembly namespace into your application.
Note: If the component adds Toolbox controls to Visual Studio and you choose to use those controls, Visual Studio will automatically add the References to the project.
After the trial period expires, you may not be able to run the application on your local machine but the application should work fine once you upload it to DiscountASP.NET web servers.
Alternatively, you can purchase the ASP.net component from the component vendor for long term use on your local machine.
Article ID: 100, Created On: 11/6/2008, Modified: 4/22/2011