# Desktop app crashing after first run

**URL:** <https://community.toggl.com/t/desktop-app-crashing-after-first-run/1404>\
**Category:** Community Support Wiki\
**Created:** [March 17, 2025, 1:41pm UTC](https://community.toggl.com/t/desktop-app-crashing-after-first-run/1404 "2025-03-17T13:41:55Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![vtek](https://yyz2.discourse-cdn.com/flex012/user_avatar/community.toggl.com/vtek/32/908_2.png) [@vtek](https://community.toggl.com/u/vtek)\
**Post date:** [March 17, 2025, 1:41pm UTC](https://community.toggl.com/t/desktop-app-crashing-after-first-run/1404/1 "2025-03-17T13:41:55Z")

</div>

Anyone else see this where it goes in the system tray but when you try to open it it immediately closes? Started happening months ago and I’ve reinstalled all the way to the latest version and still see this in the windows app logs:

Exception Info: System.AggregateException: One or more errors occurred. (An error occured while executing a database query: GetUserQuery. Check inner exception for more details.)  
—\> Toggl.Storage.Exceptions.DatabaseQueryException: An error occured while executing a database query: GetUserQuery. Check inner exception for more details.  
—\> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: ‘no such column: w.Admin’.  
at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)

If anyone else figured out how to get passed this I’d appreciate it. Thx.

---

<div class="post-metadata">

**Author:** ![Jake](https://yyz2.discourse-cdn.com/flex012/user_avatar/community.toggl.com/jake/32/1159_2.png) [@Jake](https://community.toggl.com/u/Jake)\
**Post date:** [March 17, 2025, 10:53pm UTC](https://community.toggl.com/t/desktop-app-crashing-after-first-run/1404/2 "2025-03-17T22:53:23Z")

</div>

Hey there! Can you share what version of the app you have installed, as well as the version of Windows you’re currently running?

---

<div class="post-metadata">

**Author:** ![vtek](https://yyz2.discourse-cdn.com/flex012/user_avatar/community.toggl.com/vtek/32/908_2.png) [@vtek](https://community.toggl.com/u/vtek)\
**Post date:** [March 18, 2025, 1:40pm UTC](https://community.toggl.com/t/desktop-app-crashing-after-first-run/1404/3 "2025-03-18T13:40:49Z")

</div>

Toggl: 9.5.0  
 ![image](https://canada1.discourse-cdn.com/flex012/uploads/toggl1/original/1X/09ea9d96d72effbb661569884949baa796dd5eb3.png)

Win 11: 10.0.26100 build 26100  
 ![image](https://canada1.discourse-cdn.com/flex012/uploads/toggl1/original/1X/903c0001863a354c35b759c27aa8c31608546187.png)

I just tried to download and reinstall again and this time made sure everything else was deleted. It opened and showed a login screen. I closed it without logging in and when I reopened the login screen shows for a minute and it still closes by itself.

---

<div class="post-metadata">

**Author:** ![Jake](https://yyz2.discourse-cdn.com/flex012/user_avatar/community.toggl.com/jake/32/1159_2.png) [@Jake](https://community.toggl.com/u/Jake)\
**Post date:** [March 18, 2025, 11:32pm UTC](https://community.toggl.com/t/desktop-app-crashing-after-first-run/1404/4 "2025-03-18T23:32:10Z")

</div>

Thanks for that! And just to make sure: this happens even after fully logging in?

---

<div class="post-metadata">

**Author:** ![vtek](https://yyz2.discourse-cdn.com/flex012/user_avatar/community.toggl.com/vtek/32/908_2.png) [@vtek](https://community.toggl.com/u/vtek)\
**Post date:** [March 19, 2025, 12:00am UTC](https://community.toggl.com/t/desktop-app-crashing-after-first-run/1404/5 "2025-03-19T00:00:13Z")

</div>

Yes, it was happening when I was logged in too, but now I can’t log in because it closes before I can type anything in.

Most recent event viewer log:

Application: TogglTrack.exe  
CoreCLR Version: 8.0.23.53103  
.NET Version: 8.0.0  
Description: The process was terminated due to an unhandled exception.  
Exception Info: System.AggregateException: One or more errors occurred. (An error occured while executing a database query: GetUserQuery. Check inner exception for more details.)  
—\> Toggl.Storage.Exceptions.DatabaseQueryException: An error occured while executing a database query: GetUserQuery. Check inner exception for more details.  
—\> Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 1: ‘no such column: w.Admin’.  
at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)  
at Microsoft.Data.Sqlite.SqliteCommand.PrepareAndEnumerateStatements()+MoveNext()  
at Microsoft.Data.Sqlite.SqliteCommand.GetStatements()+MoveNext()  
at Microsoft.Data.Sqlite.SqliteDataReader.NextResult()  
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteReader(CommandBehavior behavior)  
at Microsoft.Data.Sqlite.SqliteCommand.ExecuteDbDataReader(CommandBehavior behavior)  
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)  
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator) at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.\<\>c.b\_\_21\_0(DbContext \_, Enumerator enumerator)  
at Microsoft.EntityFrameworkCore.Storage.NonRetryingExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)  
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext() at System.Linq.Enumerable.TryGetSingle[TSource](IEnumerable`1 source, Boolean& found)  
at lambda\_method223(Closure, QueryContext)  
at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.Execute[TResult](Expression query)  
at Microsoft.EntityFrameworkCore.Query.Internal.EntityQueryProvider.Execute[TResult](Expression expression)  
at Toggl.Storage.EntityFramework.Queries.GetUserQuery.ExecuteQuery()  
at Toggl.Storage.EntityFramework.Queries.DbQuery`1.\<\>c\_\_DisplayClass3\_0.b\_\_0()  
— End of inner exception stack trace —  
at Toggl.Core.Login.UserAccessManager.LoginWithSavedCredentials()  
— End of inner exception stack trace —  
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)  
at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)  
at System.Threading.Tasks.Task.Wait()  
at Toggl.WPF.App.getMostAccessibleViewModel(DependencyContainer dependencyContainer, MainWindow mainWindow)  
at Toggl.WPF.App.activateMainWindow(String argument, SingleInstanceAppManager appInstance, WpfDependencyContainer dependencyContainer)  
at Toggl.WPF.App.OnStartup(StartupEventArgs e)  
at System.Windows.Application.\<.ctor\>b\_\_1\_0(Object unused)

---

<div class="post-metadata">

**Author:** ![Jake](https://yyz2.discourse-cdn.com/flex012/user_avatar/community.toggl.com/jake/32/1159_2.png) [@Jake](https://community.toggl.com/u/Jake)\
**Post date:** [March 21, 2025, 11:38pm UTC](https://community.toggl.com/t/desktop-app-crashing-after-first-run/1404/6 "2025-03-21T23:38:23Z")

</div>

Thanks for that! Lemme check on this with our team.

---

<div class="post-metadata">

**Author:** ![Jake](https://yyz2.discourse-cdn.com/flex012/user_avatar/community.toggl.com/jake/32/1159_2.png) [@Jake](https://community.toggl.com/u/Jake)\
**Post date:** [March 24, 2025, 5:05pm UTC](https://community.toggl.com/t/desktop-app-crashing-after-first-run/1404/7 "2025-03-24T17:05:37Z")

</div>

Thanks for the wait! Our team has informed me that the database may indeed be corrupted. To address this, they recommend that you uninstall the app, then when the dialog appears saying _“Would you like to retain your application data on this device?”_ , you should click No, and then try reinstalling the app from:

> **[FREE Desktop Time Tracker \[Windows & Mac\] | Toggl Track](https://toggl.com/track/toggl-desktop/)**
>
> Time tracking desktop app used by millions. Track time, set billable rates, add notes, view reports and more. Available for Mac and Windows.

---

<div class="post-metadata">

**Author:** ![vtek](https://yyz2.discourse-cdn.com/flex012/user_avatar/community.toggl.com/vtek/32/908_2.png) [@vtek](https://community.toggl.com/u/vtek)\
**Post date:** [March 25, 2025, 7:22pm UTC](https://community.toggl.com/t/desktop-app-crashing-after-first-run/1404/8 "2025-03-25T19:22:06Z")

</div>

that fixed it. I never thought to check the box to remove everything. probably should have. thx!

---

<div class="post-metadata">

**Author:** ![Jake](https://yyz2.discourse-cdn.com/flex012/user_avatar/community.toggl.com/jake/32/1159_2.png) [@Jake](https://community.toggl.com/u/Jake)\
**Post date:** [March 25, 2025, 10:51pm UTC](https://community.toggl.com/t/desktop-app-crashing-after-first-run/1404/9 "2025-03-25T22:51:02Z")

</div>

Glad we got it sorted 🙂 Thanks!

---

<div class="post-metadata">

**Author:** ![Jake](https://yyz2.discourse-cdn.com/flex012/user_avatar/community.toggl.com/jake/32/1159_2.png) [@Jake](https://community.toggl.com/u/Jake)\
**Post date:** [March 25, 2025, 10:51pm UTC](https://community.toggl.com/t/desktop-app-crashing-after-first-run/1404/10 "2025-03-25T22:51:56Z")

</div>

Closed on March 25, 2025, 10:51pm UTC


