[SOLVED] Windows Store apps don't open, PDFs throw error

Patrick

Sysnative Staff
Joined
Jun 7, 2012
Posts
4,618
Hi friends, I am having a strange issue. I figured before I reformat as this is an old W8 install, I'd give you guys something to try and fix. I've always wanted to use the app anyway (great job btw to Richard and all who developed it).

This problem literally happened out of nowhere, as everything was fine before I shut down for the night. Basically my problem is store apps will execute properly, but won't maximize. If I try to maximize them from the taskbar, they 'flash' as if it was maximized and then minimized very fast. Also, PDFs have lost their association with Reader, and it I try to re-associate them, this is what I get:

error.png

In general I cannot open PDFs with Reader. I imagine attempting to open them with a 3rd party tool will work just fine as Reader is a Metro/Store app, and that's where my problems are coming from.

I couldn't attach the CBS stuff as it was too big for Sysnative, so I uploaded it 3rd party to Onedrive. For clarity purposes, here was the output:

Code:
SFCFix version 2.4.1.0 by niemiro.
Start time: 2014-11-20 12:34:53.577
Not using a script file.




AutoAnalysis::
FIXED: Performed DISM repair on file Amd64\CNBJ2530.DPB of version 6.3.9600.16384.



SUMMARY: All detected corruptions were successfully repaired.
AutoAnalysis:: directive completed successfully.




Successfully processed all directives.
SFCFix version 2.4.1.0 by niemiro has completed.
Currently storing 0 datablocks.
Finish time: 2014-11-20 12:51:51.770
----------------------EOF-----------------------

Despite repairing Amd64\CNBJ2530.DPB, my issue still remains. I imagine the corruption was entirely unrelated.

Link to log, etc.

Regards,

Patrick
 
Patrick, I would strongly suggest you to try and use Process Monitor from the SysInternals Tools Collection. I think you would be able to solve it yourself. The Reader problem should be solved using Process Monitor.

-Pranav

EDIT :- If you are not able to find it, kindly upload the Log File like neimiro has asked but also ZIP it up since it is pretty large most of the time.
 
Last edited:
Hello Patrick :)

The corruption that SFCFix has found is indeed unrelated. It's a very common corruption with no know harm resulting from it, but it's best fixed rather than left unfixed, hence why SFCFix repaired it. Let's put that to one side for now. Unfortunately, your problem now lies outside what the tool is equipped to fix, so we must put it aside now.


I am also in agreement with blueelvis - my go to tool for this type of issue is ProcMon. I'm guessing you don't need me to explain how to use it :p If you can't spot the problem, simply upload a logfile and I'll take a look at it too - no guarantees of course, but two pairs of eyes can only be better than one :)

Also, can you please export your whole HKEY_CLASSES_ROOT "hive" & upload it here? I'll take a look through and see if anything of the ids or internal connections are obviously out of place [it's a whole load more complex - especially in Windows 8 - than most people realise. It's not just .pdf key and associated CLSIDs. Try searching for "pdf" under just keys if you want to see what I mean - there's loads of interlinks and places people would never normally think to check].
 
I've actually never really used ProcMon before despite my love for Sysinternals tools, so I am not really sure what I should be doing/looking for. I used the 'Include process for window' button on the error window and it shows a lot of 'NAME NOT FOUND' under the 'Result' tab.

How do I generate a log that will be beneficial to you?

In any case, here's a link to the hive - https://onedrive.live.com/redir?resid=8EC33FA7D62644D8!138&authkey=!ADRFhpdrws_85s8&ithint=file,zip

Regards,

Patrick
 
I've actually never really used ProcMon before despite my love for Sysinternals tools, so I am not really sure what I should be doing/looking for. I used the 'Include process for window' button on the error window and it shows a lot of 'NAME NOT FOUND' under the 'Result' tab.

How do I generate a log that will be beneficial to you?

In any case, here's a link to the hive - https://onedrive.live.com/redir?resid=8EC33FA7D62644D8!138&authkey=!ADRFhpdrws_85s8&ithint=file,zip

Regards,

Patrick
Follow the below steps please -


