Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

"Application Name Is Not a Valid Win32 Application" Error Message When You Try to Start ISA Services


View products that this article applies to.

Symptoms

When you install Internet Security and Acceleration (ISA) Server 2000 on a Windows 2000 Server-based computer, some ISA Server services may not start.

In this scenario, you may receive the following error message in the Event Viewer:
Application name is not a valid Win32 application

↑ Back to the top


Cause

This issue may occur if the computer is not configured to support long file names in the registry. Note that ISA Server 2000 uses ImagePath values that contain long file names in the registry. Therefore, if long file names are disabled in the registry, the ImagePath values do not work.

On some computers, the value of the Win31FileSystem registry entry is set to 1 to prevent a FAT file system from creating long file names. This value prevents Windows from creating new long file names on all FAT volumes. However, existing long file names remain intact but are not displayed in My Computer, Windows Explorer, or at the command prompt. By default, Windows 2000 supports long file names on FAT volumes.

↑ Back to the top


Resolution

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To resolve this issue, set the value of the Win31FileSystem registry entry to 0 (zero). To do this, follow these steps:
  1. Click Start, click Run, type regedit in the Open box, and then click OK.
  2. Locate and then click the following subkey in the registry:
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\FileSystem
  3. Locate each ImagePath entry that contains a long file name.
  4. Double-click the Win31FileSystem registry entry, and then type 0 in the Value data box.
  5. Restart the ISA Server 2000-based server.

↑ Back to the top


Workaround

To work around this issue, use quotation marks to enclose the references to the long file names in the registry. To do this, follow these steps:
  1. Click Start, click Run, type regedit in the Open box, and then click OK.
  2. Locate and then click the following subkey in the registry:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
  3. Locate each ImagePath entry that contains a long file name.
  4. Double-click each ImagePath entry that contains a long file name, and then add a quotation mark to the beginning and the end of the ImagePath value in the Value data box. For example, if the Value data box contains the following
    %SystemRoot%\System32\Long Folder Name\Long File Name
    edit the value so that it appears as follows:
    "%SystemRoot%\System32\Long Folder Name\Long File Name"
  5. Restart the ISA Server 2000-based server.

↑ Back to the top


Keywords: KB819125, kberrmsg, kbprb

↑ Back to the top

Article Info
Article ID : 819125
Revision : 2
Created on : 5/12/2003
Published on : 5/12/2003
Exists online : False
Views : 213