Error setting HTML text

From SuperMemopedia
Revision as of 22:32, 7 August 2013 by SuperMemoHelp (talk | contribs) (→‎Frequency)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


If you see the error Error setting HTML text, you are experiencing a basic failure of the functionality of Internet Explorer.

This error can occur occasionally when handling complex HTML that IE cannot handle well, or in conditions of basic functional instability (e.g. in the context of various software crashes).

However, if this error occurs more than once, you need to review your PC, Windows, and/or Internet Explorer for malware, software or hardware defects.


There have been 6 reports of this error:

  • Windows XP: 2 cases (on with gaming extensions, one with Chinese MyIE extension)
  • Windows Vista: 2 cases (one in Chinese Windows and with IE beta)
  • Windows 8 Preview: 2 cases (problem resolved in the release version of Windows 8)

This error might be more likely in SuperMemo 15 as opposed to older versions (SM15 relies less on IE.Navigate as opposed to faster IE.SetHTMLText).


Possible things to try:

  • update Windows
  • reinstall Internet Explorer
  • upgrade Internet Explorer to the newest version
  • run a malware/virus check
  • uninstall suspect add-ons (e.g. Toolbar)(see Hints)


The error occurs while executing the following code in Internet Explorer (TWeb is derived from TWebBrowser implemented by IE):

procedure TWeb.SetHTMLText(Html:WideString); 
var V:OleVariant;
      on E:Exception do EError('Error setting HTML text',E);



While executing Cloze Deletion:

Error setting HTML text

Access violation at address 7C350428 in module 'MSVCR71.dll'

Read of address 00000000

Relevant collection/system details:

SuperMemo 2004 (Build 12.06, Apr 4, 2005)
Time: Nov 15, 2005, 13:31
Collection       C:\Program Files\SuperMemo\systems\Business Bible
Date             11/15/2005 (Tue)
Total            833 el.

Windows XP 5.1 (Build 2600) Service Pack 2
Internet Explorer 6.0 (SP2)
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Memory Used: 1.569 MB
Active Code Page: 1252
OEM Code Page: 437
Network installed


The problem seems to result from interference between Internet Explorer and Microsoft C Runtime Library (msvcr71.dll). You might update that library, reconfigure/reinstall/remove .NET CLR, etc.

You could also Google with keywords: MSVCR71.dll and/or 7C350428

The error occurs when SuperMemo wants to write HTML text to Internet Explorer. SuperMemo calls IE which then calls MSVCR71.dll for unknown reasons.

New case

Error setting HTML text
Access violation at address 0051124D in module 'sm15.exe'. Read of address 00000000
Text registry access error!

Accessing registry member that does not exist

Highest position=1

All of a sudden I cannot add any new elements. This is a most frustrating error.

SuperMemo 15 (Build 15.4, Feb 23, 2013)
Time: Aug 06, 2013, 17:03
--------------------SYSTEM DATA
Windows Vista 6.0 (Build 6000)
Internet Explorer 7.0 (0)
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/6.0; 
SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media 
Center PC 6.0; AskTbORJ/; .NET4.0C; InfoPath.2)
User language: English (en-US)
System language: English (en-US)
Browser language: English (en-US)
Computer: TONY-PC
Total physical memory: 8.5 GB
Free physical memory: 6.71 GB
Page file: 16.99 GB
Free page file: 15.07 GB
Virtual memory: 2.15 GB
Free virtual memory: 1.97 GB
Extended virtual memory: 0 bytes
Heap memory: 3.87 GB
Free heap memory: 1.29 GB
Heap memory use: 66.61%
Active Code Page: 1252
OEM Code Page: 437
Network installed