You are viewing limited content. For full access, please sign in.

Question

Question

Laserfiche Forms has encountered a problem. You are not licensed to use Laserfiche Forms. Please contact your system administrator for more information

asked on May 26, 2021

I have a user who has been assigned a Laserfiche Forms task for the first time, but when he tries to log in, he gets the following error message:

Laserfiche Forms has encountered a problem.

You are not licensed to use Laserfiche Forms. Please contact your system administrator for more information.

At first glance, this appeared straightforward, but the user is licensed to use Forms, I have run "Synchronize Users" and checked to make sure the user's name shows up in the list.

Any idea what I might have missed? I suspect something simple but I haven't been able to find it yet.

 

Thanks!

Error Message.jpg
LFDS showing license.jpg
Forms - Administration - System Security.jpg
Error Message.jpg (843.15 KB)
0 0

Replies

replied on May 26, 2021 Show version history

Hi Timothy,

On the form itself under Access Rights is he listed?  And if he is in a group is the group listed?

Sue

1 0
replied on May 26, 2021

Under forms config, have you granted that group access?  

1 0
replied on May 27, 2021

Thanks for another great idea. I looked it up and found I had granted access to a different group that doesn't include all of the people in the group should have granted. I granted the correct group a couple of hours ago and emailed the user asking him to try again. I just got a phone call from him saying he's still getting the same response when he tries to log in.

0 0
replied on May 27, 2021 Show version history

Have you tried adding him directly to the form?  AT least you can see if it's "user related" or group issue

0 0
replied on May 27, 2021

Hi Sue! Yes, he is listed directly as a submitter on the process, although he shouldn't need to be since he doesn't start the process--he only responds to a task that is sent to him.

I also double-check that he is indeed licensed on LFDS. In FormsConfig, I can't add individuals, but he's in an AD group and in an LFDS group, both of which have forms login permission on FormsConfig.

0 0
replied on May 27, 2021

Any errors on sync?  

0 0
replied on July 13, 2021

No, I never really did get it resolved. The user never replied to my last invitation for him to try again and let me know the results. This particular user very rarely has occasion to use Forms. I think he must have found another way to get the job done and moved on with his life.

If you've checked the things suggested in this thread, it's probably time to reach out to your solution provider, which is what I'll do if my user calls me back.

As a recap of this thread:

  • Make sure a license has been assigned to the user that gets this error.
  • Check FormsConfig to be sure the user is in a group that has rights to sign in to Forms.
  • Make sure the Synchronize Users has been run on the "Administration" page of Laserfiche Forms.
  • Run "Synchronize" in LFDS under Settings/Identity Providers and check for errors.
  • Verify that the user has been assigned access to the specific Forms process that he or she is trying to use.
1 0
replied on July 14, 2021

My issue is actually not related to forms, but it seems we are having an issue with synchronization through LFDS, so that is why I was asking, but I will try your second to the last bullet option to see if that provides me any further information.  Thank you for the response.

0 0
replied on March 27

@████████ I am also having issues syncing with LFDS. Did you ever get your issue resolved?

0 0
replied on May 26, 2021

Good question, and thank you Sue. Yes, he is in an AD group that is listed under Access Rights as a Submitter. I have also confirmed that the task is actually assigned to him.

0 0
replied on May 26, 2021

Hi Timothy,

Could you check whether there is error message logged in Forms event log when the participant logs in? 

0 0
replied on May 27, 2021

Yes, I just had him try again and got the following "Error" event in  the Laserfiche/Forms/App/Operational log:

 

Log Name:      Laserfiche-Forms-App/Operational
Source:        Laserfiche-Forms-App
Date:          5/27/2021 10:40:51 AM
Event ID:      60003
Task Category: GeneralError
Level:         Error
Keywords:      Session0,Session1,Session2,Session3
User:          GC\LaserGCFormsPub
Computer:      LaserGCPubWeb.gc.sda.org
Description:
[500]: You are not licensed to use Laserfiche Forms. Please contact your system administrator for more information.

