Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
TrustedLogin2 not working for web page
System
I have a wab page that needs to log into worksite as the current user. My server has worksite 8.5, worksite web 8.5 and Desksite 8.5. Both desksite and worksite web can successfully perform trusted logins. However, when I create a web page that runs this code:
Dim idms As New IManage.ManDMS
Dim isession As IManage.IManSession
Dim AccessToken As Integer
AccessToken = System.Security.Principal.WindowsIdentity.GetCurrent().Token.ToInt32
isession = idms.Sessions.Add("VPC1")
isession.TrustedLogin2(AccessToken)
Response.Write(isession.UserID)
It fails to login. and I get :
[NRTSession ][TrustedLogin ]Access denied (0x8004012f)
Does anyone have any ideas ?
Find more posts tagged with
Comments
Migrateduser
I fixed this by adding the following line to web.config
saravanakumar38
can you specify which set of lines that you ahve added in web.config file to solve this issue