Error message when you try to access a Web service that is hosted on IIS: "HRESULT=0x80040154" (922736)



The information in this article applies to:

  • Microsoft Internet Information Services 6.0
  • Microsoft Internet Information Services 5.0

SYMPTOMS

When you try to access a Web service that is hosted on Microsoft Internet Information Services (IIS), you may receive an error message that resembles the following:
WSDLReader: Loading of the WSDL file failed HRESULT=0x80040154: Class not registered.
This issue may occur when you start a client program or a script that uses the SOAP communication protocol to access the Web service.

CAUSE

This issue may occur if one of the following conditions is true:
  • The client program is not installed correctly.
  • The files that are included in the client program are registered incorrectly.
  • You include the redistributable files from the Microsoft SOAP Toolkit 3.0 in the client program installation package.

RESOLUTION

To resolve this issue, use one of the following methods.

Method 1: Reinstall the client program

Reinstall the client program.

Method 2: Manually register the files that are included in the client program

Use the Regsvr32a.exe application to manually register the files that are included in the client program installation package.

For more information about how to use the Regsvr32a.exe application, click the following article number to view the article in the Microsoft Knowledge Base:

161983 ACC: Regsvr32a.exe available in Download Center

Method 3: Install Microsoft XML Core Services 4.0 Service Pack 2

If Microsoft XML Core Services 4.0 Service Pack 2 or Microsoft XML Core Services 4.0 Service Pack 1 is already installed when you install the client program, install Microsoft XML Core Services 4.0 Service Pack 2. Because the SOAP Toolkit 3.0 includes Microsoft XML Core Services 4.0, some .dll files may be overwritten when you install the client program.

REFERENCES

For more information about the SOAP Toolkit 3.0, visit the following Microsoft Web site:For more information about Microsoft XML Core Services 4.0 Service Pack 2, visit the following Microsoft Web site:

Modification Type:MajorLast Reviewed:7/28/2006
Keywords:kbWebServices kbtshoot kbprb KB922736 kbAudDeveloper kbAudITPRO