Could not load file or assembly 'Syncfusion.Licensing'

Hi,

I'm trying to use File Formats library in a Asp.Net Core Web Api project. I installed "Syncfusion.DocIO.NETStandard (16.2.0.46)" via nuget and registered the generated Licence Key in Startup.cs configure method, with 'SyncfusionLicenseProvider.RegisterLicense()' method. When executing the code I get an error once it try to use the Syncfusion dll (WordDocument document = new WordDocument(stream, FormatType.Automatic);)

The error message given is,

Could not load file or assembly 'Syncfusion.Licensing, Version=16.2.0.46, Culture=neutral, PublicKeyToken=null' or one of its dependencies. A strongly-named assembly is required. (Exception from HRESULT: 0x80131044)

Also tried installing Syncfusion.Licensing (16.2.0.46) nuget package but no avail. 

Thanks in advance,
Nalaka

10 Replies

DB Dilli Babu Nandha Gopal Syncfusion Team August 24, 2018 06:51 AM UTC

Hi Nalaka, 

Thank you for contacting Syncfusion support. 

The reported issue is a known one and procedure to resolve this issue is published as KB which is available below. 

Please let us know whether the above KB helps.   

Regards, 
Dilli babu. 



NA Nalaka August 28, 2018 04:30 AM UTC

Hi Dilli Babu,

Thank you so much for the reply. 

I installed ”Syncfusion.DocIO.Base” NuGet  package as instructed in the KB  article, but then I get these errors and can not seem to get them resolved.

The type 'WordDocument' exists in both 'Syncfusion.DocIO.Base, Version=16.2460.0.46, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89' and 'Syncfusion.DocIO.Portable, Version=16.2200.0.46, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89'
The type 'FormatType' exists in both 'Syncfusion.DocIO.Base, Version=16.2460.0.46, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89' and 'Syncfusion.DocIO.Portable, Version=16.2200.0.46, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89'

Below are the Syncfusion nuget packages installed

Syncfusion.DocIO.Base
Syncfusion.DocIO.NETStandard
Syncfusion.DocIORenderer.NETStandard

And blow namespaces are imported in the class file 

Syncfusion.DocIO
Syncfusion.DocIO.DLS
Syncfusion.DocIORenderer
Syncfusion.Pdf

Thanks and regards, 
Nalaka


DB Dilli Babu Nandha Gopal Syncfusion Team August 28, 2018 05:27 AM UTC

Hi Nalaka, 
 
As mentioned in our KB documentation, it is enough to install Syncfusion.DocIO.Base , Syncfusion.Pdf.Base,Syncfusion.Presentation.Base,Syncfusion.XlsIO.Base NuGet packages for your requirement (i.e., ASP.NET Core application with .NETFramework). 
Target framework  
 
Package Name  
NuGet feed source  
.NET Framework  
 
Syncfusion.DocIO.Base  
Syncfusion.Pdf.Base 
Syncfusion.Presentation.Base 
Syncfusion.XlsIO.Base 
 
So, we request you to uninstall our NETStandard packages (all Syncfusion packages which ends with “*.NETStandard”) from your application to resolve the reported compilation errors. 
 
Regarding namespace: 
Syncfusion.DocIORenderer.NetStandard is a NETStandard NuGet for performing Word to PDF conversion. Kindly uninstall that NuGet and remove Syncfusion.DocIORenderer namespace. For Word to PDF conversion in .NET Framework, kindly install Syncfusion.DocToPdfConverter.Base  NuGet.  
 
To know more about NuGet required for performing Word to PDF conversion irrespective of platforms is explained detailly in the following documentation link. 
 
Regards, 
Dilli babu. 



NA Nalaka August 28, 2018 07:53 AM UTC

Hi Dilli Babu,

Thanks a lot, I was using the incorrect combination of nuget packages. Adding the packages according to your answer fixed the issue.


Thanks and regards, 
Nalaka



DB Dilli Babu Nandha Gopal Syncfusion Team August 28, 2018 08:45 AM UTC

Hi Nalaka, 
  
We are glad to know the reported errors are resolved at your end. Please let us know if you need any further assistance. 
  
Regards, 
Dilli babu. 
  



JU Jolly Ungco April 22, 2024 03:01 PM UTC

Issue still not resolved



JU Jolly Ungco April 22, 2024 03:09 PM UTC

In your last all latest chat you gave reference for asp.net core and we are not suing asp.net core.


We have application in asp.net MVc net framewprk in C#.


As per your initial conversion you gave one link. we can not convert our existing application with below given link which sent by you.


Getting Started with ASP.NET MVC Component | Syncfusion 


But we are planning sample application using your given link to compare reference difference with our existing application.


But we can not create even application using snfusion as.net mvc  . since last 30 minb my screen it stuck at creating project application. please check the screenshot in zip file


Hopefully you can understand our concern as give you best support to us which encourage us to buy your product.


Thas



Attachment: Creatingnewprojecttakingtoomuchtime_94efee59.zip


KN Kalavathi Nallathambi Syncfusion Team April 23, 2024 01:01 PM UTC

Hi Jolly,

Please find the response to the query you mentioned above:


Query 1: The issue is still not resolved.

There is already a support ticket open under your account for this query. Please follow the support ticket.


Query 2: In your last chat, you referenced ASP.NET Core, but we are not using ASP.NET Core.

We have created a separate ticket for your query under your account. Please follow the ticket for further updates.


Regards,

Kalavathi Nallathambi



SA sara September 8, 2025 02:18 PM UTC

That error usually happens when the Syncfusion. Licensing assembly isn’t properly referenced or the version mismatch occurs. Installing the exact matching version of the licensing package normally fixes it, but sometimes doing a clean rebuild and clearing the NuGet cache helps too. I ran into something similar while testing tool for Roblox executor, and making sure all dependencies were aligned solved it.



KP Kathiresan Paranthaman Syncfusion Team September 9, 2025 04:34 PM UTC

Hi Sara,
Thank you for the update regarding the licensing issue, and for the insights and troubleshooting steps shared.

Regards,
Kathiresan.


Loader.
Up arrow icon