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

Question

Question

Forms Portal: Insufficient rights to BPInstancesExport.ashx

asked on March 5, 2019

Hi,

when trying to download an excel export of a Form's submissions, i'm getting the following error (from error logs):

Note: I even tried giving "Everyone" full access to the file Forms/Handlers/BPInstancesExport.ashx and it is still giving me this error.

An error occurred during download. [LFF4120-ErrorOccurredDuringDownload]

Details:
URL: /Forms/Handlers/BPInstancesExport.ashx
Error: ErrorOccurredDuringDownload
Date: 3/5/2019 12:36:23 PM (Middle East Standard Time)
HTTP Status Code: 500
Business Process ID: 0
User: forms
IP: 192.168.19.161
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36
Business Process Name: 


Inner exception: System.ServiceModel.FaultException
Message: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException: You do not have sufficient rights to view this page. [LFF8-NoAuthority]
   at Laserfiche.Forms.SharedServices.QueryServices.AuthorizationServices.CheckAuthorization(AuthorizationDC authDC, AccessType accessCutoff)
   at Laserfiche.Forms.SharedServices.QueryServices.InstanceMetricServices.GetAuthorizationInfo(Int32 bpid, Int32 viewID, Boolean aggregationAuthorization)
   at Laserfiche.Forms.SharedServices.QueryServices.InstanceMetricServices.GetAuthorizationInfo(List`1 bpidList, Int32 viewID, Boolean aggregationAuthorization)
   at Laserfiche.Forms.SharedServices.QueryServices.DrilldownServices.Get(Nullable`1 bpid, String filter, Int32 viewID, Int32 subViewId, List`1 columns, List`1 sorts, Int32 page, Int32 pageSize, Boolean includeWeekends, String search, String tz, Boolean isDownload, Boolean noAuthCheck)
   at Laserfiche.Forms.Export.InstancesExportSpecifications.GetExportColumnList()
   at Laserfiche.Forms.Export.ExportSpecifications`1.DoExport(String& exportFilePath)
   at Laserfiche.Forms.Export.FormExportService.ExportProcessData_Sync(ReportingExportParameters para, LaserficheIdentity currentUser)

Server stack trace: 
   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 System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at FormsModel.SharedContracts.IFormExportService.ExportProcessData_Sync(ReportingExportParameters para, LaserficheIdentity currentUser)
   at FormsModel.SharedContracts.FormExportServiceProxy.ExportProcessData(ReportingExportParameters para, LaserficheIdentity currentUser)
   at E_Forms.Handlers.BPInstancesExport.ProcessRequest(HttpContext context)

 

0 0

Replies

replied on March 11, 2019

Hi Ziad,

The user you used to download is "forms", so can you confirm if this user has rights to view the report?

Also can you try if you could download report with a different user account, like system administrator?

0 0
replied on March 12, 2019

Hi Rui, 

the user "Forms" is the system administrator. Just to add, the report is downloading fine when the "Include Choice Details" option is checked. However if i uncheck it, it's giving me the page "Laserfiche Forms has encountered a problem. An error occurred during download.". When i check the event log, i see the same message:

"You do not have sufficient rights to view this page. [LFF8-NoAuthority]"

0 0
replied on March 12, 2019

This looked like a bug. Can you open a support case and provide the process to us? Thanks.

0 0
replied on December 9, 2020

@████████ How was this issue resolved? 

Thank you

0 0
replied on November 2, 2022

I'm asking in 2022 - this still is occurring in Forms 10.4.5.316.  So I'm guessing it hasn't been addressed in any updates?  We have users who have been able to download a report previously now getting the error and event log entry on the server.  I've gotten the browser error as well but if I uncheck the Additional Options I'm able to download.  Could there be a bug with this option?

0 0
replied on November 22, 2022

We found and fixed an issue that could cause user getting NoAuthority error when download report while he should have rights in Forms 11 Update 3; it could happen if multiple users with different process rights download process at same time.

However we are not aware of any bug related with the "Include choices details" option. Can you give more detail on how it happened?

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

Sign in to reply to this post.