No explanation for certain programs unable to open.

aviator777

Distinguished
Nov 18, 2010
19
0
18,520
I've been having issues with Windows 7 and programs not being able to start. Specifically, Visual Studio and Windows Media Player (and possibly other programs as well). I've been on Microsoft and VS forums trying to explain this issue but I got nothing. I never had this issue before, and it usually subsides after 5 or so minutes but I've had enough of it.

Basically, here's what happens. If I want to open VS, here's the message I get:
6dd2d96a2d1cd52d4cf62dbb322d833617149c15_zpsufkehpew.png

And if try to open some kind of media on WMP, here's what I get:
Capture2_zps6vm0rbcf.png


I realise that this part of these forums isn't dedicated to these specific programs, but if I can just get some kind of idea as to what may be the cause would be of great help. That or if there is software that can let me look into what's happening when I try to launch a program and the events that get triggered, would also be helpful. I have 12GB of memory, I'm not believing this message.

I looked on Event Viewer but I got nothing that says something is wrong or any event related to these errors. I've completely uninstalled and reinstalled both programs as well. Nothing changed. I disabled WMP Network Sharing Service, nothing. Scanned for malware/viruses using Malwarebytes, nothing either. Launch as the Admin, nothing.

Thank you for your time.
 
Solution
It had to do with DCOM. This was by far the hardest error I had ever come across and fixing it and finding the cause was a complete pain. I had to use a third party event viewer to finally pinpoint the cause. This problem not only caused issues with programs not being able to open, but also internet kept blocking on firefox until I opened internet explorer.

My solution: go into gpedit -> Computer Configuration -> System -> Distributed COM -> Application Compatibility Settings -> Allow local activation security check exemptions -> Check Enabled

Also, should firefox have trouble connecting to the internet after this fix, go into your firewall and remove all instances of the program and then add firefox (only 1 entry should be...
1. What are virtual memory settings of your PC? (ControlPanel/System/AdvancedSystemSettings/Advanced/Performance/Settings/Advanced/Change)
2. Is temp folder available? Can you write to it (create text file,edit and save it?)
(you can find where temp folder is located with command: echo %TEMP%
 

aviator777

Distinguished
Nov 18, 2010
19
0
18,520


1. my virtual memory settings
Capture_zpsgrrv73kn.png


2. yes I can write to temp folder & its available.

**UPDATE

I ran an event viewer on the last time I had the "Server Execution failed". Here's what I got:

Record #:203182 System Error 14/11/2016 9:32:17 PM Source: DCOM Category:0 Event ID: 10010
Message: {ED1D0FDF-4414-470A-A56D-CFB68623FC58}
 

aviator777

Distinguished
Nov 18, 2010
19
0
18,520
It had to do with DCOM. This was by far the hardest error I had ever come across and fixing it and finding the cause was a complete pain. I had to use a third party event viewer to finally pinpoint the cause. This problem not only caused issues with programs not being able to open, but also internet kept blocking on firefox until I opened internet explorer.

My solution: go into gpedit -> Computer Configuration -> System -> Distributed COM -> Application Compatibility Settings -> Allow local activation security check exemptions -> Check Enabled

Also, should firefox have trouble connecting to the internet after this fix, go into your firewall and remove all instances of the program and then add firefox (only 1 entry should be added).
 
Solution