Microsoft Visual C++ Runtime Library errors generally occur after installing Office XP on your system. These errors occur when two important Windows files (Mosdmn.exe and Mosearch.exe), which are both part of the ‘Support for fast searching’ feature in Microsoft Office XP, are damaged and unreadable. These files use the Indexing Service in Office XP to create a catalog of Office files on your computer’s hard disk, meaning that if you want to resolve the error, you should look to fix the issue caused by these two files.
What Causes Visual C++ Runtime Errors With Office?
These errors will typically show in this format:
“Microsoft Visual C++ Runtime Library Runtime Error! Program:.. C:\PROGRAM FILES\COMMON FILES\SYSTEM\MOSEARCH\BIN\MOSDMN.EXE abnormal program termination“
“Microsoft Visual C++ Runtime Library Runtime Error! Program:.. C:\PROGRAM FILES\COMMON FILES\SYSTEM\MOSEARCH\BIN\MOSEARCH.EXE abnormal program termination“
The cause of these errors is actually very simple – it’s because Office XP cannot communicate properly with the various files that Visual C++ has in its library. The “Visual C++ Runtime Library” is a central bank of files & settings used by various programs on your computer to help them control a variety of features and functions a program that’s been coded in C++ might require. Unfortunately, it’s often the case that Microsoft Office will either damage or corrupt these files, making them unable to run properly. To resolve this problem, you should use the steps below:
How To Fix Visual C++ Runtime Errors
Step 1 - Reinstall / Update The Visual C++ Redistributable Package
Updating or reinstalling the Visual C++ redistributable package is the most effective way to resolve this error. Not only will it refresh all the visual C++ components on your PC, but it will also allow the various Office programs on your system to read the functions & files it requires to run.
Step 2 - Reinstall Applications Causing The Error
It’s often the case that programs can either become corrupted or damaged, leading your system to save the Visual C++ components it requires incorrectly. In order to rectify this problem, it’s recommended that you reinstall any application causing the VC++ errors, which can be done by following the steps below:
- Click Start > Control Panel
- Click “Add / Remove Programs”
- Find the program you need to reinstall
- Click the “Remove” icon next to the program to uninstall it
- Restart your PC & reinstall your program
Step 3 - Clean Out The Registry
The ‘registry’ is actually a very big cause of the “Visual C++ Runtime Error”, and should be fixed to ensure your computer can run as smoothly and effectively as possible. The registry is a central database which stores a huge number of important files & settings for your system, and is basically where your PC “remembers” everything from your desktop wallpaper to your latest emails. Because this part of your system is so important, it’s used continually by your system. However, there’s a problem – many Windows PCs end up saving the registry in the wrong way, leading your computer to run much slower & with errors as a result. To ensure this is not a problem, you need to be able to use a ‘registry cleaner’ tool to fix the various errors that could be causing problems in the registry.