Selfservice.exe Crashes on First Log On, Second Attempt Works

Selfservice.exe Crashes on First Log On, Second Attempt Works

book

Article ID: CTX215296

calendar_today

Updated On:

Description

When a user attempts to logon it fails the first time and succeeds the second time. The first time selfservice.exe crashes.

Self-service Plug-in exited unexpectedly. Exception was Object reference not set to an instance of an object. at Dazzle.AppMonitor.Control.Controller.WaitForLogoff()
at Dazzle.AppMonitor.Program.Main(String[] args).
Self-service Plug-in exited unexpectedly. Exception was The path is not of a legal form. at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
at System.IO.Path.GetDirectoryName(String path)
at Dazzle.Install.Uninstaller.AddPotentialShortcutDirectory(String dir, Boolean recurse)
at Dazzle.AppMonitor.Helper.Cleanup.DeletePNAgentShortcuts()
at Dazzle.AppMonitor.Helper.FirstRun.OnFirstRun()
at Dazzle.AppMonitor.Program._Main(String[] args)

Resolution

Create a Desktop folder in the default users profile C:\Users\Default on the client machine (Receiver side).


Problem Cause

In Procmon logs collected from client machine we see that the "Desktop" folder was not found for the user:

selfservice

On further investigation it was found that Desktop folder was missing in the default users profile on the client machine (Receiver side)
 

Issue/Introduction

When a user attempts to logon it fails the first time and succeeds the second time. The first time selfservice.exe crashes.