Article ID: 248418 - Last Review: August 7, 2007 - Revision: 4.2 FIX: Unable to Develop IIS Applications (WebClasses) on Windows 2000This 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
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.
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:
http://msdn2.microsoft.com/en-us/vstudio/Aa718364.aspx
(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.
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
(http://support.microsoft.com/kb/194022/EN-US/
)
INFO: Visual Studio 6.0 Service Packs, What, Where, Why To download the latest Visual Studio service pack, visit the following Microsoft Web site:194295 (http://support.microsoft.com/kb/194295/EN-US/ ) HOWTO: Tell That a Visual Studio Service Pack Is Installed http://msdn2.microsoft.com/en-us/vstudio/Aa718353.aspx
(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.
| Article Translations
|
Back to the top
