[Windows] resolves COM surrogate error prompts

Source: Internet
Author: User

Operating Environment: Windows 8.1 (64bits)

Exception Description: Opens the Windows Photo Viewer, trying to zoom in or out of the form, and pop up a "COM surrogate" error.

Workaround: First, what is COM surrogate?

The COM surrogate is a fancy name for sacrificial process for a COM object which is run outside of the process that request Ed it. Explorer uses the COM surrogate when extracting thumbnails, for example.  If you go to a folder with thumbnails enabled, Explorer would fire off a COM surrogate and use it to compute the thumbnails For the documents in the folder. It does this because Explorer have learned not to trust thumbnail extractors; They has a poor track record for stability. Explorer have decided to absorb the performance penalty on exchange for the improved reliability resulting in moving these Dodgy bits of code out of the main Explorer process. When the thumbnail extractor crashes, the crash destroys the COM surrogate process instead of Explorer.

There may be many reasons for this problem, so there are several ways to try it out.

1. Approach one: Re-install the VGA driver.

Because the same installation disk is used to redo the system, the problem has not occurred before, so there may be a problem with the driver installation, re-installed graphics drivers, problem resolution.

2. Route two: Add Dllhost.exe.

Click "Devices-Computer Info-Advanced system Settings-advanced-performance-settings-Data Execution protection", tick "enable DEP for all programs and services except for the following selected programs:", click "Add", add "C:\Windows\System32\dllhost.exe , then tap Open. Because I am a 64-bit system, I get the "you cannot set the DEP attribute on a 64-bit executable file". Resolve the failure.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.