Main Menu
Knowledge Base
Product Registration
Log an Incident
Request a Feature
Search Incidents/Bug Reports


Search KB

Please note: In an effort to better serve you, we are in the process of restructuring DevCenter. In the process, we have moved many items that you may be used to finding in DevCenter over to the Main Site. If you are having trouble locating something, please try looking at the following places:

Knowledge Base Article: KB010008

FAQ:Configuring ASP.NET Samples for use with Windows Vista


The information in this article applies to:
ALL (vAll)
  Article Created: 
11/3/2006

Last Updated:
3/9/2007

Article Type
FAQ
  
Page Options
Average Rating:
8 out of 10

Rate this page
Print this page
E-mail this page
Add to Favorites

Summary

Starting with NetAdvantage for .NET 2006 Volume 3 for CLR 2.0, Infragistics supports the use of NetAdvantage on the Windows Vista operating system. To run the ASP.NET samples for this version of NetAdvantage for .NET in IIS on Vista, however, requires a number of manual setup steps that the installer cannot perform.

If you are using IIS 7.0, a set of additional steps will need to be followed, or else an error page will be displayed when the Samples Browser is launched.

Note: Except in rare circumstances, these steps are only required to run the samples for NetAdvantage for .NET 2006 Volume 3 for CLR 2.0. It should not be required to run the samples for later versions of the toolset, unless automatic configuration somehow failed.

Step-By-Step Example

Before you can follow any of the below steps, you should first install the volume of NetAdvantage for .NET that you are going to use.

Configure Samples Browser virtual directories in IIS
1) Open the Control Panel.
2) Switch to Classic View.
3) Launch "Administrative Tools".
4) Launch "Internet Information Services (IIS) Manager".
Screenshot – Internet Information Services Manager

5) Expand the tree nodes on the left pane, where it says "Connections".
6) Right-click on "Default Web Site", and select "Add Virtual Directory".
Screenshot – Add Virtual Directory Option

7) When prompted with the "Add Virtual Directory" dialog:
    a. For "Alias", you will need to enter a version-specific name. If you are installing NetAdvantage for .NET 2006 Volume 3 for CLR 2.0, use the following value: ig_samples20063clr20
    b. For Physical Path, you will need to enter the path to the samples, which will depend on the destination folder you installed to. For example, if you installed NetAdvantage for .NET 2006 Volume 3 for CLR 2.0 to the default location, use the following value: C:\Program Files\Infragistics\NetAdvantage 2006 Volume 3 CLR 2.0\ASP.NET\Samples
    c. Click "OK" to save the changes.
Screenshot – Add Virtual Directory Dialog – ig_samples20063clr20

8) Right-click on the virtual directory created in step 7 above, and select "Add Application."
9) When prompted with the "Add Application" dialog:
    a. For "Alias", enter: CS
    b. For Physical Path, you would enter the "CS" subdirectory of the directory used in step 7b above. So, again assuming you installed NetAdvantage for .NET 2006 Volume 3 for CLR 2.0 to the default location, use the following value: C:\Program Files\Infragistics\NetAdvantage 2006 Volume 3 CLR 2.0\ASP.NET\Samples\CS
    c. Click "OK" to save the changes.
10) Repeat step 8. This time, when prompted with the "Add Application" dialog:
    a. For "Alias", enter: VB
    b. For Physical Path, you would enter the "VB" subdirectory of the directory used in step 7b above. So, again assuming you installed NetAdvantage for .NET 2006 Volume 3 for CLR 2.0 to the default location, use the following value: C:\Program Files\Infragistics\NetAdvantage 2006 Volume 3 CLR 2.0\ASP.NET\Samples\VB
    c. Click "OK" to save the changes.
Screenshot – Created CS and VB virtual directories

Configure ig_common and WebSchedule virtual directories in IIS
1) Open "Internet Information Services (IIS) Manager" as described in steps 1-4 for configuring the Samples Browser in IIS.
2) If you've already created an "ig_common" virtual directory in the default website, such as for another volume of NetAdvantage, skip to step 4. Otherwise, right-click on "Default Web Site", and select "Add Virtual Directory".
3) When prompted with the "Add Virtual Directory" dialog:
    a. For "Alias", enter: ig_common
    b. For Physical Path, enter the path to the "aspnet_client\infragistics" subdirectory of where your Default Web Site is stored. Assuming that your Default Web Site is at the default location, use the following value: C:\Inetpub\WWWRoot\aspnet_client\infragistics
    c. Click "OK" to save the changes.
