PASSPORT Knowledge Base
Error Messages

Date Published: August 7, 2008
Date Published: June 29, 2010

Title

HTTP error with eCode 500

Product

PASSPORT Web to Host

Emulation Types

TN3270, TN5250, VT, SCO ANSI, Wyse 60

Issue

When trying to launch a PASSPORT Web to Host session, I am getting an "HTTP eCode=500" error message.

Solution

This error will occur when the .NET 2.0 framework is installed prior to installation if IIS. You will need to register .NET with IIS using the following instructions:

  1. Click Start, and then click Run.
  2. In the Open text box, type cmd, and then press ENTER.
  3. At the command prompt, type the following, and then press ENTER:

    "%windir%\Microsoft.NET\Framework\version\aspnet_regiis.exe" -i

    In this path, version represents the version number of the .NET Framework that you installed on your server. You must replace this placeholder with the actual version number when you type the command.

You may also need to enable ASP.NET in IIS using the following instructions:

  1. Open the IIS Manager
  2. Select Web Service Extensions
  3. In the right-hand pane, right-click on ASP.NET v2.0 and select Allow

A few additional things you may need to look for:

  1. If your server has multiple .NET framework versions installed, the pec and pecadmin (or comparable) virtual directories need to be pointing to ASP.NET v 2.0 or higher.  This is done from the virtual directories properties.

  2. If you have multiple .NET framework versions running on the same IIS server.  You have to create a separate application pool for PASSPORT. See links for more info:

    http://forums.asp.net/t/1003070.aspx

    http://www.developer.com/net/asp/article.php/2245511


    When creating an application pool, you may have to (not always) change the identify authority to LocalSystem:

More Information

Keywords

error, ecode 500, .net, framework, register, iis