It shouldn't be necessary.
I suspect that there may be something wrong with the new MS Universal App "Photos" and as a consequence you are getting that error.
Since I rarely use any of the Universal Apps, I can't suggest anything definitive except to check the "Store" App and make sure that all your apps are up to date.
You can always choose another default image viewer
This may help to some extent
http://www.howtogeek.com/225844/how...ewer-your-default-image-viewer-on-windows-10/
There are a host of third party products out there if you have a personal preference.