Microsoft KB Archive/248418

= FIX: Unable to Develop IIS Applications (WebClasses) on Windows 2000 =

Article ID: 248418

Article Last Modified on 8/7/2007

-

APPLIES TO


 * Microsoft Visual Basic 6.0 Learning Edition
 * Microsoft Visual Basic 6.0 Professional Edition
 * Microsoft Visual Basic 6.0 Enterprise Edition

-



This article was previously published under Q248418



SYMPTOMS
When developing IIS Applications (WebClasses) on Microsoft Windows 2000, the following error messages occurs:

Internet Information Server or Peer Web Services version 3.0 or later must be installed to run WebClass.

-or-

Error in Loading DLL

which may then be followed by these additional error messages:

Errors during load. Refer to 'C:\Program Files\Microsoft Visual Studio\VB98\Template\Projects\WebClass.log' for details.

-and-

'C:\Program Files\Microsoft Visual Studio\VB98\Template\Projects\WebClass.Dsr' could not be loaded.



CAUSE
The WebClass Designer searches the registry for the Active Server Pages (ASP) 2.0 Type Library key. By default, Windows 2000 only has the registry key for the 3.0 version of the ASP Type Library. Because of this, the above error messages occur.



RESOLUTION
NOTE: The following resolution requires the use of Regtlib.exe, which is contained in Visual Studio Service Pack 3. To obtain Visual Studio Service Pack 3, see the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/vstudio/Aa718364.aspx

Registering the ASP.tlb Type Library adds the 2.0 key to the ASP Type Library registry entry. The asp.tlb file can be found on Disk 1 of either the Professional or Enterprise version of Microsoft Visual Studio in the following directory:

Common\IDE\IDE98

Copy asp.tlb to the following directory:

Program Files\Microsoft Visual Studio\Common\IDE\IDE98

Use the regtlib.exe file to register the ASP 2.0 Type Library.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This bug was corrected in the latest service pack for Visual Studio 6.0.

For additional information about Visual Studio service packs, click the following article numbers to view the articles in the Microsoft Knowledge Base:

194022 INFO: Visual Studio 6.0 Service Packs, What, Where, Why

194295 HOWTO: Tell That a Visual Studio Service Pack Is Installed

To download the latest Visual Studio service pack, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/vstudio/Aa718353.aspx



MORE INFORMATION
Some Microsoft applications, including Visual Studio 6.0 Service Packs 2 and 3, register the asp.tlb 2.0 Type Library automatically. The stand-alone Visual Basic 6.0 does not.

Additional query words: sp4

Keywords: kbbug kbdesigner kberrmsg kbfix kbvs600sp4fix kbwebclasses KB248418

-

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

© Microsoft Corporation. All rights reserved.