This worked for me on Windows 8.1, when Photo Viewer crashes after using either the "Next (Right Arrow)" or "Previous (Left Arrow)" functions: http://www.geeklab.info/2013/10/windows-photo-viewer-terminating-with-com-surrogate-error/
Read last comment by Metal, reposted in full here:
One of method worked for me, i would like to share that it might help someone else.
Using OS: Windows 8.1 pro 64bit
The Com surrogates stopped working error was faced everytime i was going to pictures folder from "Start Menu" and clicking on "Pictures". The Pictures shortcut link was opening the pictures folder as "Apps -> Pictures" with a long random characters in address bar. Instead when i clicked my normal pictures shortcut, it simply takes me to C:\Users\username\pictures and the com surrogates problem was didn't occurred that way.
So I simply changed the "pictures" target location to "C:\Users\username\pictures" and problem got solved.
I tried this and it works.
I had already re-enabled the 'Libraries' function on my Windows 8 when I first got it (comes disabled) but oddly, not all of the "shortcuts" on the Win-8 Start Screen got updated: 'Music' and 'Videos' open to 'Libraries\Music' and 'Libraries\Videos' like they should, but 'Documents' and 'Pictures' both open to 'Apps -> Documents' and 'Apps -> Pictures'. That "Apps" location path is what was causing my COM Surrogate error with photoviewer.dll
Funnily enough, if I click on the 'Libraries' link directly in the same explorer process, I can navigate from "Apps -> Pictures" to "Libraries\Pictures" (exact same results) and the error with COM Surrogate disappears, and I can scroll through all my photos again in Photo Viewer just like I used to.
This error is 100% reproducible on my machine. If it's a bug it should definitely be reported to Microsoft. For now, all I had to do was change the target path of my Windows 8 "shortcut" tile to Libraries, and the problem went away. If you follow the bad link back to it's source (Right-click -> Open Folder Location) it will take you to the mysterious "Apps" location, which is completely empty. The fixed shortcut links point directly to the "Libraries" location.