Screenshot – Add Virtual Directory Dialog – ig_common

4) Expand the "ig_common" virtual directory, and also expand the appropriate subdirectory for the version of NetAdvantage you are installing. For NetAdvantage for .NET 2006 Volume 3 for CLR 2.0, this subdirectory will be "20063CLR20".
5) Right-click on the "Forms" subdirectory and select "Add Application".
6) When prompted with the "Add Application" dialog:
    a. For "Alias", enter: WebSchedule
    b. For Physical Path, enter a version-specific path to a Forms\WebSchedule subdirectory underneath the ig_common virtual directory. For NetAdvantage for .NET 2006 Volume 3 for CLR 2.0 and assuming the Default Web Site is at the default location, use the following value: C:\Inetpub\WWWRoot\aspnet_client\Infragistics\20063CLR20\Forms\WebSchedule
Screenshot – Add Application Dialog – WebSchedule

Configure data and chart image folder permissions for Samples Browser
1) Using Windows Explorer, navigate to the location of the ASP.NET Samples folder underneath the location where NetAdvantage was installed. Assuming this is for NetAdvantage for .NET 2006 Volume 3 for CLR 2.0 at the default location, this path will be: C:\Program Files\Infragistics\NetAdvantage 2006 Volume 3 CLR 2.0\ASP.NET\Samples\
2) Right-click the "Data" subdirectory and select "Properties".
3) Select the "Security" tab and click "Edit".
4) Select "Users" from the "Group or user names" list box.
5) Check the "Full Control" checkbox under "Permissions for Users".
6) Click "OK" to save changes.
Screenshot – Permissions For Data Directory

7) Navigate to the location of the WebCharts subdirectory under the ASP.NET C# samples folder. Assuming this is for NetAdvantage for .NET 2006 Volume 3 for CLR 2.0 at the default location, this path will be: C:\Program Files\Infragistics\NetAdvantage 2006 Volume 3 CLR 2.0\ASP.NET\Samples\CS\WebCharts
8) Right-click the "ChartImages" folder and select "Properties".
9) Repeat steps 3 through 6.
10) Navigate to the location of the WebCharts subdirectory under the ASP.NET VB.NET samples folder. Assuming this is for NetAdvantage for .NET 2006 Volume 3 for CLR 2.0 at the default location, this path will be: C:\Program Files\Infragistics\NetAdvantage 2006 Volume 3 CLR 2.0\ASP.NET\Samples\VB\WebCharts
11) Right-click the "ChartImages" folder and select "Properties".
12) Repeat steps 3 through 6.

Configure Samples for use with IIS 7.0
1) Using Windows Explorer, navigate to the location of the ASP.NET C# Samples folder underneath the location where NetAdvantage was installed. Assuming this is for NetAdvantage for .NET 2006 Volume 3 for CLR 2.0 at the default location, this path will be: C:\Program Files\Infragistics\NetAdvantage 2006 Volume 3 CLR2.0\ASP.NET\Samples\CS
2) Open the file "Contents.aspx.cs" with a text editor, such as Notepad. IMPORTANT: You will need to open the text editor with administrative priviledges to be able to save changes to this file. You must either disable User Account Control (UAC), or right-click the shortcut for Notepad (or other editor) and select "Run as administrator."
3) Find the line that reads:

if (Request["t"] == null)

4) Change this line to instead read:

if (Request["t"] == null || Request["t"].Length == 0)

Screenshot – Editing contents.aspx.cs

5) Save this change.
6) Navigate to the location of the ASP.NET VB.NET Samples folder underneath the location where NetAdvantage was installed. Assuming this is for NetAdvantage for .NET 2006 Volume 3 for CLR 2.0 at the default location, this path will be: C:\Program Files\Infragistics\NetAdvantage 2006 Volume 3 CLR2.0\ASP.NET\Samples\VB
7) Open the file "Contents.aspx.vb" with a text editor. IMPORTANT: As in step 2 above, you must open the text editor with administrative priviledges to be able to save changes to this file.
8) Find the line that reads:

If Request("t") Equals Nothing Then

9) Change this line to instead read:

If Request("t") Is Nothing OrElse Request("t").Length = 0 Then

Screenshot – Editing contents.aspx.vb

10) Save this change.

Related Articles

FAQ: Installing NetAdvantage for .NET on Windows Vista (KB09983)


How would you rate the quality of this content?
Poor -----------------------------------------> Outstanding

Tell us why you rated the content this way. (optional)