Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 2 additions & 12 deletions Document-Processing-toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,7 @@
<a href="/document-processing/data-extraction/smart-data-extractor/net/Features">Features</a>
</li>
<li>
FAQ
<ul>
<li>
<a href="/document-processing/data-extraction/smart-data-extractor/net/FAQ/how-to-resolve-the-onnx-file-missing-error-in-smart-data-extractor">How to resolve the ONNX file missing error</a>
</li>
</ul>
<a href="/document-processing/data-extraction/smart-data-extractor/net/troubleshooting">Troubleshooting and FAQ</a>
</li>
</ul>
</li>
Expand All @@ -181,12 +176,7 @@
<a href="/document-processing/data-extraction/smart-table-extractor/net/Features">Features</a>
</li>
<li>
FAQ
<ul>
<li>
<a href="/document-processing/data-extraction/smart-table-extractor/net/FAQ/how-to-resolve-the-onnx-file-missing-error-in-smart-table-extractor">How to resolve the ONNX file missing error</a>
</li>
</ul>
<a href="/document-processing/data-extraction/smart-table-extractor/net/troubleshooting">Troubleshooting and FAQ</a>
</li>
</ul>
</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ The following assemblies need to be referenced in your application based on the
<tr>
<td>
{{'WPF'| markdownify }},
{{'Windows Forms'| markdownify }} and {{'ASP.NET MVC'| markdownify }}
{{'Windows Forms'| markdownify }} and {{'ASP.NET MVC'| 
markdownify }}
</td>
<td>
Syncfusion.Compression.Base<br/>
Syncfusion.ImagePreProcessor.Base<br/>
Syncfusion.OCRProcessor.Base<br/>
Syncfusion.Pdf.Imaging.Base<br/>
Syncfusion.Pdf.Base<br/>
Syncfusion.PdfToImageConverter.Base<br/>
Syncfusion.SmartFormRecognizer.Base<br/>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ keywords: Assemblies

## Extract Structured data from PDF

