Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unhandled Exception: SQL error or missing database #8

Open
sirlancelot opened this issue Jan 11, 2017 · 2 comments
Open

Unhandled Exception: SQL error or missing database #8

sirlancelot opened this issue Jan 11, 2017 · 2 comments
Assignees

Comments

@sirlancelot
Copy link

A colleague of mine was having this issue on Windows 10 when running this through gulp-notify. The following error is shown when trying to notify.

Unhandled Exception: System.Exception: SQL error or missing database (Exception from HRESULT: 0x87AF0001)
   at Windows.UI.Notifications.ToastNotifier.Show(ToastNotification notification)
   at toast.Program.ShowToast(String title, String message, String imageURI, Boolean sound)
   at toast.Program.Main(String[] args)

We traced the issue down to a corrupted Windows 10 notification database. Go to ~\AppData\Local\Microsoft\Windows\Notifications and delete the three *.db* files. You may need to close & restart Explorer.

Perhaps an enhancement which can be made to this app would be to catch this exception and output something a little more helpful.

@nels-o
Copy link
Owner

nels-o commented Jan 12, 2017

Oh, interesting. I'll think a bit about how toaster should handle that sort of exception.

@nels-o nels-o self-assigned this Jan 12, 2017
@sirlancelot
Copy link
Author

Thanks @nels-o! My team has found this app quite useful. Thanks for making it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants