Page 1 of 1

[Solved] 20.60.0100 "No application is associated with the specified file for this operation."

Posted: 27 Nov 2019 10:59
by paludis
Hi,

as of recently I am getting the following error message when trying to launch files without associated application:

XYplorer_2019-11-27_09-13-33.png

What is strange though is that the "Open With" handler is still launched properly, the error message box is behind the window:

XYplorer_2019-11-27_09-13-51.png

It might actually be a flaw in the Windows registry on this machine and not even XYplorers fault. I already tried replacing the "Computer\HKEY_CLASSES_ROOT\*" registry, but without success.

What is triggering this error message?

Greetings

Re: 20.60.0100 "No application is associated with the specified file for this operation."

Posted: 27 Nov 2019 12:37
by admin
Tried it in Win8.1 and Win10 ... cannot reproduce. :|

Re: 20.60.0100 "No application is associated with the specified file for this operation."

Posted: 27 Nov 2019 12:42
by paludis
Could you tell me under what conditions this error message is triggered in code? (winapi calls, registry access, etc.)

Maybe then I can see what is wrong with this Windows installation and give some feedback about it.

Re: 20.60.0100 "No application is associated with the specified file for this operation."

Posted: 27 Nov 2019 12:57
by admin
Did you maybe use the NoShellOpen tweak?

Re: 20.60.0100 "No application is associated with the specified file for this operation."

Posted: 27 Nov 2019 13:31
by paludis
No, that tweak is disabled.

In the meantime I managed to recreate the error without XYplorer.

Code: Select all

static void Main(string[] args)
{
    Process.Start(new ProcessStartInfo(@"d:\downloads\config") {UseShellExecute = true});
}
This code throws the same exception than XYplorer shows.

The strange part is, Windows Explorer doesn't show any error and also both XYplorer and Windows Explorer behaving correctly in showing the Open With popup.

Another annoying Windows issue that is not XYplorers fault, it just shows the error that Windows Explorer is swallowing.

I still have no clue what to fix on Windows side to make this go away. I already ran that dism.exe image cleanup stuff, ran CCleaner to remove faulty registry entries, but no luck so far. :(

Re: 20.60.0100 "No application is associated with the specified file for this operation."

Posted: 27 Nov 2019 14:23
by paludis
Yay, I found the solution after some excessive digging (Procmon).

Turns out there is this key "Computer\HKEY_CLASSES_ROOT\Unknown\shell" and for reasons unknown to me I had next to the default verb "openas" also "OpenOnline".

After deleting that OpenOnline verb everything returned to normal.

I think, there is nothing to do for you here. I is good that XYplorer showed the error, other than Windows Explorer, so one can actually know that something is not right.

Sorry for wasting your time.

Cheers

Re: [Solved] 20.60.0100 "No application is associated with the specified file for this operation."

Posted: 27 Nov 2019 18:46
by admin
Well, it was interesting at least. :)

Re: 20.60.0100 "No application is associated with the specified file for this operation."

Posted: 11 Dec 2020 14:07
by hoaphus
paludis wrote: ↑27 Nov 2019 14:23 Yay, I found the solution after some excessive digging (Procmon).

Turns out there is this key "Computer\HKEY_CLASSES_ROOT\Unknown\shell" and for reasons unknown to me I had next to the default verb "openas" also "OpenOnline".

After deleting that OpenOnline verb everything returned to normal.

I think, there is nothing to do for you here. I is good that XYplorer showed the error, other than Windows Explorer, so one can actually know that something is not right.

Sorry for wasting your time.

Cheers
I also have same problem. Thanks for your findings