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

Question

Question

AuditTrail 11 Service error General error: Illegal characters in path

asked on June 9, 2023

Looking for some guidance on tracking down the issue at the root of this error: 

Log Name:      Laserfiche-AuditTrail-Service/Admin
Source:        Laserfiche-AuditTrail-Service
Date:          6/9/2023 12:52:49 PM
Event ID:      45
Task Category: Task45
Level:         Error
Keywords:      Session0,Session1,Session2,Session3,AdminChannel
User:          SYSTEM
Computer:      [redacted-domain-name]
Description:
General error: Illegal characters in path. 
Type: System.ArgumentException
Stack trace:
   at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
   at System.IO.Path.Combine(String path1, String path2)
   at Laserfiche.AuditAnalytics.ImportService.Models.EventSeriesExtensions.FillCatalogPath(EventSeries series, FtsOptions options)
   at Laserfiche.AuditAnalytics.ImportService.AutoAuditCatalogRetriever.<GetAuditCatalog>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Laserfiche.AuditAnalytics.ImportService.Services.SeriesManagement.<TryInitIndexCatalog>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Laserfiche.AuditAnalytics.ImportService.Services.UnifiedAuditImporter.<ImportSingleSeries>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Laserfiche.AuditAnalytics.ImportService.Services.UnifiedAuditImporter.<ImportAllSeries>d__11.MoveNext()
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Laserfiche-AuditTrail-Service" Guid="{ddddbbb7-a545-5a42-d2ef-44fdaea71a29}" />
    <EventID>45</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>45</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000f00000000001</Keywords>
    <TimeCreated SystemTime="2023-06-09T17:52:49.392220400Z" />
    <EventRecordID>832226</EventRecordID>
    <Correlation />
    <Execution ProcessID="3512" ThreadID="2116" />
    <Channel>Laserfiche-AuditTrail-Service/Admin</Channel>
    <Computer>[redacted-domain-name]</Computer>
    <Security UserID="S-1-5-18" />
  </System>
  <EventData>
    <Data Name="parameter0">Illegal characters in path.</Data>
    <Data Name="stack_track">
Type: System.ArgumentException
Stack trace:
   at System.IO.Path.CheckInvalidPathChars(String path, Boolean checkAdditional)
   at System.IO.Path.Combine(String path1, String path2)
   at Laserfiche.AuditAnalytics.ImportService.Models.EventSeriesExtensions.FillCatalogPath(EventSeries series, FtsOptions options)
   at Laserfiche.AuditAnalytics.ImportService.AutoAuditCatalogRetriever.&lt;GetAuditCatalog&gt;d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Laserfiche.AuditAnalytics.ImportService.Services.SeriesManagement.&lt;TryInitIndexCatalog&gt;d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Laserfiche.AuditAnalytics.ImportService.Services.UnifiedAuditImporter.&lt;ImportSingleSeries&gt;d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Laserfiche.AuditAnalytics.ImportService.Services.UnifiedAuditImporter.&lt;ImportAllSeries&gt;d__11.MoveNext()</Data>
    <Data Name="attributes">{"module_name":"Audit Import Service"}</Data>
  </EventData>
</Event>

0 0

Replies

replied on June 11, 2023

Hi, Damon,

 

This error indicates invalid character in some audit catalog path. Could you check if there is any invalid char (*?"<>|) in the following places on Audit Trail Configuration Site?

 

 

Also, if the error does not occur in the recent day and all catalogs on this "Search Catalog" tab are running correctly ("Status" is green and "Catalog Size" is not zero or empty), then the error might a false alarm due to some intermediate state of Audit Trail.

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

Sign in to reply to this post.