Windows UWP crashing when uploaded to Store - windows-store-apps

I'm having a major problem with my app Small Acorns Vegetarian Recipes when uploaded to the Windows Store.
When I test the app locally, then create App Package and test by sideloading the app I cannot replicate the errors that are occurring from the live app in the store. I have also downloaded the live app on 3 different Windows 10 devices and the app works without crashing.
Below is the crash report from Windows Dev center which is recording this error as a STOWED_EXCEPTION of type System.UnAuthorizedException. There are multiple errors but they all look the same as the one below.
9NBLGGH2RQT4 Small Acorns 2016-W3 1/18/2016 12:00:00 AM e5fbe8d3-2fcc-9405-e339-795d8ec35826 "1 SmallAcorns_W10_7ffbdf7a0000 0xC179E8
2 SmallAcorns_W10_7ffbdf7a0000 0xFCD461
3 SmallAcorns_W10_7ffbdf7a0000 0xFF7263"
9NBLGGH2RQT4 Small Acorns 2016-W3 1/18/2016 12:00:00 AM 45df7950-ae20-259c-3f6e-4ec2a1758559 "1 SmallAcorns_W10_581b0000 0x98DC05
2 SmallAcorns_W10_581b0000 0x98DE13
3 SmallAcorns_W10_581b0000 0xC14E95
4 SmallAcorns_W10_581b0000 0xC14E5E
5 SmallAcorns_W10_581b0000 0xC14E49
6 SmallAcorns_W10_581b0000 0xC14BC3
7 SharedLibrary System::Runtime::ExceptionServices::ExceptionDispatchInfo.Throw 0x1C
8 SharedLibrary $13_System::Runtime::CompilerServices::TaskAwaiter.ThrowForNonSuccess 0x4A
9 SharedLibrary $13_System::Runtime::CompilerServices::TaskAwaiter.HandleNonSuccessAndDebuggerNotification 0x3C
10 SharedLibrary $13_System::Runtime::CompilerServices::TaskAwaiter.ValidateEnd 0x16
11 SharedLibrary $13_System::Runtime::CompilerServices::ConfiguredTaskAwaitable::ConfiguredTaskAwaiter.GetResult 0x9
12 SmallAcorns_W10_581b0000 0xC1548C
13 SharedLibrary System::Runtime::ExceptionServices::ExceptionDispatchInfo.Throw 0x1C
14 SharedLibrary $22_System::Threading::Tasks::ExceptionDispatchHelper::__c__DisplayClass0._ThrowAsync_b__3 0x19
15 SharedLibrary $13_System::Threading::WinRTSynchronizationContext::Invoker.InvokeCore 0x3C"
The health reports are next to useless as its clearly an async method failing and I cannot now download the .cab files to test with WinDbg (like you could with Windows 8.1 apps)
I have absolutely no idea where this error is occurring in the app as the app works on the multiple devices I've tested it on.
Has anyone managed to use WinDbg with an universal app? Any help much appreciated as I am totally stuck with this issue.
If anyone has the time to test my app as its hidden but available from the link above that would be great. Thanks

is the problem happen only on your device?
for the debugging tool, you can use the updated one for Windows 10 :)
https://dev.windows.com/en-us/downloads/windows-10-sdk
Debugging tools for Windows 10

This is because "chain compilation" and/or "code optimization" when in Release. Try to set them off one by one or all at the same time and and start debugging in Release on a device. You want be able to see all the info like when build in Debug, but at least you'll be able to find where and why your app crashes.

Related

Application Certificate Inavlid error from Quickbooks and VBA