To work with Smart Data Extractor, the following NuGet packages need to be installed in your application.
To work with Smart Data Extractor, the following NuGet packages need to be installed in your application from [nuget.org](https://www.nuget.org/).

<table>
<tr>
Expand All @@ -25,23 +25,23 @@ Windows Forms<br/>
Console Application (Targeting .NET Framework)
</td>
<td>
{{'Syncfusion.SmartDataExtractor.WinForms.nupkg'| markdownify }}
{{'[Syncfusion.SmartDataExtractor.WinForms.nupkg](https://www.nuget.org/packages/Syncfusion.SmartDataExtractor.WinForms/)'| markdownify }}
</td>
</tr>
<tr>
<td>
WPF
</td>
<td>
{{'Syncfusion.SmartDataExtractor.Wpf.nupkg'| markdownify }}
{{'[Syncfusion.SmartDataExtractor.Wpf.nupkg](https://www.nuget.org/packages/Syncfusion.SmartDataExtractor.Wpf)'| markdownify }}
</td>
</tr>
<tr>
<td>
ASP.NET MVC5
</td>
<td>
{{'Syncfusion.SmartDataExtractor.AspNet.Mvc5.nupkg'| markdownify }}
{{'[Syncfusion.SmartDataExtractor.AspNet.Mvc5.nupkg](https://www.nuget.org/packages/Syncfusion.SmartDataExtractor.AspNet.Mvc5)'| markdownify }}
</td>
</tr>
<tr>
Expand All @@ -50,7 +50,7 @@ ASP.NET Core (Targeting NET Core) <br/>
Console Application (Targeting .NET Core) <br/>
</td>
<td>
{{'Syncfusion.SmartDataExtractor.Net.Core.nupkg'| markdownify }}
{{'[Syncfusion.SmartDataExtractor.Net.Core.nupkg](https://www.nuget.org/packages/Syncfusion.SmartDataExtractor.Net.Core)'| markdownify }}
</td>
</tr>
<tr>
Expand All @@ -59,7 +59,7 @@ Windows UI (WinUI) <br/>
.NET Multi-platform App UI (.NET MAUI)
</td>
<td>
{{'Syncfusion.SmartDataExtractor.NET.nupkg'| markdownify }}
{{'[Syncfusion.SmartDataExtractor.NET.nupkg](https://www.nuget.org/packages/Syncfusion.SmartDataExtractor.NET)'| markdownify }}
</td>
</tr>
</table>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
---
title: Troubleshoot SmartDataExtractor in DataExtractor | Syncfusion
description: Troubleshooting steps and FAQs for Syncfusion SmartDataExtractor to resolve common errors in .Net Framework projects.
platform: document-processing
control: SmartDataExtractor
documentation: UG
---

# Troubleshooting and FAQ for Smart Data Extractor

## ONNX file missing

<table>
<th style="font-size:14px" width="100px">Exception</th>
<th style="font-size:14px">ONNX files are missing</th>
<tr>
<th style="font-size:14px" width="100px">Reason
</th>
<td>The required ONNX model files are not copied into the application’s build output.
</td>
</tr>
<tr>
<th style="font-size:14px" width="100px">Solution</th>
<td>
Ensure that the runtimes folder is copied properly to bin folder of the application from NuGet package location.
<br/><br/>
Please refer to the below screenshot,
<br/><br/>
<img alt="Runtime folder" src="data-extraction-images/onnx.png">
<br/><br/>
Notes:

- If you publish your application, ensure the `runtimes\models` folder and ONNX files are included in the publish output (you may need to mark files as content in the project file or use a <Content> entry).

</td>
</tr>

</table>

## System.TypeInitializationException / FileNotFoundException – Microsoft.ML.ONNXRuntime

<table>
<th style="font-size:14px" width="100px">Exception
</th>
<th style="font-size:14px">
1. System.TypeInitializationException <br/>
2. FileNotFoundException (Microsoft.ML.ONNXRuntime)
</th>

<tr>
<th style="font-size:14px" width="100px">Reason
</th>
<td>
The required **Microsoft.ML.ONNXRuntime** NuGet package is not installed in your project. SmartDataExtractor depends on this package and its required assemblies to function properly.
<br/><br/>
</td>
</tr>
<tr>
<th style="font-size:14px" width="100px">Solution
</th>
<td>Install the NuGet package [Microsoft.ML.ONNXRuntime (Version 1.18.0)](https://www.nuget.org/packages/Microsoft.ML.ONNXRuntime/1.18.0) manually in your sample/project. <br/>
This package is required for **SmartDataExtractor** across .Net Framework projects.
<br/><br/>
</td>
</tr>
</table>

## ONNXRuntimeException – Model File Not Found

<table>

<th style="font-size:14px" width="100px">Exception
</th>
<th style="font-size:14px">Microsoft.ML.ONNXRuntime.ONNXRuntimeException
</th>

<tr>
<th style="font-size:14px" width="100px">Reason
</th>
<td>The required native runtime library (ONNXRuntime.dll) is missing from your application's bin folder.
</td>
</tr>
<tr>
<th style="font-size:14px" width="100px">Solution
</th>
<td>In your MVC project file (.csproj), add the following build target to copy the native DLL from the NuGet package folder to the bin folder:
<br/><br/>
<table>
<tr>
<td>
{% tabs %}
{% highlight C# tabtitle="C#" %}
<Target Name="CopyOnnxRuntimeDll" AfterTargets="Build">
<Copy
SourceFiles="$(SolutionDir)packages\Microsoft.ML.OnnxRuntime.1.18.0\runtimes\win-x64\native\onnxruntime.dll"
DestinationFolder="$(OutDir)"
SkipUnchangedFiles="true" />
</Target>
{% endhighlight %}
{% endtabs %}
</td>
</tr>
</table>
<br/><br/>
</td>
</tr>
</table>

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ The following assemblies need to be referenced in your application based on the
<tr>
<td>
{{'WPF'| markdownify }},
{{'Windows Forms'| markdownify }} and {{'ASP.NET MVC'| markdownify }}
{{'Windows Forms'| markdownify }} and {{'ASP.NET MVC'| 
markdownify }}
</td>
<td>
Syncfusion.Compression.Base<br/>
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ keywords: Assemblies

## Extract Structured data from PDF

To work with Smart Table Extractor, the following NuGet packages need to be installed in your application.
To work with Smart Table Extractor, the following NuGet packages need to be installed in your application from [nuget.org](https://www.nuget.org/).

<table>
<tr>
Expand All @@ -25,23 +25,23 @@ Windows Forms<br/>
Console Application (Targeting .NET Framework)
</td>
<td>
{{'Syncfusion.SmartTableExtractor.WinForms.nupkg'| markdownify }}
{{'[Syncfusion.SmartTableExtractor.WinForms.nupkg](https://www.nuget.org/packages/Syncfusion.SmartTableExtractor.WinForms/)'| markdownify }}
</td>
</tr>
<tr>
<td>
WPF
</td>
<td>
{{'Syncfusion.SmartTableExtractor.Wpf.nupkg'| markdownify }}
{{'[Syncfusion.SmartTableExtractor.Wpf.nupkg](https://www.nuget.org/packages/Syncfusion.SmartTableExtractor.Wpf)'| markdownify }}
</td>
</tr>
<tr>
<td>
ASP.NET MVC5
</td>
<td>
{{'Syncfusion.SmartTableExtractor.AspNet.Mvc5.nupkg'| markdownify }}
{{'[Syncfusion.SmartTableExtractor.AspNet.Mvc5.nupkg](https://www.nuget.org/packages/Syncfusion.SmartTableExtractor.AspNet.Mvc5)'| markdownify }}
</td>
</tr>
<tr>
Expand All @@ -50,7 +50,7 @@ ASP.NET Core (Targeting NET Core) <br/>
Console Application (Targeting .NET Core) <br/>
</td>
<td>
{{'Syncfusion.SmartTableExtractor.Net.Core.nupkg'| markdownify }}
{{'[Syncfusion.SmartTableExtractor.Net.Core.nupkg](https://www.nuget.org/packages/Syncfusion.SmartTableExtractor.Net.Core)'| markdownify }}
</td>
</tr>
<tr>
Expand All @@ -59,7 +59,7 @@ Windows UI (WinUI) <br/>
.NET Multi-platform App UI (.NET MAUI)
</td>
<td>
{{'Syncfusion.SmartTableExtractor.NET.nupkg'| markdownify }}
{{'[Syncfusion.SmartTableExtractor.NET.nupkg](https://www.nuget.org/packages/Syncfusion.SmartTableExtractor.NET)'| markdownify }}
</td>
</tr>
</table>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

Loading