在切换ID后,用户开始得到错误“GetProfileDocument上不存在文件(CN= user _name/O=Organization)。有人已经经历过这样的麻烦了吗?”
清洗cache.ndk后,它似乎就解决了。你会建议重新安装客户端吗?
职能如下:
Function getUserProfile() As NotesDocument
On Error GoTo handlErr
Static docUserProfile As NotesDocument
If docUserProfile Is Nothing Then
Dim dbCurrent As NotesDatabase
Dim s As New NotesSession
Set dbCurrent = s.CurrentDatabase
Set docUserProfile = dbCurrent.GetProfileDocument(s.EffectiveUserName )
End If
Set getUserProfile = docUserProfile
Exit Function
handlErr:
If s Is Nothing Then Set s = New NotesSession
LogError("s.EffectiveUserName="+s.EffectiveUserName)
Exit Function
End Functionthx预先
发布于 2016-08-04 07:34:31
如果在客户端打开时缓存了客户端8.5.*和更高配置文件,则只需重新启动客户端即可解决此问题。
https://stackoverflow.com/questions/33472659
复制相似问题