We are running QuickBooks Enterprise 7 (I know it is old and not supported). I have MS Access applications that are using the SDK (via VBA) to send transactions to QB. Nothing has change, but all of a sudden we are getting an error that the certificate for the application is invalid. We never had certificates before. It also did not pop up the window that lets me say I want it to run regardless of the certificate.
Anyone have any ideas what causes this? I have tried deleteing the application from QB and created a new one just to see what would happen but it still gives me the error.
My code looks like this:
Set QB = CreateObject("QBFC7.QBSessionManager")
strDatabase = DLookup("Default_Company", "Configuration_table")
'get the qb file information
QB.OpenConnection "", "Upload Payroll"
QB.BeginSession strDatabase, omMultiUser
dblCredit = 0
Set JournalAddSet = QB.CreateMsgSetRequest("US", 5, 0)
I really need help with this! Our company is dead in the water until I can get this going!
I discovered that it was an update to Office 2016 that caused the certificate issues. The most recent update (Version 1707 dated July 31) corrects the problem for me. Not sure what was in either update (since I couldn't find a detailed description from Microsoft) that broke then fixed this issue.
I am looking into the same problem with my interface from MS Access to QBooks via the SDK.
I believe it is caused by heightened security for Windows 10. It happened to 2 of my customers yesterday. I am going to upgrade the SDK dll from QBFC2.....dll to QBFC13....dll type libraries in VBA window Tools, References...and browse for the location, but also uncheck the old one QBFC...dll in the references.
You can download QBFC13 from Intuit website.
There are a few other things that may have to be done. I had to do a replace all QBFC2 with QBFC13 when it calls libraries. ---> ...,QBFC2Lib.... replace with ,,,,QBFC13Lib....
I compiled the VBA code and got another error message:
It was all the request set messages had ...MSG... and I replaced it with ...IMSG...
Then the VBA compiled but I am waiting on my customer so I can test it on their PC with Windows 10 to see if it works.
Note 08/09/17 This did not fix the problem
However, My customer and I are both running Windows 8.1. She has MS Access 2016 and gets the Invalid certificate error when attempting to send an invoice to Qbooks using their SDK.
I brought her MS Access program back to me and sent the same invoice using the same version of QBooks SDK and did not get the error. I am running MS Access 2010.

chrome "aw, snap" crash, but can't see crash log in chrome://crashes but see DMP generated, so what is the quickest way to interpret this DMP file

I can see my page get crash(see aw, snap page) with 20% proprobility after 10 mins(otherwise it runs well like forever)
so I tried:
1) CPU and memory check with task manager, and see no increasing(so no leakage).
2) enable crush log in the chrome://settings/
result:
2.1) see still nothing in the chrome://crashes page, not even a crush ID (0 crashes).
2.2) see nothing in the folder under path
C:/%User%/AppData/Local/Google/CrashReports (nothing in) nor
C:/%User%/AppData/Local/Google/Chrome/User Data/Crash Reports (folder not exist)
2.3) but indeed see DMP in the:
C:/%User%/AppData/Local/Google/Chrome/User Data/CrashPads/reports
but seems they are not readable, and it also seems not the correct address for crash logs
3) can get chrome log either by command line arguments, or using sawbuck, but found nothing but only 2 errors, one for sawbuck itself, and another saying can't send the report to google.
So the questions are:
1) are those DMP the crash logs(the default Dir for dump file has been changed for chrome v50)
2) how can I abstract information out of the DMP file, if chrome://crashes page shows nothing (for chrome on windows)
p.s. 2 usage pages are found at https://www.chromium.org/developers/decoding-crash-dumps
https://www.chromium.org/developers/crash-reports
but seems it's not for windows without a recompile of chrome's component, is there any 3rd party tools to interpret the DMP file?
env informations:
chrome version: 50.0.2661.02 m
; Host OS: windows 10
The crash dumps (.dmp files) in C:\Users\<user>\AppData\Local\Google\Chrome\User Data\Crashpad\reports can be read by standard Windows debuggers. WinDbg is one tool (provided by Microsoft) for analysing these dumps; it's not going to win any beauty contents, but it's powerful and gets the job done. The recommended way to obtain it is, somewhat bizarrely, the Windows Driver Kit.
You'll need debugging symbols to make sense of the results, and these aren't included in standard builds of Chrome. To get symbols for both Chrome and the Windows runtime, set the following as your Symbols path:
SRV*c:\symbols*https://msdl.microsoft.com/download/symbols;SRV*c:\symbols*https://chromium-browser-symsrv.commondatastorage.googleapis.com
There are numerous resources on using WinDbg on the web; this cheat sheet contains some useful commands to get you started.

Access D: as removable drive in Windows 10 IoT

