Hi,
as of recently I am getting the following error message when trying to launch files without associated application:
What is strange though is that the "Open With" handler is still launched properly, the error message box is behind the window:
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
[Solved] 20.60.0100 "No application is associated with the specified file for this operation."
Forum rules
You might want to read this if you're looking for priority service
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%).
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.
How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
You might want to read this if you're looking for priority service
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%).
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.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
-
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."
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."
Tried it in Win8.1 and Win10 ... cannot reproduce. 
FAQ | XY News RSS | XY X
-
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."
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.
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."
Did you maybe use the NoShellOpen tweak?
FAQ | XY News RSS | XY X
-
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."
No, that tweak is disabled.
In the meantime I managed to recreate the error without XYplorer.
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.
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});
}
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."
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
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."
Well, it was interesting at least. 
FAQ | XY News RSS | XY X
-
hoaphus
- Posts: 3
- Joined: 30 Apr 2017 18:47
Re: 20.60.0100 "No application is associated with the specified file for this operation."
I also have same problem. Thanks for your findingspaludis 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
XYplorer Beta Club