Configuring IIS(II7)/.NET 4 for Windows 2008/Windows 7


Please note that this document is meant as an aid to installing and configuring IIS 7/.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: %WINDIR%\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe –ir   OR  %WINDIR%\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe –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 7, 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.


 
IIS 7 Installation and Configuration - Server 2008/Windows 7

There are two methods for installing IIS on Server 2008/Windows 7 - 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 "Server Manager"

  4. Click on "Add Roles"
  5. Click "Next" on the "Before You Begin" screen
  6. Select "Web Server (IIS)

  7. Click "Next"
  8. Click "Next"
  9. Select "ASP.NET" on the Select Role Servers.


Installing Print Audit Secure Server


When running the Print Audit Secure Server installation file, right click on the executable and chose “Run as Administrator”.  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.

Configuring IIS 7 for Use with Print Audit Secure Server
 
Starting IIS 7:

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


  1. Select top level domain.
  2. Under IIS, select ISAPI and CGI Restrictions. 
  3. Select  ASP.NET v4.0.30319, then click "Allow" for both ASP.NET v4.0.30319 entries.

Note: If ASP.NET v4.0.30319 does not show in the ISAPI and CGI Restrictions, you will need to close IIS 7, 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. 


Verify that Print Audit Secure Server is set to use ASP.NET v4.0.30319  

  1. Highlight "PASecure"
  2. Right Click and chose "Properties"
  3. Click on the "ASP.NET' tab
  4. From the ASP.NET version dropdown, select "4.0.30319" and click Apply

Application Pools

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?