Error message when you try to build a C++ Web project by using Visual Studio 2005: "Error VCD0038" (907297)



The information in this article applies to:

  • Microsoft Visual Studio 2005 Standard Edition
  • Microsoft Visual Studio 2005 Professional Edition
  • Microsoft Visual Studio 2005 Express Edition
  • Microsoft Visual Studio 2005 Team System Architect Edition
  • Microsoft Visual Studio 2005 Team System Developer Edition
  • Microsoft Visual Studio 2005 Team System Team Foundation:
  • Microsoft Visual Studio 2005 Team System Test Edition

SYMPTOMS

When you try to build a C++ Web project by using Microsoft Visual Studio 2005, you may receive the following error message:
vcdeploy : error VCD0038: An error occurred registering the ISAPI extension. Make sure the extension is located at the correct path in the virtual directory.
Note This behavior occurs when you are using a 64-bit operating system, such as Microsoft Windows XP Professional x64 Edition.

CAUSE

This behavior occurs when Visual Studio 2005 uses the 32-bit version of the VCDeploy process. The 32-bit version of the VCDeploy process cannot register 64-bit Internet Server API (ISAPI) DLL files.

WORKAROUND

To work around this behavior, make sure that Visual Studio 2005 uses the 64-bit version of the VCDeploy process. To do this, follow these steps:
  1. Open Visual Studio 2005.
  2. On the Tools menu, click Options.
  3. In the Options dialog box, double-click Projects and Solutions, and then click VC++ Directories.
  4. In the Platform list, click Win64 (AMD64).
  5. In the Show directories for list, click Executable files.
  6. Press CTRL+INSERT, and then type $(VCInstallDir)bin\amd64.
  7. To close the Options dialog box, click OK.
  8. On the Build menu, click Rebuild Solution.

STATUS

This behavior is by design.

Modification Type:MajorLast Reviewed:3/6/2006
Keywords:kbISAPIExt kbCompiler kbDLL kbAPI kbtshoot kbnofix kbprb KB907297 kbAudDeveloper