Fix Msls31.dll Error

What is msls31.dll?

The msls31.dll module is used by Windows programs, such as Internet Explorer, when working with Unicode character sets.

Is it safe to remove msls31.dll?

No, do not remove this file. If you remove msls31.dll, Internet Explorer and other Widows programs that work with Unicode will not work.

Msls31.dll – File Information

The default size of the msls31.dll file is 152 KB. The msls31.dll file is statically linked to the following files:

  • Kernel32.dll
  • Msvcrt.dll

Being statically linked means that when msls31.dll is loaded, the above two files are also automatically loaded. If there is any problem with either kernel32.dll or msvcrt.dll then msls31.dll will not load.

The msls31.dll file is known to exist in the following locations:



  • %Windir% is a variable that points to the location where Windows is installed on your computer. By default, for Windows XP and Vista it is C:\Windows.
  • %Temp% is a variable that points to the temporary folder in the short path form. By default, the path is C:\Documents and Settings\[UserName]\Local Settings\Temp

Msls31.dll Error 1

When you try to open Microsoft Internet Explorer 5.01, you may receive an error message similar to the one displayed below:

“IEXPLORE caused an invalid page fault in module msls31.dll”


To resolve the msls31.dll error, obtain the latest service pack for Internet Explorer version 5.01 from Microsoft.

Msls31.dll Error 2

When you try to open a program, it closes and you may receive an error message similar to the one displayed below:

“An unhandled exception has occurred in msls31.dll and will now close”

Resolution Steps

To resolve this msls31.dll error perform the following steps:

Run a malware check

Often DLL errors, such as the one shown above, are the result of malware infection. Malware programs, such as viruses, worms, and trojans deliberately corrupt your DLLs, such as msls31.dll.

If the msls31.dll file is infected, you may receive an error every time a program tries to access the infected msls31.dll file. To resolve the issue, run a malware check of your entire system using advanced security software, such as STOPzilla Antivirus and Spyware Cease. Ensure that your security software are updated regularly so that they are ready to fight the latest malware.

Run a registry scan

The above error may occur if the registry entries of the msls31.dll file are damaged, corrupt, or invalid. To fix msls31.dll errors occurring due to bad registry entries, run a registry scan, using reliable and advanced registry cleaning software.

Perform a system restore

If the error still persists, use the System Restore utility to roll back your system to a date prior to when the error started appearing.

To roll back your system to a prior date, perform the following steps:

  1. Go to Start>All Programs>Accessories>System Tools>System Restore
  2. Select Restore my computer to an earlier time and press Next.
  3. Select a prior date when your system was not getting the error from the calendar.
  4. Click Next twice to start the system restoration process.

I’ve deleted the msls31.dll file by mistake – What do I do?

If you have deleted the msls31.dll file by mistake, first check to see if the file is still present in your Recycle Bin. If it is, restore the msls31.dll file from there. If the file is no longer in the Recycle Bin, you may use a reliable file recovery program, such as Data Recovery Pro, to recover the lost file.