Hi,
We are trying to upload a custom DLL that is using the System.Data.OleDb NuGet package. This DLL is designed to make bulk orders with the help of an Excel file - the Excel file is read by the OleDB NuGet package. However, instead of working correctly, I get this error and I don't know what's going wrong:
Error Message
An error occurred while attaching module (Dynamicweb.Frontend.Content)
System.IO.FileNotFoundException: Could not load file or assembly 'System.Data.OleDb, Version=9.0.0.6, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified. File name: 'System.Data.OleDb, Version=9.0.0.6, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' at DW10.UploadCartFromExcel.Helpers.ExcelFileParser.PrepareProductDictionaryFromExcelFile(Template formTemplate, String fileName, String file, String productNumberColumnNumberName, String quantityColumnNumberName, Dictionary`2 dctIds) at DW10.UploadCartFromExcel.Frontend.GetModuleContent() at Dynamicweb.Frontend.Content.GetModuleOutput(Paragraph paragraph, PageView pageview)
What We've Tried
- Added/updating the System.Data.OleDb NuGet package to our project on DW10
- Built the project successfully with the OleDb NuGet
- The bin folder only contains our DLL, .pdb file, and .deps.json (no runtime folder or additional dependencies)
- .NET 8
- Dynamicweb 10
Any guidance would be greatly appreciated!
Thanks in advance for your help.