Function: Error

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Laserfiche-Forms-App" Guid="{98141CA4-660B-51C6-66B4-EC37F5B2FD87}" />
    <EventID>60003</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>5531</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000f00000000000</Keywords>
    <TimeCreated SystemTime="2021-05-27T14:40:51.036323800Z" />
    <EventRecordID>16362752</EventRecordID>
    <Correlation />
    <Execution ProcessID="4400" ThreadID="7484" />
    <Channel>Laserfiche-Forms-App/Operational</Channel>
    <Computer>LaserGCPubWeb.gc.sda.org</Computer>
    <Security UserID="S-1-5-21-2702743658-2123751988-160678389-18709" />
  </System>
  <EventData>
    <Data Name="message">You are not licensed to use Laserfiche Forms. Please contact your system administrator for more information.

Function: Error
</Data>
    <Data Name="internalErrorCode">500</Data>
  </EventData>
</Event>

 

0 0
replied on May 27, 2021

I poked around a little more and found three more events from that time, but in the log under Laserfiche\Directory Service\WebSTS\Operations. I've redacted the name of the server in several places, replacing part of it with '#' signs.

 

Log Name:      Laserfiche-Directory Service-WebSTS/Operational
Source:        Laserfiche-Directory Service-WebSTS
Date:          5/27/2021 10:39:34 AM
Event ID:      0
Task Category: None
Level:         Information
Keywords:      
User:          NETWORK SERVICE
Computer:      Laser#############
Description:


Laserfiche.IdentityModel.UnknownIdentityProviderErrorException ---> Laserfiche.LicenseManager.LMO.LMOException: Exception of type 'Laserfiche.LicenseManager.InvalidSessionException' was thrown. ---> System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Exception of type 'Laserfiche.LicenseManager.InvalidSessionException' was thrown.

Server stack trace: 
   at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: 
   at Laserfiche.LicenseManager.LMO.Utils.ConvertLMException(Exception ex)
   --- End of inner exception stack trace ---
   at Laserfiche.LicenseManager.LMO.SessionTokenFactory.GetSecurityToken(Server server, String sessionToken)
   at Laserfiche.IdentityModel.LFDSIdentityService.GetSecurityTokenStringFromSessionKey(String sessionKey)
   --- End of inner exception stack trace ---
   at Laserfiche.IdentityModel.LFDSIdentityService.ConvertLmoException(LMOException ex)
   at Laserfiche.IdentityModel.LFDSIdentityService.GetSecurityTokenStringFromSessionKey(String sessionKey)
   at Laserfiche.IdentityModel.LFDSIdentityService.CancelSession(String sessionKey)
   at LicenseManagerWebSTS.Services.SSOSessionService.ProcessSignOut(HttpContextBase httpContext, Uri url, ClaimsPrincipal user, Boolean redirectAfterSignout)
   at LicenseManagerWebSTS.Controllers.HomeController.Index()
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Laserfiche-Directory Service-WebSTS" Guid="{7670CB5F-18E3-415B-A220-43AFCB1620D8}" />
    <EventID>0</EventID>
    <Version>0</Version>
    <Level>4</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x1000000000000000</Keywords>
    <TimeCreated SystemTime="2021-05-27T14:39:34.263850400Z" />
    <EventRecordID>11346</EventRecordID>
    <Correlation />
    <Execution ProcessID="7384" ThreadID="7104" />
    <Channel>Laserfiche-Directory Service-WebSTS/Operational</Channel>
    <Computer>Laser########</Computer>
    <Security UserID="S-1-5-20" />
  </System>
  <EventData>
    <Data Name="Message">

Laserfiche.IdentityModel.UnknownIdentityProviderErrorException ---&gt; Laserfiche.LicenseManager.LMO.LMOException: Exception of type 'Laserfiche.LicenseManager.InvalidSessionException' was thrown. ---&gt; System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Exception of type 'Laserfiche.LicenseManager.InvalidSessionException' was thrown.

Server stack trace: 
   at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc&amp; rpc)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: 
   at Laserfiche.LicenseManager.LMO.Utils.ConvertLMException(Exception ex)
   --- End of inner exception stack trace ---
   at Laserfiche.LicenseManager.LMO.SessionTokenFactory.GetSecurityToken(Server server, String sessionToken)
   at Laserfiche.IdentityModel.LFDSIdentityService.GetSecurityTokenStringFromSessionKey(String sessionKey)
   --- End of inner exception stack trace ---
   at Laserfiche.IdentityModel.LFDSIdentityService.ConvertLmoException(LMOException ex)
   at Laserfiche.IdentityModel.LFDSIdentityService.GetSecurityTokenStringFromSessionKey(String sessionKey)
   at Laserfiche.IdentityModel.LFDSIdentityService.CancelSession(String sessionKey)
   at LicenseManagerWebSTS.Services.SSOSessionService.ProcessSignOut(HttpContextBase httpContext, Uri url, ClaimsPrincipal user, Boolean redirectAfterSignout)
   at LicenseManagerWebSTS.Controllers.HomeController.Index()</Data>
  </EventData>
