Microsoft Knowledge Base Email Alertz

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

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 922736 - Last Review: July 28, 2006 - Revision: 1.0

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

On This Page

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  (http://kbalertz.com/Feedback.aspx?kbNumber=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:
http://www.microsoft.com/downloads/details.aspx?familyid=c943c0dd-ceec-4088-9753-86f052ec8450 (http://www.microsoft.com/downloads/details.aspx?familyid=c943c0dd-ceec-4088-9753-86f052ec8450)
For more information about Microsoft XML Core Services 4.0 Service Pack 2, visit the following Microsoft Web site:
http://www.microsoft.com/downloads/details.aspx?familyid=3144b72b-b4f2-46da-b4b6-c5d7485f2b42 (http://www.microsoft.com/downloads/details.aspx?familyid=3144b72b-b4f2-46da-b4b6-c5d7485f2b42)

APPLIES TO
  • Microsoft Internet Information Services 6.0
  • Microsoft Internet Information Services 5.0
Keywords: 
kbwebservices kbtshoot kbprb KB922736
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate