"Error loading type library/DLL" error after you install Systems Management Server Advanced Client on a computer that is running Microsoft Internet Information Services

Article translations Article translations
Article ID: 887308 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

After you install Microsoft Systems Management Server (SMS) 2003 Advanced Client on a computer that is running Microsoft Internet Information Services (IIS), ASP.NET Web-based programs that use Windows Management Instrumentation (WMI) may not be able to connect. Additionally, you may receive the following error message:
Error loading type library/DLL

CAUSE

This problem typically occurs after you the install SMS 2003 Advanced Client. During the installation of SMS Advanced Client, the Setup program registers the Policyagent.dll file. This action may change the current WMI COM registrations. In this case, the type library reference is updated to point to the Policyagent.dll-type library instead of the Wbemdisp.dll-type library.

When this problem occurs, the account that is used by the ASP.NET Web-based program may not have access to the Policyagent.dll file.

Note This problem does not occur if you are using VBScript or the System.Management namespace to access WMI.

RESOLUTION

To resolve this problem, follow these steps:
  1. Re-register the Wbemdisp.dll file. To do this, follow these steps:
    1. Use an administrative account to log on to the SMS Advanced Client computer. Click Start, click Run, type cmd, and then click OK.
    2. At the command prompt, type regsvr32 wbemdisp.dll.
    3. In the Regsvr32 dialog box, click OK.

    Note If you re-install SMS Advanced Client or apply a service pack hotfix, you may have to re-register the Wbemdisp.dll file.
  2. If the error still occurs, make sure that the ASP.NET or IIS account that is used to run the Web-based program has the correct permissions to use the Policyagent.dll file. To do this, follow these steps:
    1. Use Windows Explorer to locate and open the WINNT\system32\CCM folder.
      Note On an SMS management point computer, the Policyagent.dll file may reside in the SMS_CCM folder.
    2. Right-click the Policyagent.dll file, and then click Properties.
    3. In the Policyagent.dll Properties dialog box, click the Security tab.
    4. Make sure that the ASP.NET or IIS account that is used to run the Web-based program has read access permissions for the Policyagent.dll file, and then click OK.
  3. You may also be able to work around this problem by changing the account under which your ASP.NET program runs. ASP.NET Web-based programs are typically run by the Aspnet_wp.exe or W3wp.exe process.

    For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
    317012 Process and request identity in ASP.NET
Note This problem typically occurs on Windows XP-based computers that are running IIS. Windows Server 2003-based computers that are running IIS are not affected by this problem because the ASP.NET program runs under the system account. The system account has access to the Policyagent.dll file.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Properties

Article ID: 887308 - Last Review: October 27, 2006 - Revision: 1.2
APPLIES TO
  • Microsoft Systems Management Server 2003
Keywords: 
kbtshoot kbprb KB887308

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com