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

Discussion

Discussion

Message: Could not find a part of the path 'C:\ProgramData\Laserfiche Forms\TempFile\'.

posted on October 19, 2021

Running forms 10.4.5

Has anyone seen the following error: 

 

Message: Could not find a part of the path 'C:\ProgramData\Laserfiche Forms\TempFile\'. 

1 0
replied on January 25, 2022 Show version history

I received the same error yesterday:  Could not find a part of the path 'C:\ProgramData\Laserfiche Forms\TempFile\'.  The path exists on the server.

This occurred when scheduled reports were being sent out.  The email was sent for the reports, but the xlsx attachments were missing from the emails.

Stack Trace:
Caught exception: Laserfiche.Forms.CommonUtils.Exceptions.LFFormsException
Message: An unexpected error has occurred. [LFF502-UnexpectedError]


Inner exception: System.IO.DirectoryNotFoundException
Message: Could not find a part of the path 'C:\ProgramData\Laserfiche Forms\TempFile\'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.File.InternalReadAllBytes(String path, Boolean checkHost)
   at Laserfiche.Forms.Routing.EmailScheduledReportGenerator.SendMails(ScheduledEmailTaskParameters scheduledEmailTaskParameters)

0 0
replied on January 26, 2022

We fixed a bug(Reports now attached to email for scheduled report when using a large database with millions of rows for snapshots. (356123)) with same error in Forms 11 Update 2(https://support.laserfiche.com/kb/1014352/list-of-changes-for-laserfiche-forms-11-update-2) which is caused by lots of data in cf_static_report_data table. To confirm you ran into the same bug, you can run query "SELECT count(*)FROM [cf_static_report_data]" to check how many rows in that table. Also please check whether there is another error logged at the same time? Such as following:

Inner exception: System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]

Message: Execution Timeout Expired.  The timeout period elapsed prior to completion of the operation or the server is not responding.

 

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 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)

   at FormsModel.SharedContracts.FormExportServiceProxy.ExportProcessData(ReportingExportParameters para)

   at Laserfiche.Forms.Routing.EmailScheduledReportGenerator.ExportReport(IEntityContext routingContext, ScheduledEmailTaskParameters scheduledEmailTaskParameters, ExportFileType fileType)

0 0
replied on October 19, 2021

Can you provide more details about the error?

1. At which situation did you get the error?

2. Please provide the complete error message with the stack trace

3. Have you checked whether C:\ProgramData\Laserfiche Forms\TempFile\ exists on the Forms server?

0 0
replied on December 16, 2022

3. checked and confirmed before posting issue

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

Sign in to reply to this post.