Visio2002: How to Increase or Decrease the XML ErrorLog.txt File Size (295456)



The information in this article applies to:

  • Microsoft Visio 2002 Standard
  • Microsoft Visio 2002 Professional

This article was previously published under Q295456
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SUMMARY

This article explains how to change the file size limit of the ErrorLog.txt file.

The ErrorLog.txt log file is automatically created to record Extensible Markup Language (XML) (file open) errors in Microsoft Visio 2002. This log file removes the oldest records when new records are added.

MORE INFORMATION

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

Increase or Decrease the XML ErrorLog.txt File Size

To increase or decrease the size of the XML ErrorLog.txt file, follow these steps:
  1. Start Visio.
  2. On the Tools menu, click Options, and then click the Advanced tab.
  3. Under User settings, click to select the Put all settings in Windows registry check box, and then click OK.
  4. Quit Visio.
  5. Start and quit Visio again.

    Visio writes its settings to the Windows registry.
  6. Click Start, and then click Run.
  7. In the Open box, type regedit, and then click OK.
  8. Locate the following registry key:

    HKEY_CURRENT_USER\Software\Microsoft\Visio\application\XMLErrorLogMaxSize

  9. Double-click the Value name XMLErrorLogMaxSize, and then change the Value data size.

    NOTE: The value is represented in kilobytes (KB).
By default, the XML ErrorLog.txt file is located in the following folder:

Documents and Settings\UserName\Local Settings\Application Data\Microsoft\Visio\ErrorLog.txt


Modification Type:MinorLast Reviewed:1/6/2006
Keywords:kbhowto kbinfo KB295456