Wednesday, January 11, 2012

Microsoft Resource File To COFF Object Conversion Utility has stopped working


Error: 
Visual C# Command Line Compiler has stopped working or Microsoft Resource File To COFF Object Conversion Utility has stopped working 

Have you experienced either one of the above errors?

Solution:
This is a rare error and it is usually related to corrupted files or may be caused by faulty hardware (eg. a corrupted memory chip)

Fix corrupted files
To help resolve this issue, use the System File Checker tool (SFC.exe) to determine which file is causing the issue, and then replace the file. To do this, follow these steps:
  1. Open an elevated command prompt. To do this, click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator. If you are prompted for an administrator password or for a confirmation, type the password, or click Allow.
  2. Type the following command, and then press ENTER: sfc /scannow (yes there is a space after sfc) The sfc /scannow command scans all protected system files and replaces incorrect versions with correct Microsoft versions. This scan may take sometime to finish.
Try also to clear some files and folders from %TEMP% and the error may fix.

Submit this story to DotNetKicks

1 comment:

  1. Evening. I've tried the code given, but I'm still getting the error.
    Do you know what could the problem be?
    Regards:
    Renice de Groot
    rosezalawahya@gmail.com

    ReplyDelete