SharePoint: The operating system is not presently configured to run this application
This post describes the problem with creating library Word (Office) document from template that happens in some SharePoint system configurations, and proposes the solution that was confirmed to work for me.
The problem: user can’t create SharePoint library document from template
When user wants to create new library item from a document template (even the default one), external Office application is launched, but only on a first attempts. On the second or further attempts, user receives the following error: The operating system is not presently configured to run this application. When user clicks OK, another error message is displayed and external application (e.g. Microsoft Word) is not launched.
When page is opened in another tab or browser window, application can be launched again, but still only one time on a page.
The error is probably related to Office 2013 installations, and internet search shows that similar issues took place in both SharePoint 2010 and SharePoint 2013 installations.
The solution: registry hack needed
I found the solution in the Office Dev Center forums answer by HAN_1231. Since it’s currently really hard to find, and I don’t trust forums’ permalinks, here’s my restatement of the solution, accompanied by some screenshots.
The problem is related to Office 2013 and is caused by English-US locale value being hardcoded in registry key:
1 |
HKEY_CLASSES_ROOT\Installer\Components\55EAFA0B8A4403B428FDE038B252C621 |
The solution is to add the copy of a registry MultiString value with the key containing your locale number and same value as in the 1033-locale entry. I’m not sure if the locale key missing is for the language of Office (probably), SharePoint site’s, or other on a server, but I guess as a developer you will have some clue what language’s locale might need to be added, and if you add two or three nothing wrong will happen too.
The following figure presents registry editor window with the additional key added for polish language locale (with number 1045 assigned by Microsoft).
Good luck with your project, thanks to HAN_1231 for sharing and enjoy your hours you saved on debugging this 🙂
Thank you so much for sharing! worked like a charm (when I found my right locale ID), saved me for many reinstallations! 🙂
I’m glad that it helped and thanks for the comment, it’s good to know that solutions to even such rare problems are worth being shared 🙂
is it the same for offic3e 2010
In all likelihood not, from what I understand it’s an Office 2013 issue (but might be observed in SharePoint 2010 with Office 2013)
I cannot understand anything in this.can u pls explain in detail
then I guess this is not the solution to your problem 😉
Thaaaaaaaaanks a lot!!!