</Event>

 

 

Log Name:      Laserfiche-Directory Service-WebSTS/Operational
Source:        Laserfiche-Directory Service-WebSTS
Date:          5/27/2021 10:39:34 AM
Event ID:      0
Task Category: None
Level:         Information
Keywords:      
User:          NETWORK SERVICE
Computer:      Laser#############
Description:


Laserfiche.IdentityModel.UnknownIdentityProviderErrorException ---> Laserfiche.LicenseManager.LMO.LMOException: Exception of type 'Laserfiche.LicenseManager.InvalidSessionException' was thrown. ---> System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Exception of type 'Laserfiche.LicenseManager.InvalidSessionException' was thrown.

Server stack trace: 
   at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: 
   at Laserfiche.LicenseManager.LMO.Utils.ConvertLMException(Exception ex)
   --- End of inner exception stack trace ---
   at Laserfiche.LicenseManager.LMO.SessionTokenFactory.GetSecurityToken(Server server, String sessionToken)
   at Laserfiche.IdentityModel.LFDSIdentityService.GetSecurityTokenStringFromSessionKey(String sessionKey)
   --- End of inner exception stack trace ---
   at Laserfiche.IdentityModel.LFDSIdentityService.ConvertLmoException(LMOException ex)
   at Laserfiche.IdentityModel.LFDSIdentityService.GetSecurityTokenStringFromSessionKey(String sessionKey)
   at Laserfiche.IdentityModel.LFDSIdentityService.CancelSession(String sessionKey)
   at LicenseManagerWebSTS.Services.SSOSessionService.ProcessSignOut(HttpContextBase httpContext, Uri url, ClaimsPrincipal user, Boolean redirectAfterSignout)
   at LicenseManagerWebSTS.Controllers.HomeController.Index()
   at lambda_method(Closure , ControllerBase , Object[] )
   at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<BeginInvokeSynchronousActionMethod>b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3d()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>c__DisplayClass46.<InvokeActionMethodFilterAsynchronouslyRecursive>b__3f()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<>c__DisplayClass2b.<BeginInvokeAction>b__1c()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Laserfiche-Directory Service-WebSTS" Guid="{7670CB5F-18E3-415B-A220-43AFCB1620D8}" />
    <EventID>0</EventID>
    <Version>0</Version>
    <Level>4</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x1000000000000000</Keywords>
    <TimeCreated SystemTime="2021-05-27T14:39:34.270801400Z" />
    <EventRecordID>11347</EventRecordID>
    <Correlation />
    <Execution ProcessID="7384" ThreadID="7104" />
    <Channel>Laserfiche-Directory Service-WebSTS/Operational</Channel>
    <Computer>LaserGCPubWeb.gc.sda.org</Computer>
    <Security UserID="S-1-5-20" />
  </System>
  <EventData>
    <Data Name="Message">

Laserfiche.IdentityModel.UnknownIdentityProviderErrorException ---&gt; Laserfiche.LicenseManager.LMO.LMOException: Exception of type 'Laserfiche.LicenseManager.InvalidSessionException' was thrown. ---&gt; System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: Exception of type 'Laserfiche.LicenseManager.InvalidSessionException' was thrown.

