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:
-or-
which may then be followed by these additional error messages:
-and-
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:
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:
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