I have three RaspBerry pi2 running windows 10 IoT.
On two of them I'm able to access drive d: as removable device from my code.
One of them when I run the following code
StorageFolder externalDevices = Windows.Storage.KnownFolders.RemovableDevices;
StorageFolder sdCard = (await externalDevices.GetFoldersAsync()).FirstOrDefault();
if (sdCard == null)
{
I get null for the sdCard - but this happens just for one of three.
And on all devices I can access d: via \myip\d$
Is this a "bug" or did I forget a step when configuring my third device?
I found the source of the problem.
The SD card was created from an existing one using win32diskimager. It looked good except the problem here. After checking bit by bit I found out that the card has a lot of partitions - one with ID 1 and several others with ID 0.
The first partition (ID 1) holds a drive (EFI...) and is marked as active on the original (working) SD card.
On the clone it was not active - Windows 10 IoT booted but drive D: was not included as removable device.
After setting the partition active everything works as expected.

PHPStorm 10 randomly ignores AltGr +8/9 to open brackets

I have a weird situation with the new version of PHPStorm 10.0.2.
I have a german keyboard and to open square brackets [] i need to type a combination of AltGr + 8 or 9 keys.
All works ok until, at some point in time, randomly, this combinations are ignored and they are being interpreted as Alt+Strg (Alt+Ctrl on englisch keyboard) + 8 or 9 which jumps from curly brackets up and down.
This issue happens in Windows. Will update this question when I get to a linux machine, in case i can reproduce it.
german keyboard layout is the default one on the machine so no other languages.
Anyone has this issue and how can this be solved?
UPDATE 1:
If i press Alt + AltGr and 8 or 9 it works correctly...
UPDATE 2:
I tried in Linux ctrl+alt does not have the same effect like on windows. So it is a windows only issue
This was driving me insane!!!
However, it was not random (though I initially thought it was).
Steps to reproduce (German keyboard):
Open IDE
Open first project (AltGr + 8 or 9 will work as expected)
Open second project in a new window (AltGr + 8 or 9 will now start to switch projects and no longer work until only one window remains)
Steps to fix:
Open <SYSTEM DRIVE>\Users\<USER ACCOUNT NAME>\.<PRODUCT><VERSION>\config\options\keyboard.xml (e.g. C:\Users\John\.WebIde100\config\options\keyboard.xml)
Set "USE_NON_ENGLISH_KEYBOARD" to false
Did you enable "German layout support" option? See IDEA-142462 - may be related. Enabling actionSystem.force.alt.gr=true (https://youtrack.jetbrains.com/issue/IDEA-91975#comment=27-384169) may help...

cannot stop Chrome from updating from 43 to 44

I am using Selenium and Chrome to write a web test, yesterday my Chrome updated to 44 and now my test does not work, I know that it is an issue with Chrome 44 and we need to wait till the new version is given out.
So I am trying to go bake to chrome 43, i do:
1) Uninstall chrome 44
2) Install chrome 43
but as soon as the installation is done it automatically opens the chrome and it is 44 again !! I went to Run->Service.msc and disabled my chrome to update automatically, but it does not work. I remove the Update folder in User->Myname->AppData->Local->Google->Update but it does not work,
and there is nothing related to updating at chrome://plugins.
I AM STUCK
PLEASE HELP :(
I did all sulosion posted on line but non of them worked,
Have spent a loooong time trying to disable updates (literally hours, reading forums and testing various (some exotic) solutions), and this was driving me crazy. But there what seems an infallible solution (see further down).
Even using the official Google page with the templates did NOTHING : https://support.google.com/installer/answer/146164?hl=en
I followed scrupulously the instructions of that page, the keys in the registry are all correct, but still going to the "About Google Chrome" when the program is opened, I can see the wheel going around and a few seconds later the update is forced and done.
I have tried using the standalone installer of Google, on a Windows 8.1 machine 64Bits - and yes all the keys are set to :
Dword: AutoUpdateCheckPeriodMinutes Value: 0
Dword: DisableAutoUpdateChecksCheckboxValue Value: 1
Dword: UpdateDefault Value: 0
Dword: Update{8A69D345-D564-463C-AFF1-A69D9E530F96} Value: 0
... both in HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Update AND HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Policies\Google\Update since it is a 64-bit machine.
So the radical solution to prevent the auto-update, if that helps anyone, is to just purely sort the program responsible for the updates itself! (Just deleting it, OR saving a copy, OR renaming it OR even better just in case I one day need to do an update: Zip the content for future potential re-use).
Easy solution :
1- Go to "C:\Program Files (x86)\Google\ and find the folder "update".
2- There are a couple of options to choose from:
A) first method: Rename the folder:
- Right click > Rename > from Update.bak to Update2.bak for example.
- Now launch Chrome: NO MORE UPDATES!! since it can not find the update program !! Finished.
B) second method: Zip the folder:
- Zip the entire folder by making an archive. (Right click the "Update" folder > Send to Compressed (zip) folder)
- A window might ask you to backup/zip and place it on the desktop, click yes. (message: Windows cannot create the compressed folders here. Do you want to be placed on the desktop instead?)
- Move the newly created zip file to the original location. A new window security might pop up > click continue. (message: You need administrator permission to copy this file). [This will be what to unzip if one day you decide to update Chrome - Just remember that when unzipped it will have the following structure : Update > Update > then all the content of the folder. Remember to move everything from inside the second update folder (copy paste) one level up so that is becomes : Update > then all the content of the folder].
- Now that you have a copy just delete the "Update" folder.
- Now launch Chrome: NO MORE UPDATES!! since it can not find the update program !! Finished.
Good luck and Enjoy.
As per Chromium
Turning off Auto-Updates on Windows
To turn off auto-updates of Google Chrome on Windows, you need to instruct Google Update to not update it. To do this, you can either:
Use the Google Update ADM templates provided on this page or as described in this article.
Set the value of
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Update\AutoUpdateCheckPeriodMinutes
to the REG_DWORD value of "0".
You can check for Mac and Linux in the first Link
To get rid of Chrome 44 and go back to 43 I downloaded a stand-alone version of chrome 43 which is an .exe file and I just double clicked on it and it was installed on my computer WITHOUT updating to Chrome 44, to find the link to Chrome 43 have a look to RobW comments to my question above and if the link is stale you can just Google for Chrome Stand-alone, or go to the bottom of this page Google Chrome 64-bit Offline Installer| 45.7 MB.
Have Fun :)