VERIFIED SOLUTION i

Resolve error 'Invalid login (username = '<>')' in Visual Dialogue client of Portrait Dialogue

Issue

While logging into Visual Dialogue and error pops up "Login error Invalid login (username = 'Username')"
 
Visual_Dialogue_Login_error

The Dialogue Server error logs contains below entry:

Default Error Log Location: C:\Program Files (x86)\PST\Million Handshakes\Dialog Server\LogFiles\
 
Exception: Invalid login (username = 'portrait')
Time: 1/22/2016 5:48:06 PM
Module: C:\PROGRA~2\PST\MILLIO~1\DIALOG~1\MHDIAL~1.DLL
Version: 6.0.1.283
Filedate: 12/11/2013 2:00:18 PM
Instancename: SqlServer
Username: Username not defined in call
ProcessID: 4596
ThreadID: 9556
Exceptiontype: Exception
Unit: MHUserSessionRepository.pas
Procedure: MHUserSessionRepository.TMHUserSessionRepository.LoginWinAuth
Line: 1006
SQLStatement: 

[029F635B] MHUserSessionRepository.TMHUserSessionRepository.LoginWinAuth (Line 1003, "MHUserSessionRepository.pas")
[0348744C] MHBaseTransObject.TMHBaseTransObject.LoginWinAuth (Line 808, "MHBaseTransObject.pas")
[026CED8E] System.Win.ComObj.TAutoObject.Invoke

Cause

This could be caused due to either of following:
  • Username from which login is attempted, is not added in 'Instance'-> 'Users and Security'->'Users'. Refer following screenshot, showing various user added on this node.

Dialogue-Admin
  • 'Perform access checks only at process level' selected in the Security Level of the MH Dialogue Server object in Component Services. Refer following screenshot.
 
MH_Dialogue_Server_COM_object

Resolution

UPDATED: May 25, 2017
To add user, use following steps:
  • Login to Dialogue Admin client
  • Navigate to 'Instance'-> 'Users and Security'->'Users'
  • Add user from which login is attempted here
To choose correct Security Level access, use following steps:
  • Open Component Services(Start Menu, Administrative Tools)
  • Expand Computers, 'My Computer'->'COM+ Applications'
  • Right Click on MH Dialogue Server and Select 'Properties'
  • Navigate to Security tab and choose second (Perform access checks only at process and component level) radio button.
  • Apply and OK
Refer following screenshot. It shows correct Security Level selected.
 
MH_Dialogue_Server_COM_object_Access