Configuring IIS(II6)/.NET 4 for Windows 2003/Vista

Please note that this document is meant as an aid to installing and configuring IIS 6/.NET 4 for use with Print Audit Secure Server rather than a step by step guide.  The actual sequence of steps will depend on the components installed on the server and the order in which they have been installed. Modifications to an existing IIS installation should be done by a qualified administrator.

ASP.NET 4.0 Framework

Please Note: You should install IIS before installing .NET Framework 4. If you installed IIS after installing .NET Framework 4, then you must register ASP.NET 4.0 with IIS. To do this:

  1. Open a Command prompt window by using the Run As Administrator option
  2. Run the following command:  
  • cd "C:\<WINDOWS DIRECTORY>\Microsoft.NET\Framework\v4.0.30319\" and run “aspnet_regiis -ir" 

Even when installing .NET Framework before IIS, sometimes .NET will have to be registered with IIS.  If .NET 4 is not found in the ISAPI and CGI configuration section of IIS 6, then .NET will have to be registered.  NET 4 Framework may require that the Windows Imaging Component be installed as a prerequisite of .NET Framework depending on the versions of Windows you are installing .NET 4 Framework on.  These are basic instructions for installing and configuring IIS and .NET Framework 4 for use with Print Audit Secure.  Some of the components may already be installed depending on the environment.

Installing ASP.NET 4.0 Framework

The .NET Framework is made up of the .NET Framework 4 Client Profile and .NET Framework 4 Extended components that exist separately in Programs and Features.  .NET Framework 4 Extended must be installed for ASP.NET applications to run.  To determine if the necessary .NET 4 items are installed:

  1. Go to Control Panel
  2. Go to Add/Remove Programs
  3. Look for the following Microsoft .NET Framework items.
Secure2.jpg 6.25 KB


IIS 6 Installation and Configuration - Server 2003/Vista


There are two methods for installing IIS on Server 2003/Vista - using Administrative Tools or Add/Remove Programs.  Note: Both methods of installation may require the Windows Operation System installation disk.

Administrative Tools

  1. Go to "Start Menu"
  2. Select "Administrative Tools"
  3. Select "Manage Your Server"
  4. Click on "Add or remove a role"
  5. Click "Next" on the Configure Your Server Wizard.
  6. Select "Application server (IIS, ASP.NET)" from the Server Role.  Click "Next".
  7. Select "Enable ASP.NET" from the Application Server Options. Click "Next".
  8. Click Next on the Summary of Selections.
 
Add/Remove Programs

  1. Go to "Start Menu"
  2. Select Control Panel
  3. Select "Add/Remove Programs"
  4. Select "Add/Remove Windows Components"
  5. Select "Application Server" from the Windows Components.  Click Next.

Installing Print Audit Secure Server

When running the Print Audit Secure Server installation file, right click on the executable and chose “RunAs”.  Uncheck the “Run this program with restricted access”.  If the install is run with restricted access, a number of components may not install properly and may have insufficient rights assigned to the Print Audit Secure Server directories.

Secure3.png 60.29 KB


Configuring IIS 6 for Use with Print Audit Secure Server

 
Starting IIS 6:

  1. Start Menu
  2. All Programs
  3. Administrative Tools
  4. Internet Information Services (IIS) Manager
 
Enable ASP.NET v4.0.30319:

Secure4.jpg 57.41 KB


  1. Select Web Service Extensions.
  2. Highlight ASP.NET v4.0.30319
  3. Click on "Allow"

Note: If ASP.NET v4.0.30319 does not show in the Web Service Extensions, you will need to close IIS 6, verify that ASP.NET v4.0.30319 is installed and register it with IIS as per the ASP.NET v4.0.30319 Framework section above.

Set Print Audit Secure Server to Use ASP.NET v4.0.30319:

Secure5.jpg 40.02 KB



  1. Locate the PASecure website in IIS.  By default, this is under the "Default Web Site".
  2. Highlight "PASecure"
  3. Right Click and chose "Properties"
  4. Click on the "ASP.NET' tab
  5. From the ASP.NET version dropdown, select "4.0.30319" and click Apply

Application Pools

Secure6.jpg 39.66 KB


Print Audit Secure will create its own Application Pool.  You can verify that the Application Pool is running by right clicking on "PASAppPool".  If the Application Pool is running, the "Start" option will be greyed out.

Verifying Print Audit Secure Server and IIS/.Net Installation

To verify that the installation and configuration are correct:

  1. Open a web browser on the server.
  2. Type "localhost/pasecure" in the address bar.
  3. The "Configure Print Audit Secure" web page should display.
How did we do with this article?