Article ID: 304071 - View products that this article applies to.
This article was previously published under Q304071
This article has been archived. It is offered "as is" and will no longer be updated.
If a WebClass application uses templates that contain Japanese characters and runs on a system where the default language is Japanese, the WebClass application may fail under heavy load. When this occurs, the following entry (or similar) appears in the Application Event log:
NOTE: This error may occur for reasons other than the specific problem that is described in this article. To determine if you are experiencing this specific problem, attach a native code debugger such as Microsoft WinDBG to the process that hosts the WebClass application while it is running to catch the exception on first chance. The call stack should look similar to the following call stack:
WebClass Runtime (0x800A2328)
An internal exception has occurred
Even if you do not have debug symbols available, the main indicator for this problem is that OLEAUT32 appears in the top stack frame, and MSWCRUN appears in a few stack frames below.
0108cc0c 2764a744 0014fd76 00000159 OLEAUT32!SysAllocStringLen+0x7a 0108cc24 2764a989 00000003 0014fd76 mswcrun!CTemplItem__SetItem+0x24 0108cc50 2764b122 00000003 0014fd76 mswcrun!CTemplItems__Add+0x129 0108ccf8 2764bc2a 00154e48 03100000 mswcrun!CTemplateFile__ScanTemplate+0x272 0108cd8c 27644e6f 00154e48 00110010 mswcrun!CTemplateFile__SendToClient+0x15a 0108d02c 3b0c9c6c 00134b3c 00000008 mswcrun!CWebItem__WriteTemplate+0x21f
This problem occurs because of a bug in the WebClass runtime. The problem may not be reproduced consistently. Although the problem has only been seen on a system in which Japanese is set as the default language and when WebClass applications use templates that contain characters with Shift_JIS encoding, the same problem may occur on systems that are configured for other bi-directional character sets and other character encodings.
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.
Note You must have a Visual Studio license agreement to obtain this hotfix.
To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=supportNote In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. The English version of this fix should have the following file attributes or later:
Date Time Version Size File name ---------------------------------------------------- 3-Jul-2001 01:04 188.8.131.52 299,008 MSWCRUN.DLL
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
WebClass templates are saved as ANSI-encoded files, regardless of whether they contain text that is defined by using a charset such as Shift_JIS. Do not save these templates in Unicode or UTF-8 format, or else they will not render correctly.
REFERENCESThe latest version of WinDBG is available from the following Microsoft Windows Debuggers Web site:
Contact us for more help
Connect with Answer Desk for expert help.