Server stack trace: 
   at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
   at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc&amp; rpc)
   at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
   at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
   at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]: 
   at Laserfiche.LicenseManager.LMO.Utils.ConvertLMException(Exception ex)
   --- End of inner exception stack trace ---
   at Laserfiche.LicenseManager.LMO.SessionTokenFactory.GetSecurityToken(Server server, String sessionToken)
   at Laserfiche.IdentityModel.LFDSIdentityService.GetSecurityTokenStringFromSessionKey(String sessionKey)
   --- End of inner exception stack trace ---
   at Laserfiche.IdentityModel.LFDSIdentityService.ConvertLmoException(LMOException ex)
   at Laserfiche.IdentityModel.LFDSIdentityService.GetSecurityTokenStringFromSessionKey(String sessionKey)
   at Laserfiche.IdentityModel.LFDSIdentityService.CancelSession(String sessionKey)
   at LicenseManagerWebSTS.Services.SSOSessionService.ProcessSignOut(HttpContextBase httpContext, Uri url, ClaimsPrincipal user, Boolean redirectAfterSignout)
   at LicenseManagerWebSTS.Controllers.HomeController.Index()
   at lambda_method(Closure , ControllerBase , Object[] )
   at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)
   at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;BeginInvokeSynchronousActionMethod&gt;b__39(IAsyncResult asyncResult, ActionInvocation innerInvokeState)
   at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.&lt;InvokeActionMethodFilterAsynchronouslyRecursive&gt;b__3d()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.&lt;&gt;c__DisplayClass46.&lt;InvokeActionMethodFilterAsynchronouslyRecursive&gt;b__3f()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult)
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass21.&lt;&gt;c__DisplayClass2b.&lt;BeginInvokeAction&gt;b__1c()
   at System.Web.Mvc.Async.AsyncControllerActionInvoker.&lt;&gt;c__DisplayClass21.&lt;BeginInvokeAction&gt;b__1e(IAsyncResult asyncResult)</Data>
  </EventData>
</Event>

 

 

Log Name:      Laserfiche-Directory Service-WebSTS/Operational
Source:        Laserfiche-Directory Service-WebSTS
Date:          5/27/2021 10:49:48 AM
Event ID:      0
Task Category: None
Level:         Information
Keywords:      
User:          NETWORK SERVICE
Computer:      Laser#######
Description:
ID4243: Could not create a SecurityToken. A token was not found in the token cache and no cookie was found in the context.

System.IdentityModel.Tokens.SecurityTokenException: ID4243: Could not create a SecurityToken. A token was not found in the token cache and no cookie was found in the context.
   at System.IdentityModel.Tokens.SessionSecurityTokenHandler.ReadToken(XmlReader reader, SecurityTokenResolver tokenResolver)
   at System.IdentityModel.Tokens.SessionSecurityTokenHandler.ReadToken(Byte[] token, SecurityTokenResolver tokenResolver)
   at System.IdentityModel.Services.SessionAuthenticationModule.ReadSessionTokenFromCookie(Byte[] sessionCookie)
   at System.IdentityModel.Services.SessionAuthenticationModule.TryReadSessionTokenFromCookie(SessionSecurityToken& sessionToken)
   at System.IdentityModel.Services.SessionAuthenticationModule.OnAuthenticateRequest(Object sender, EventArgs eventArgs)
   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Laserfiche-Directory Service-WebSTS" Guid="{7670CB5F-18E3-415B-A220-43AFCB1620D8}" />
    <EventID>0</EventID>
    <Version>0</Version>
    <Level>4</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x1000000000000000</Keywords>
    <TimeCreated SystemTime="2021-05-27T14:49:48.937966500Z" />
    <EventRecordID>11348</EventRecordID>
    <Correlation />
    <Execution ProcessID="7384" ThreadID="6316" />
    <Channel>Laserfiche-Directory Service-WebSTS/Operational</Channel>
    <Computer>LaserGCPubWeb.gc.sda.org</Computer>
    <Security UserID="S-1-5-20" />
  </System>
  <EventData>
    <Data Name="Message">ID4243: Could not create a SecurityToken. A token was not found in the token cache and no cookie was found in the context.

System.IdentityModel.Tokens.SecurityTokenException: ID4243: Could not create a SecurityToken. A token was not found in the token cache and no cookie was found in the context.
   at System.IdentityModel.Tokens.SessionSecurityTokenHandler.ReadToken(XmlReader reader, SecurityTokenResolver tokenResolver)
   at System.IdentityModel.Tokens.SessionSecurityTokenHandler.ReadToken(Byte[] token, SecurityTokenResolver tokenResolver)
   at System.IdentityModel.Services.SessionAuthenticationModule.ReadSessionTokenFromCookie(Byte[] sessionCookie)
   at System.IdentityModel.Services.SessionAuthenticationModule.TryReadSessionTokenFromCookie(SessionSecurityToken&amp; sessionToken)
   at System.IdentityModel.Services.SessionAuthenticationModule.OnAuthenticateRequest(Object sender, EventArgs eventArgs)
   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&amp; completedSynchronously)</Data>
  </EventData>
</Event>

 

0 0
replied on July 13, 2021

I have these same errors event messages in the WEBSTS logs.  Did you ever resolve the issue?

 

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.