179
Views
7
Comments
[Advanced Excel] Add Image to Excel File
Forge component by Carlos Freitas
68
Published on 27 Aug 2019

I'm using Studio 11 and I use the extension to add a image to the excel

But someting went wrong

Error Log :

Could not load file or assembly 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.

I openned the advanced excel demo but it threw that error too.

Please help! :D

Rank: #137

Minh Lê Van wrote:

I'm using Studio 11 and I use the extension to add a image to the excel

But someting went wrong

Error Log :

Could not load file or assembly 'Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.

I openned the advanced excel demo but it threw that error too.

Please help! :D

Hi Minh Lê Van,

We are checking and try to resolve this issue asap.

Thank you for your patience and support.

Regards,

Amit Verma


Rank: #158

I managed to get it working by commenting out the following line that just logs the range:


Steps

* Open the Advanced Excel extension in Integration Studio

* Click edit to edit the code in Visual Studio (you must have Visual Studio installed and Integration Studio configured)

* Open the Advanced_Excel.cs file

* Locate the MssImage_Insert(...) method

* Comment out the Uril.LogMessage line

* Build the solution

* Close Visual Studio

* Publish the extension in Integration Studio

* Update dependencies for the module(s) using AdvancedExcel.

Insert image will now work.

Staff
Rank: #6662

Hey everyone, I've tried both the solutions given above and they didn't work.

Do you have another solution ?

Thanks 

Rank: #70618

We managed to get it working by downgrading newtonsoft to version 11.0.0.1.

Every other solution proposed didn't had any effect