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

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
paludis
Posts: 56
Joined: 22 Apr 2017 15:57
Location: Win11, @100%

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

Post 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
To see the attached files, you need to log into the forum.
Last edited by paludis on 27 Nov 2019 14:24, edited 1 time in total.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post by admin »

Tried it in Win8.1 and Win10 ... cannot reproduce. :|

paludis
Posts: 56
Joined: 22 Apr 2017 15:57
Location: Win11, @100%

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

Post 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.

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post by admin »

Did you maybe use the NoShellOpen tweak?

paludis
Posts: 56
Joined: 22 Apr 2017 15:57
Location: Win11, @100%

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

Post 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. :(

paludis
Posts: 56
Joined: 22 Apr 2017 15:57
Location: Win11, @100%

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

Post 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

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post by admin »

Well, it was interesting at least. :)

hoaphus
Posts: 3
Joined: 30 Apr 2017 18:47

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

Post 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

Post Reply