Microsoft KB Archive/819125

= &quot;Application Name Is Not a Valid Win32 Application&quot; Error Message When You Try to Start ISA Services =

Article ID: 819125

Article Last Modified on 5/12/2003

-

APPLIES TO


 * Microsoft Internet Security and Acceleration Server 2000 Standard Edition

-



IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



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:

is not a valid Win32 application



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.



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:  Click Start, click Run, type regedit in the Open box, and then click OK. Locate and then click the following subkey in the registry: 

 Locate each ImagePath entry that contains a long file name. Double-click the Win31FileSystem registry entry, and then type 0 in the Value data box. Restart the ISA Server 2000-based server.

<div class="workaround_section">

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:  Click Start, click Run, type regedit in the Open box, and then click OK.</li> Locate and then click the following subkey in the registry: 

</li> Locate each ImagePath entry that contains a long file name.</li> 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\ \

edit the value so that it appears as follows:

&quot;%SystemRoot%\System32\ \ &quot;

</li> Restart the ISA Server 2000-based server.</li></ol>

Keywords: kberrmsg kbprb KB819125

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.