1. Fire up Process Monitor with Administrator Privileges. Make sure that you click on RESET button when you are shown the Filter window on opening the Process Monitor.
2. It will start recording the events once it is fired up. Now, try opening a PDF file in Reader so that it gives you the error message.
3. Close the Error message which pops up.
4. Now, below the menu bar, you would see a Magnifying Glass like there is in the WinDBG icon (I assume that you are familiar with it :grin1:). Click on that Magnifying Glass to stop the recording of Events by the Process Monitor.
5. Click on File -> Save.
6. You would be presented with the option to save all of the Event Data. Click on that radio button to save all of the Events. Also make sure that it is being saved in the Default PML format and not some other format.
7. It would take some time to save the log. So, wait :r1:
8. Once it is done, you would find a Log File where you saved it. It would be a big file.
9. So, make sure that you ZIP the file before uploading.
10. Once uploaded paste back the link and it would be analysed ^_^.


Let me know how it goes ^_^
 
Forgot to ask a question Patrick.

Are you able to open up the PDF File inside the Reader app? Like opening the Reader, right clicking and then opening a file using that?

If you are getting an error still, is it the same?
 
Also, I just noticed a program I had installed (Curse Client to be specific) is no longer installed. If I run the shortcut .exe on my desktop, it prompts me to install it again as if it was never installed. I have no idea what could have happened during that shutdown, but it wasn't good! :grin1:

Other than that though, everything is functioning as normal.
 
Patrick, have you tried re-installing the Reader App?

If the reinstalling of the app does not help, kindly proceed further :)


I found loads of errors related to Name Not Found for the reader app.

Please remove MikTex as of now. Once this is done, kindly remove the Reader app and then re-install it and see if it works or not.


@Richard -
I am seeing many of the paths being referenced below which are also giving Name Invalid. The Explorer is trying to create a file at the below path -

C:\Program Files\MiKTeX\miktex\bin\x64\@{microsoft.reader_6.3.9654.17044_x64__8wekyb3d8bbwe?ms-resource:\microsoft.reader\files\images\readerfilelogo.png}

There are other entries as well where the System32 is the folder in which the explorer is trying to create the file. The registry is filled with PDF files being referred to the MikTex editor. I tried matching my part of the registry (with data from the ProcMon Log) but I am sure I have missed something which I am not able to see. Any idea what is happening?



Regards,
Pranav
 
Is it definitely trying to create the file, or just open it? I'll check myself later, but note that CreateFile is most often used to only create a handle to a file, not actually create the file.
 
Is it definitely trying to create the file, or just open it? I'll check myself later, but note that CreateFile is most often used to only create a handle to a file, not actually create the file.

Thanks for the information Richard. Yes, it is trying to open the handle. But, I am wondering as to why that path is being referenced for opening a handle?

Also, what is really happening with the Reader to cause this?


-Pranav
 
Patrick, have you tried re-installing the Reader App?

It worked! I had no idea you could uninstall/reinstall store apps. It took me a minute to find out how to reinstall it (you have to visit the Store...), but after I reinstalled Reader, all PDFs were automatically associated and all other Store apps fixed as well.

:doh:

FWIW - MiKTeX is a LaTeX distribution. I use it to make science/math stuff, and resumes. It exports to PDF, so maybe a PDF I had was trying to reference it. Not sure, but that's likely why it wasn't working since Reader was broken and is the default PDF reader for me.

Such a simple fix that I made so difficult. Thanks everyone.

Regards,

Patrick
 
Patrick, have you tried re-installing the Reader App?

It worked! I had no idea you could uninstall/reinstall store apps. It took me a minute to find out how to reinstall it (you have to visit the Store...), but after I reinstalled Reader, all PDFs were automatically associated and all other Store apps fixed as well.

:doh:

FWIW - MiKTeX is a LaTeX distribution. I use it to make science/math stuff, and resumes. It exports to PDF, so maybe a PDF I had was trying to reference it. Not sure, but that's likely why it wasn't working since Reader was broken and is the default PDF reader for me.

Such a simple fix that I made so difficult. Thanks everyone.

Regards,

Patrick
At least now you could format the system in peace :lolg:

-Pranav
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top