Microsoft KB Archive/234317

= FIX: HTML Page Truncated with Visual Studio 6.0 SP3 WebClass Run Time When Running in the VB IDE =

Article ID: 234317

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 Q234317



SYMPTOMS
When you use tag replacement within a WebClass template, you may notice that, after upgrading to Visual Studio 6.0 Service Pack 3, not all of the tag text and HTML template text gets sent back to the browser. To determine if this problem is occurring, right-click on the resulting HTML page in your browser and select View Source. If you do not see an end  tag, then most likely you are encountering this problem.

This occurs only under one of the following scenarios:
 * You are running the WebClass in the Visual Basic 6.0 IDE.


 * You are running the WebClass in production if the template cache is turned off (the template cache is turned on by default, so this is not a likely scenario).

This behavior does not occur if you have a pre-existing WebClass site and you upgrade the server to the new runtime. This is because the template cache is turned on by default. Upgrade to the new run time by installing Visual Studio Service Pack 3.



RESOLUTION
You need to roll back to the previous version of the WebClass run time on computers where you use the Visual Basic 6.0 IDE while running your WebClasses. Follow these steps to do so:   Unregister Mswcrun.dll version 6.00.8450 by running the following command in the Run dialog box on the Start menu: regsvr32.exe /u " :\Program Files\Common Files\Designer\mswcrun.dll"  Replace Mswcrun.dll version 6.00.8450 with version 6.00.8169. You can find the 6.00.8169 version of the WebClass runtime on Disk 1 in the Os\System folder of your Visual Studio 6.0 or Visual Basic 6.0 CDs.

NOTE: If you get a sharing violation when replacing the WebClass run time, stop and start the iisadmin service before attempting to replace the file.  Register Mswcrun.dll version 6.00.8169 by running the following command in the Run dialog box on the Start menu: regsvr32.exe " :\Program Files\Common Files\Designer\mswcrun.dll" If you aren't running your WebClass application in the Visual Basic 6.0 IDE (on a production computer), you do not need to rollback to the previous version of the WebClass run time unless you are planning to turn the template cache off. The template cache is turned on by default with a default value of 65 (hex) or 101 (decimal). 



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 next 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

