Understanding The Infragistics 2004 Volume 2 IIS Virtual Directory Installation

Whenever installing the Infragistics NetAdvantage 2004 Volume 2 software, you should assert the IIS Virtual Directory installation. Since the Web Elements rely heavily on the JavaScript files that reside in the ig_common virtual directory, it is important that the installation was successful.

The default installation is as follows:

It is a good idea to ensure that the directories, along with the JavaScript files and images are located in each of the control’s elements.

Another check we should do is to see if the Virtual Directory is actually set up and running. To do this, simply launch the IIS management console and then look for the ig_common Virtual Directory as follows:

Another test that we can perform is to see if the Virtual Directory is correctly hosting the contents contained within. To do this, simply launch your WWW browser and type the following address into the Address bar:

As you see, entering the URL and pressing enter results in the image file displayed in the browser. This proves that the ig_common Virtual Directory is properly set up.

The last test that we can perform involves making a simple project with a WebGrid. The purpose of this is to ensure that the JavaScript files are being properly loaded when running the Web Application. First, you must ensure that you have JavaScript debugging enabled. To turn this feature on, you will need to open an instance of IE, do to Tools, then Internet Options and set the following properties as follows:

Now you are able to debug JavaScript through Visual Studio as well as see all Running Documents in your project.

Run your test project and show the Running Documents window. With a simple WebGrid, you should see the following Documents:

At this point you should have a good idea about how your ig_common is set up as well as its health. This will help you understand the architecture behind the Web Applications and their dependency on this Virtual Directory.

The affect of Hot Fixes on the ig_common Virtual Directory:

Whenever a Hot fix is installed, it is a good idea to spend a few moments to ensure that the JavaScript files have been properly added to the ig_common Virtual Directory. To perform this test, simply go to the following directory:

You will notice that all JavaScript files are located in this directory. These are the NEW ones that come with the Hot Fix. You will want to make sure that these JavaScript files made their way into each ig_common sub directory. If they did not, you will get JavaScript exceptions. This happens because the new Assemblies will be expecting to call functions from within the new JavaScript files that may or may not exist in previous versions. For this reason, the JavaScript files must match the Assemblies that have been installed in the Hot Fix.