Failed to load Universal Automation

I am getting this error have tried both web and desktop version. Have also tried using different ports and installed on different machines using the latest version.
Any idea about it?

Can you try manually running the UA server? Something is failing during start up.

You need to import the module and call Start-UAServer. Something like this:

Import-Module C:\Program Files (x86)\UniversalAutomation\UniversalAutomation\UniversalAutomation.psm1
Start-UAServer -Port 10000 

Tried manually and getting this

System.IO.IOException
The process cannot access the file ‘C:\Users\Testuser\AppData\Local\UniversalAutomation\database.db’ because it is being used by another process.

UARepositoryPath: C:\Users\Testuser\AppData\Local\UniversalAutomation\Repository
2020-05-01 06:40:59 [INFO] (Hangfire.BackgroundJobServer) Starting Hangfire Server using job storage: ‘Hangfire.MemoryStorage.MemoryStorage’
2020-05-01 06:40:59 [INFO] (Hangfire.BackgroundJobServer) Using the following options for Hangfire Server:
Worker count: 20
Listening queues: ‘default’
Shutdown timeout: 00:00:15
Schedule polling interval: 00:00:15
2020-05-01 06:41:00 [INFO] (Hangfire.Server.BackgroundServerProcess) Server TestPC-gso:4840:0c80a313 successfully announced in 174.4667 ms
2020-05-01 06:41:00 [INFO] (Hangfire.Server.BackgroundServerProcess) Server TestPC-gso:4840:0c80a313 is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, ExpirationManager, CountersAggregator, Worker, DelayedJobScheduler, RecurringJobScheduler…
2020-05-01 06:41:00 [INFO] (Hangfire.Server.BackgroundServerProcess) Server Test-PC:4840:0c80a313 all the dispatchers started
2020-05-01 06:41:00 [INFO] (Hangfire.BackgroundJobServer) Starting Hangfire Server using job storage: ‘Hangfire.MemoryStorage.MemoryStorage’
2020-05-01 06:41:00 [INFO] (Hangfire.BackgroundJobServer) Using the following options for Hangfire Server:
Worker count: 20
Listening queues: ‘default’
Shutdown timeout: 00:00:15
Schedule polling interval: 00:00:15
2020-05-01 06:41:00 [INFO] (Hangfire.Server.BackgroundServerProcess) Server Test-PC:4840:cad586af successfully announced in 0.0774 ms
Hosting environment: Production
Content root path: C:\Windows\System32\WindowsPowerShell\v1.0
Now listening on: http://0.0.0.0:10000
Application started. Press Ctrl+C to shut down.
2020-05-01 06:41:00 [INFO] (Hangfire.Server.BackgroundServerProcess) Server Test-PC:4840:cad586af is starting the registered dispatchers: ServerWatchdog, ServerJobCancellationWatcher, ExpirationManager, CountersAggregator, Worker, DelayedJobScheduler, RecurringJobScheduler…
2020-05-01 06:41:00 [INFO] (Hangfire.Server.BackgroundServerProcess) Server Test-PC:4840:cad586af all the dispatchers started
2020-05-01 06:41:02 [WARN] (Hangfire.AutomaticRetryAttribute) Failed to process the job ‘f2b2e035-f4c6-4923-bdc8-f495981dbb6d’: an exception occurred. Retry attempt 1 of 10 will be performed in 00:00:40.
System.IO.IOException
The process cannot access the file ‘C:\Users\Testuser\AppData\Local\UniversalAutomation\database.db’ because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream…ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at LiteDB.FileDiskService.CreateFileStream(String path, FileMode mode, FileAccess access, FileShare share)
at LiteDB.FileDiskService.Initialize(Logger log, String password)
at LiteDB.LiteEngine…ctor(IDiskService disk, String password, Nullable1 timeout, Int32 cacheSize, Logger log, Boolean utcDate) at LiteDB.LiteDatabase.<>c__DisplayClass11_0.<.ctor>b__0() at LiteDB.LazyLoad1.get_Value()
at LiteDB.LiteCollection1.<Find>d__17.MoveNext() at LiteDB.LiteQueryable1.d__21.MoveNext()
at System.Linq.Buffer1..ctor(IEnumerable1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable1 source) at UniversalAutomation.LiteDBTable1.Get()
at UniversalAutomation.JobScheduler.Schedule()

Can you please ensure that the Universal Automation service has been stopped and try again?

I have found a little Powershell Goodness can solve this problem:
Get-Process -name ‘UniversalAutomation’ |stop-process
This will find any stray processes running and stop them. Works like a charm!
Good luck!