UaServerApplicationCallback::logonSessionUser has invalid pUserIdentityToken

Questions regarding the use of the C++ SDK for Server or Client development or integration into customer products ...

Moderator: uasdkcpp

Post Reply
ssmaung
Sr. Member
Sr. Member
Posts: 17
Joined: 09 Jun 2021, 11:42

UaServerApplicationCallback::logonSessionUser has invalid pUserIdentityToken

Post by ssmaung »

Hello,
There is no client connecting but there is ExceptionCode: c0000005 (Access violation) at UaServerApplicationCallback::logonSessionUser.
In which situation, OPC UA Server can have invalid pUserIdentityToken?
My OPC UA Server was running about 4 days without user interaction.
Thank you.

User avatar
Support Team
Hero Member
Hero Member
Posts: 3072
Joined: 18 Mar 2011, 15:09

Re: UaServerApplicationCallback::logonSessionUser has invalid pUserIdentityToken

Post by Support Team »

Hi,

was that access violation caused by code that YOU have written/modified yourself?

We have never experienced such behavior, and we have used the UserTokens in the logonSessionUser since many years.
Best regards
Unified Automation Support Team

Post Reply