FIX: Unable to Develop IIS Applications (WebClasses) on Windows 2000 (248418)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
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.
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.
'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.
RESOLUTIONNOTE: 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:
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:
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.
STATUSMicrosoft 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: 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.
Modification Type: | Major | Last Reviewed: | 8/24/2006 |
---|
Keywords: | kbBug kbDesigner kberrmsg kbfix kbVS600sp4fix kbWebClasses KB248418 |
---|
|