Windows error 0x80131040, -2146234304

Detailed Error Information

FUSION_E_REF_DEF_MISMATCH[1]

Message"The located assembly's manifest definition does not match the assembly reference."
Comment The located assembly's manifest definition does not match the assembly reference.

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode19 (0x013)
NameFACILITY_URT[2][3]
DescriptionThe source of the error code is .NET CLR.[2][3]
Error Code4160 (0x1040)

Questions

725votes
50answers

The located assembly's manifest definition does not match the assembly reference

I am trying to run some unit tests in a C# Windows Forms application (Visual Studio 2005), and I get the following error: > System.IO.FileLoadException: Could not load file or assembly 'Utility, Version=1.2.0.200, Culture=neutral, PublicKeyToken=764d581291d764f7' or one of its dependencies. The located assembly's manifest definition does not match the assembly [...] read more
c#
reference
compiler-errors
dependencies
version
230votes
37answers

Could not load file or assembly or one of its dependencies

I'm having another of these "Could not load file or assembly or one of its dependencies" problems. > Additional information: Could not load file or assembly 'Microsoft.Practices.Unity, Version=1.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) [...] read more
c#
.net
reference
compiler-errors
223votes
42answers

Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'

I am getting the Error > System.IO.FileLoadException : Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) for my CI build Solution which I tried <dependentAssembly> <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" [...] read more
asp.net
json.net
139votes
22answers

.Net picking wrong referenced assembly version

I just copied an existing project to a brand new machine to start developing on it and have run into a problem with the version of one of my referenced assemblies (a telerik DLL as it happens). The project originally referenced an older version of the assembly (lets call it [...] read more
asp.net
dll
80votes
24answers

Could not load file or assembly 'Antlr3.Runtime (1)' or one of its dependencies

I'm getting this error while trying to run my MVC4 project, it was working fine until last time on my other machines, but when I'm trying to run it from another machine it's giving me this error: > Could not load file or assembly 'Antlr3.Runtime (1)' or one of its [...] read more
.net
asp.net-mvc
54votes
15answers

Could not load file or assembly 'System.Web.WebPages.Razor, Version=2.0.0.0

I just upgraded packages in an MVC 3 project (ASP.net 4), and now I am getting the following error message when accessing a page in that project: > SERVER ERROR IN '/MYAPPLICATION' APPLICATION. Could not load file or assembly 'System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located [...] read more
asp.net-mvc-3
razor
dependencies
asp.net-4.0
42votes
8answers

Could not load file or assembly 'System.ComponentModel.Annotations, Version=4.1.0.0

I have a .NET Standard 1.4 class library that references the System.ComponentModel.Annotations (4.3.0) NuGet package. I'm then referencing this class library from a .NET Framework 4.6.2 test project. It builds fine, but at runtime I get the following error: > System.IO.FileLoadException occurred HResult=0x80131040 Message=Could not load file or assembly 'System.ComponentModel.Annotations, [...] read more
.net
visual-studio-2017
.net-standard
.net-standard-1.4
33votes
7answers

Could not load file or assembly 'System.Web.Mvc, Version=3.0.0.0, Elmah.MVC issue

Locally - my MVC 4, asp.net, c# app runs fine on IIS 8 / Windows 8. When deployed to Windows Server 2008, I get this error: Could not load file or assembly 'System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the [...] read more
asp.net
asp.net-mvc
asp.net-mvc-4
assemblies
elmah.mvc
31votes
13answers

Assembly binding redirect does not work

I'm trying to set up an assembly binding redirect, using the following app.config: <configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="Microsoft.AnalysisServices" PublicKeyToken="89845dcd8080cc91" /> <bindingRedirect oldVersion="10.0.0.0" newVersion="9.0.0.0" /> </dependentAssembly> </assemblyBinding> </runtime> </configuration> I'm running the program on a machine with version 9.0.242.0 in the GAC, with the specified public key token. The [...] read more
c#
.net
binding
assemblies
reference
29votes
2answers

Could not load file or assembly Microsoft.Extensions.DependencyInjection.Abstractions, Version=1.1.0.0

After update to the new package Microsoft.EntityFrameworkCore.SqlServer 1.1.2 I got error when try to create DBContext: > System.IO.FileLoadException occurred HResult=0x80131040 Message=Could not load file or assembly 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=1.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) [...] read more
c#
.net
entity-framework
.net-core
entity-framework-core
27votes
5answers

Using multiple versions of the same DLL

I've been tasked in creating a new module for an application, and so, I'm adding new DLLs to the project. This is all fine and well. However, in my DLLs I'd like to use a new version of an external DLL (over which I have no control). If I just [...] read more
c#
visual-studio-2010
.net-4.0
reference
20votes
2answers

Assembly Conflict with Newtonsoft.Json

I need to load 2 versions of assembly Newtonsoft.Json version 4.0.8.0 and 4.5.0.0. My current config file : <dependentAssembly> <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.0.8.0" newVersion="4.0.8.0" /> </dependentAssembly> but it needs to be: old 4.0.8.0 and new 4.5.0.0 <dependentAssembly> <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-4.0.8.0" newVersion="4.5.0.0" /> </dependentAssembly> [...] read more
.net
json.net
.net-assembly
17votes
8answers

Could not load file or assembly 'WebGrease' one of its dependencies. The located assembly's manifest definition does not match the assembly reference

This issue has many solutions, please read all answers below, they might help you solve your problem too. If you find a new way to solve this, please document in your answer I am trying to add System.Web.Optimization to my ASP.NET Web Forms solution. I added Microsoft ASP.NET Web Optimization [...] read more
c#
asp.net
asp.net-mvc
bundling-and-minification
asp.net-optimization
13votes
3answers

Could not load file or assembly 'System.Diagnostics.DiagnosticSource on ASP.Net Core migration from VS2015 to VS2017

I have a web in ASP.Net Core (4.6.1 framework) that uses Facebook and MS external login that I created with Visual Studio 2015 and opened in the new Visual Studio 2017 that came out yesterday. VS2017 made a few changes related to the csproj, project.json, etc files. The site compiled [...] read more
authentication
asp.net-core
facebook-login
visual-studio-2017
11votes
3answers

'Could not load file or assembly 'System.Web.Helpers' or one of its dependencies

I'm getting the follow error when trying to run my ASP.NET project. Can anyone advise? Could not load file or assembly 'System.Web.Helpers' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Description: An unhandled exception occurred during the execution [...] read more
c#
asp.net
asp.net-mvc
iis
9votes
1answer

Can't load Assembly System.Net.Http.Formatting in .Net Solution

I get the following error when trying to update-package on the NuGet Console: At line:1 char:1 + Update-Package Microsoft.AspNet.WebApi -reinstall + CategoryInfo : InvalidOperation: (:) [Update-Package], InvalidOperationException + FullyQualifiedErrorId : NuGetMissingPackages, NuGet.PackageManagement.PowerShellCmdlets.UpdatePackageCommand When I try to install NuGet.PackageManagement.PowerShellCmdlets I get the error: An error occured while trying to restore packages:Unable [...] read more
.net
nuget
package
.net-assembly
6votes
1answer

Assembly Load error from DocumentFormat.OpenXml

I get an error using the Microsoft ClosedXml and DocumentFormat.OpenXml NuGet utility packages. After I updated these NuGet packages, (from version 2.7.2 to version 2.8.1), I now get this exception: > Exception System.IO.FileLoadException: Could not load file or assembly 'DocumentFormat.OpenXml, Version=2.7.2.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17' or one of its dependencies. The located [...] read more
.net
closedxml
assembly-loading
6votes
3answers

Could not load file or assembly 'Microsoft.CodeDom.Providers.DotNetCompilerPlatform

Other articles on here haven't been able to solve my issue. The following errors are being thrown when I run my ASP.NET MVC5 Web Project. Anyone got an idea where I am going wrong? Could not load file or assembly 'Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=1.0.8.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The [...] read more
asp.net
visual-studio
asp.net-mvc-5
6votes
4answers

Could not load file or assembly 'Microsoft.Owin, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

My code works just fine locally but after I published to server I keep getting this error: Could not load file or assembly 'Microsoft.Owin, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) I don't even [...] read more
c#
.net
asp.net-mvc
owin
5votes
2answers

Could not load file or assembly 'Newtonsoft.Json, Version=6.0.0.0 in combination with Microsoft.AspNet.WebApi.Client

I’m coding a class library (called mylibrary.dll) that itself references some more libraries -> uses the following DLLs (taken from package.config for version overview): <package id="EntityFramework" version="6.0.0" targetFramework="net45" /> <package id="Microsoft.AspNet.WebApi.Client" version="5.2.3" targetFramework="net45" /> <package id="Newtonsoft.Json" version="8.0.2" targetFramework="net45" /> <package id="System.Data.SQLite" version="1.0.99.0" targetFramework="net45" /> <package id="System.Data.SQLite.Core" version="1.0.99.0" targetFramework="net45" /> <package [...] read more
c#
dll
reference
json.net
.net-assembly
4votes
3answers

C# Unity Error: Could not load file or assembly

I found this demo article on Unity. Looks pretty straightforward but I'm getting the following error: > Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) https://www.tutorialsteacher.com/ioc/register-and-resolve-in-unity-container using System; [...] read more
c#
unity-container
4votes
2answers

Simple Injector Dependency Resolution Error - Could not load file or assembly System.Web.Http

I am following onion architecture and using simple injector in the DependencyResolution Project. Here is my architecture: 1-Core - Domain Classes - Repository Interfaces - Service Interfaces 2-Infrastructure - Data - Dependency Resolution - Repository Interfaces Implementation - Service Interfaces Implementation 3-WebApi - Web Api Project 4-WebClient - My AngularJs [...] read more
c#
.net
asp.net-web-api
dependency-injection
simple-injector
3votes
2answers

How to load same assembly of different version in one application?

I have Windows forms application in C#. I am in need to make use of the below dll. Interop.SHDocVw.dll The problem is that I need to refer two different versions of this same assembly. I tried keeping the dll in two different locations & tried to add but not allowing. [...] read more
c#
.net
.net-assembly
3votes
1answer

Auth0 LoginResult not able to load Newtonsoft.Json 10.0.0.0

I am facing a weird kind of situation while trying to achieve LoginAsync using Auth0.OidcclientWpf SDK. I am using below code: private async void PerformAuthenticationAsync() { Auth0Client auth0Client = new Auth0Client(new Auth0ClientOptions() { Domain = "mydomain", ClientId = "clientid" }); var extraParameters = new Dictionary<string, string>(); extraParameters.Add("connection", "connectionParam"); var result [...] read more
c#
auth0
3votes
6answers

Could not load file or assembly 'System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' ASP.NET MVC

I went through many answers that answered before but I'm not lucky to find a solution of my problem. This Could not load file or assembly 'System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' and many others I used. ****Here is the runtime error:**** Could not load file or assembly 'System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' [...] read more
asp.net-mvc
2votes
1answer

Deploying MVC 5.1 app on web server

I made ASP.NET application with MVC 5.1 technology and tried to deploy it on Winhost server. When I go to my web site, I get the following error message. Could not load file or assembly 'System.Web.Mvc, Version=5.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does [...] read more
asp.net
windows
mvc
2votes
2answers

error while getting a response from stripe "Could not load file or assembly 'System.Collections.Immutable'

Stripe Library referenced : Stripe.net Runtime Version:v4.0.30319 Version : 25.2.0.0 while getting a response from the stripe and calling the charge function() in am getting the error "Could not load file or assembly 'System.Collections.Immutable, Version=1.2.3.0, Culture=neutral" on the code mentioned below <form action="/Pay/Charge" method="POST"> <article> <label>Amount: $5.00</label> </article> <script src="//checkout.stripe.com/v2/checkout.js" [...] read more
c#
.net
asp.net-mvc
stripe-payments
2votes
1answer

AjaxControlToolkit.CalendarExtender and System.Web.Extentions version error

I have VS 2005, 2008 on my dev box. New project from other developers who only have 2005 installed. When I build it I get error. > Error 1 Indirect reference is being made to assembly System.Web.Extensions version 3.5.0.0, which contains 'AjaxControlToolkit.CalendarExtender'. This Project references a prior version of System.Web.Extensions [...] read more
visual-studio
ajaxcontroltoolkit
2votes
2answers

ASP.NET Web-Api working local but not after deploy on IIS7

My Web-Api project works just fine on my local machine but after i deployed it to my file system and copied it to a windows server 2008 - IIS7, i get this exception when trying to access the RESTful-Service. Could not load file or assembly 'System.Web.Http, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or [...] read more
c#
asp.net
asp.net-web-api
2votes
1answer

My Website is working properly in local server But when publish it on azure and run then it give me this error

My Website is working properly in local server But when publish it on azure and run then it give me this error of Could not load file or assembly 'Microsoft.Owin, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception [...] read more
asp.net-mvc-5
azure-web-sites
2votes
1answer

How does .NET 4.7.2 manage redirects for a dependency compiled in .NET Standard 2.0?

Background I have a large, old, monolithic application that currently targets .NET Framework 4.7.2 and uses several recently-written modules (also targeting net472 ) with no issues. There is also a recently-written module that targets .NET Standard 2.0, and it's giving me some problems. All modules are loaded into the main [...] read more
.net
nuget
dependency-management
.net-standard-2.0
1vote
1answer

Dependency issue when upgrading my computer to mvc4, and trying to deploy mvc3 applications

I am having a very similar problem to this: https://stackoverflow.com/questions/11023923/how-to-fix-this-mvc-website-error-could-not-load-file-or-assembly-system-web-h same exact error message: Could not load file or assembly 'System.Web.Helpers' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) I know this problem has to do with the [...] read more
windows
asp.net
asp.net-mvc
azure
1vote
1answer

When using Azure SignalR, cannot load Microsoft.Extensions.Logging.Abstractions

I am using Asp.Net MVC5 and trying to implement Azure SignalR with SQL dependency on our Azure database. I am able to run our app just fine, and I had local-hosted SignalR working previously as well, but when I try to use Azure SignalR and add: public partial class Startup [...] read more
c#
azure
asp.net-mvc-5
signalr
1vote
2answers

: System.IO.FileLoadException: Could not load file or assembly 'EntityFramework'

> System.IO.FileLoadException: Could not load file or assembly 'EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) App.config <?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> <section [...] read more
c#
entity-framework
1vote
0answers

VM instance google cloud nuget dependency error when using Docker-compose

So I'm doing a project where I use a sql-server container and my own container with my api. I user docker-compose to run those at the same time and specify the ports etc. This works fine on my local machine and on the local machines of my team mates. This [...] read more
docker
.net-core
google-cloud-platform
docker-compose
nuget
1vote
0answers

F# cannot load FSharp.Core if WPF class is changed

I am using FsXaml with the following code module Configurator open System open System.Windows open FsXaml type ConfigUI = XAML<"ConfigUI.xaml"> [<STAThread>] let Main (pwszArgument : string) = let program = new Application() try program.Run (new ConfigUI()) with | :? System.IO.FileLoadException as ex -> System.Diagnostics.Debug.WriteLine ex.Message; 0 0 When the line [...] read more
.net
wpf
f#
fsxaml
1vote
0answers

Microsoft.SqlServer.Types assembly causes problems with geography datatype. How to fix?

After upgrading and changing my project to target network .NET 4.8 and upgrading used Nuget packages to the latest version in package manager. This brought up a host of problem. Most pressing was the inability to use Geography data type in DataReader and Entity Framework. The error in data reading [...] read more
c#
asp.net
.net
sql-server
.net-assembly
1vote
1answer

Could not load file or assembly 'Microsoft.EntityFrameworkCore.SqlServer, Version=3.1.0.0

I am converting a Asp.net Core 3.0 to asp.net core 3.1. Everything works fine from visual studio 2019. However when I publish a deployment package and execute the web application from IIS I get the following error message: Application startup exception: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.EntityFrameworkCore.SqlServer, Version=3.1.0.0, [...] read more
asp.net-core
entity-framework-core-3.0
1vote
1answer

Have two separate versions of a dll

I have a web form application that have all business logic in a separate dll with it's own project. The dll need to have two different version of Newtonsoft.json. I have tried using the following code in both the websites web.config and the dll app.config file but I can't get [...] read more
.net
dll
1vote
0answers

asp.net Swashbuckle integration causes "Could not load file or assembly 'System.Web.Http, Version=4.0.0.0"

I wish to add Swagger to my asp.net REST service using Swashbuckle as outlined here. I went through all the steps, and since I am using Owin I have both Swashbuckle and Swashbuckle.Core nugets installed. However, when I run, and navigate to http://localhost/myapp/swagger I get the following error.. Could not [...] read more
c#
asp.net
asp.net-web-api2
swagger
swashbuckle
1vote
1answer

Could not load file or assembly 'Microsoft.SqlServer.Management.RegisteredServers, Version=15.2.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91'

Based on my answer in Unable to create RegisteredServer in Microsoft.SqlServer.Management.RegisteredServers, I installed Microsoft.SqlServer.SqlManagementObjects Microsoft.SqlServer.Smo System.Security.Cryptography.ProtectedData It worked on Consol Application based on .Net Core 2.0 and ClassLibrary based on .Net Standard 2.0: enter image description here [https://i.stack.imgur.com/5ZxTM.png]enter image description here [https://i.stack.imgur.com/oNzrX.png] Now I use them in my main C# [...] read more
c#
asp.net
.net-assembly
1vote
2answers

Could not load file or assembly 'System.Web.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

> Could not load file or assembly 'System.Web.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) I already searched for this error but the provided solution does not work. Visual studio nuget packages does not [...] read more
c#
asp.net-mvc
asp.net-mvc-4
1vote
1answer

Using .NET Standard from .NET Framework web application fails with "Could not load file or assembly..."

I am trying to use .NET Standard libraries in .NET Framework ASP.NET web applications, and I frequently encounter errors relating to type loading. I have reproduced the problem as follows: https://github.com/sgarshol/VTSample I have built a bare-bones .NET Standard 2.0 library with a single class: namespace VTLib { public class VTMaker [...] read more
c#
asp.net
.net-standard
.net-framework-version
1vote
0answers

Could not load file or assembly 'Newtonsoft.Json, Version=10.0.0.0 when using Atlassian.SDK 10.6.0

My project is using Nuget package Atlassian.SDK 10.6.0. When calling var jc = Atlassian.Jira.Jira.CreateRestClient(_jiraBaseUrl, _jiraApiUsername, _jiraApiPassword); I have the error > System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from [...] read more
json.net
fusion
1vote
0answers

Google.Apis version doesn't work with newer version of Newtonsoft.Json

I am using Google .net client library version 1.36.1 in a web application in .NET Framework 4.7.2 which works with a Newtonsoft.Json version 10.0.2. I want to include in my web application a class library in .NET Standard 2.0 which uses Newtonsoft.Json version 12.0.2, but I can't, because is an [...] read more
c#
google-api
json.net
google-api-dotnet-client
.net-standard-2.0
1vote
1answer

"Could not load file or assembly 'Ninject.Web.Common'" error on "new StandardKernal()"

I have a web API asp.net project (.net framework 4.6.1). I imported the Ninject.Web.WebApi.WebHost nuget package, which created a Ninject.Web.Common.cs file in my App_Start folder. When I try running my web app, I get this error: System.IO.FileLoadException: 'Could not load file or assembly 'Ninject.Web.Common, Version=3.3.0.0, Culture=neutral, PublicKeyToken=c7192dc5380945e7' or one of [...] read more
c#
asp.net
ninject
ninject.web.mvc
1vote
1answer

Comparing the assembly name resulted in the mismatch: Revision Number

I am working on ASP.NET MVC4 app which works fine on my local machine but doesn't work on the application server and throws the following error: > Could not load file or assembly 'System.Web.Mvc, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match [...] read more
c#
asp.net
.net
asp.net-mvc
0votes
1answer

BizTalk configuration broken following WCF hotfix installation

I usually post over on StackOverflow, but thought this was probably better suited to ServerFault. Please migrate if I'm wrong! I am developing a WCF service and a BizTalk application on my workstation at the moment. As part of the WCF service, I had to install hotfix 971493 from Microsoft [...] read more
wcf
biztalk-2009
0votes
0answers

`dotnet run` vs `dotnet publish`

I have an asp.net core project that runs fine in VS and even with dotnet run but when I dotnet publish -c Release -o publish it and try to run it with dotnet publish/Web.dll it runs for a bit then fails with Unhandled Exception: System.IO.FileLoadException: Could not load file or [...] read more
.net
asp.net-core
.net-standard
.net-standard-2.0
0votes
2answers

Using Spire.doc, Spire.xls and Spire.Presentation in same project

Is it possible to use the 3 products in the same project? Just downloaded the free versions of each and the Spire.PDF.dll version are different and causes error "System.IO.FileLoadException: Could not load file or assembly 'Spire.Pdf, Version=3.0.10.54040, Culture=neutral, PublicKeyToken=663f351905198cb3' or one of its dependencies. The located assembly's manifest definition does [...] read more
c#
asp.net-mvc
spire
0votes
0answers

dotnet 3.1 The located assembly's manifest definition does not match the assembly reference

I have been struggling with this for two days now. I have looked all over the internet and tried many different things, all with no help. I have a .NET Core 3.1 self contained solution with about 4 projects. I am building the application on my Windows desktop. When I [...] read more
deployment
compiler-errors
dependencies
version
.net-core-3.1
0votes
0answers

located assembly's manifest definition does not match the assembly reference

I've got a console EXE written in C# in Visual Studio 2015. Originally in .Net 4.62. It uses some dependencies on a package called 'CertMgmt.SDK' which is internal to our company. That package has a dependency on another package called 'Polly'. Right now the internal cert management package (CertMgmt.SDK) is [...] read more
c#
manifest
polly
0votes
0answers

If i add Intacct sdk into my .net application it is breaking with system.runtime exception

I have an application with .net 4.6.1 framework. I recentenly added reference to Intacct sdk 2.10 version. It is working fine in my local environment but if I publish the code and run it the server it breaks with "Could not load file or assembly 'System.Runtime, Version=4.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or [...] read more
.net
sdk
intacct
0votes
2answers

Qt VS Tools does not work in Visual Studio 2019

I have installed Qt from this file, qt-opensource-windows-x86-5.13.1.exe and install Qt VS Addin from this file, qt-vsaddin-msvc2019-2.4.1.vsix Unfortunately, Qt VS Tools doesnt work in Visual Studio 2019. I get thisenter image description here [https://i.stack.imgur.com/cwgBo.png] Here are the full ActivityLog.xml if you are interested. https://pastebin.com/AXfCEXuF Below are error related to Qt [...] read more
visual-studio
qt
0votes
1answer

VS 2017 MySql.Data manifest does not match the assembly reference

I've had some problems following migration of a software project to a new machine. I'm trying to get VS2017, MySql.data and my MySQL database working together. I get a long error message (below) implying that my mySql.Data version (8.0.16.0) manifest does not match the assembly reference (I don't quite understand [...] read more
mysql
visual-studio-2017
mysql-connector
mysql.data
0votes
1answer

Could not load file or assembly

I am getting this error on live server when I create a excel file with format xlsx, while on local server its working fine. I had used DocumentFormat.OpenXml and ClosedXML library. Please help me to solve this issue. This is my code. using (XLWorkbook wb = new XLWorkbook()) { wb.Worksheets.Add(dtAgentQuery); [...] read more
c#
asp.net
0votes
1answer

Conflict for System.Runtime.CompilerServices.Unsafe between Npgsql and System.Threading.Tasks.Extensions

I have downloaded EntityFramework6.Npgsql 6.4.0 nuget. As a dependent, Npgsql 4.1.2 was installed along with the nuget. While running the code, observed following error: === Pre-bind state information === LOG: DisplayName = **System.Runtime.CompilerServices.Unsafe, Version=4.0.5.0**, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (Fully-specified) LOG: Appbase = file:///C:/Program Files (x86)/Agilent Technologies/Sample Scheduler for OpenLab/Bin/ LOG: Initial PrivatePath [...] read more
c#
postgresql
entity-framework-6
npgsql
0votes
0answers

FileLoadException: During runtime for an assembly "package referenced" (local nuget) from asp.net core csproj

Here's the situation what I am facing with: Asp.net core .cs web host project has a reference to package "ABC", version 1.0.1. If I set the package source to restore ABC directly from the feed and build, run the application it all works fine. Let's say, If I have the [...] read more
asp.net
asp.net-core
0votes
0answers

Dotnet runtime store: Crossgen can't find the System.Runtime 4.2.2.0

I am trying to build the runtime store for my application, optimized for target runtime. However it fails to resolve the System.Runtime, 4.2.2.0 dependency. My manifest file's contents is as follows: <Project Sdk="Microsoft.NET.Sdk"> <ItemGroup> <PackageReference Include="AutoMapper" Version="9.0.0" /> </ItemGroup> </Project> The command is as follows: dotnet store --manifest ./store_broken.manifest --output [...] read more
.net-core
.net-core-3.1
0votes
1answer

NHibernate Version Issue

I'm having a go at getting a test project up and running. I've nabbed a load of code from this article..... Fluent NHibernate Automap with NHibernate Facility in ASP.NET MVC Problem is that I'm getting the following error.... > Could not load file or assembly 'NHibernate, Version=3.0.0.1001, Culture=neutral, PublicKeyToken=aa95f207798dfdb4' or [...] read more
nhibernate
fluent-nhibernate
castle-windsor
0votes
0answers

Npgsql: Could not load file or assembly 'System.Net.Sockets, Version=4.2.0.0' on IIS

My Web API is running on IIS 8.5 with .NET 4.6.1 installed. I added a new controller that connects to PostgreSQL database using Npgsql NuGet package. Now I'm getting an exception on every request to that controller in production (on my local machine everything works as expected): > Could not [...] read more
c#
visual-studio
asynchronous
iis
npgsql
0votes
2answers

System.IO.FileLoadException, cant find an assembly, assembly version conflict

I have 2 solutions in one project. One of the solutions is a unit test project, they both have the same Newtonsoft.Json package version. This is the location with the csproj file where the package is installed: <Reference Include="Newtonsoft.Json, Version=12.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> <HintPath>..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath> </Reference> If I change the version [...] read more
c#
visual-studio-2019
0votes
1answer

Deserialization of DbGeography Entity Framework

I have a class Event with a property of the type DbGeography. public class Event { public long Id { get; set; } public DateTime Date { get; set; } public DbGeography Location { get; set; } } In the class DatabaseHelper I try to load data from a server. [...] read more
asp.net
entity-framework
spatial-data
0votes
0answers

How to fix assembly binding error in .Net core for multiple versions of same nuget package

I have a .Net Core 2.1 App. The 'Microsoft.AspNetCore.App' package here uses the '2.1.0' version of 'Microsoft.Extensions.DependencyInjection' package. I want to download another third party package which requires the '3.1.0' version of the same 'Microsoft.Extensions.DependencyInjection' package. I have tried to fix this by directly downloading the '3.1.0' version of the [...] read more
c#
asp.net-core
.net-core
nuget
0votes
2answers

Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or

I tried to use Logging in Enterprise Library 6.0 in VS2015 and the following exception pops up. The reference Microsoft.Practices.EnterpriseLibray.Common is already added in the references of VS2015. Server Error in '/' Application. Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Common, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located [...] read more
c#
asp.net
visual-studio-2015
.net-assembly
enterprise-library
0votes
1answer

Cannot load file or asembly 'Microsoft.Extensions.DependencyInjection.Abstractions'

I an old program, which uses Entity Framework Core 2.2.6 to access a MS-SQL database. Now I would like to add some tests to this program, which I would prefer to do using the InMemory package for EFCore. I have a very simple method for getting data, which works in [...] read more
c#
.net
entity-framework
0votes
0answers

Could not load file or assembly 'System.Diagnostics.StackTrace' or one of its dependencies

I keep ending up with this error popping up, and I can't solve it for the life of me. I'm working on an MVC web app in Net Framework 4.6.1, using Entity Framework 6.4. It first popped up this morning, when I had zero references to System.Diagnostics.Stacktrace, it wasn't installed, [...] read more
c#
entity-framework-6
0votes
0answers

System.ValueTuple won't install properly

I'm having trouble deploying a .NET application that works perfectly fine on localhost. The application is passed through TeamCity and then Octodeploy to be hosted on a server. When I navigate to a page that performs a query on the database, and submit that query, I get the following exception: [...] read more
asp.net-mvc
visual-studio
nuget
entity-framework-core
0votes
2answers

Different versions of Newtonsoft gives an error

Im trying to run two versions of Newtonsoft.Json.dll within my site as im using two different plug-ins requiring different versions of Newtonsoft.Json.dll version 6 and version 9. Came across this article Two different versions of Newtonsoft.Json.dll needed in ASP.NET MVC which is the same problem (but for Win forms if [...] read more
c#
dll
json.net
assembly-binding-redirect
0votes
0answers

Could not load file or assembly 'Microsoft.Owin.Security, Version=4.0.1.0

Hi i'm using NopCommerce web api plugin version 3.90 but this error occurred 'Plugin 'Api'. Could not load file or assembly 'Microsoft.Owin.Security, Version=4.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040).. How could I solve that [...] read more
asp.net-mvc-4
plugins
nopcommerce-3.90
0votes
0answers

"The located assembly's manifest definition does not match the assembly reference." occurs after some time

I'm using Visual Studio to build a software project and publish it to the target server (in the build menu the entry "publish"). After doing this, I test the software (a SOAP service) by submitting a request with SoapUI. Everything works as desired. Now I wait, say 30 minutes, and [...] read more
c#
asp.net
.net
iis
gac
0votes
0answers

Unable to load Microsoft.Extensions.DependencyInjection.Abstractions 2.2.0 version assembly

I'm getting following error when i try to load 2.2.0 version of Microsoft.Extensions.DependencyInjection.Abstractions assembly. My .net core web app is always trying to load 2.1.0 assembly. All assembly references are point to 2.2.0 version. Please find the below load error. > Could not load file or assembly 'Microsoft.Extensions.DependencyInjection.Abstractions, Version=2.1.0.0, Culture=neutral, [...] read more
c#
.net
asp.net-core
0votes
1answer

Could not load file or assembly 'System.Web.Mvc(1)' or one of its dependencies

The following error appeared after deploying the application to IIS, although it's NOT the first time to deploy this web application, but this is a new update to it! > Could not load file or assembly 'System.Web.Mvc(1)' or one of its dependencies. The located assembly's manifest definition does not match [...] read more
c#
asp.net-mvc
iis
0votes
2answers

This site can’t be reached [site]'s server DNS address could not be found. ERR_NAME_NOT_RESOLVED

I'm running windows 10 and IIS version 1511(build 10586.164) I have the default app pools running and the the default html displayed. All of the other sites I've added give the same > This site can’t be reached [site]'s server DNS address could not be found. ERR_NAME_NOT_RESOLVED I have used [...] read more
asp.net-mvc
iis
asp.net-mvc-5
windows-10
iis-10
0votes
1answer

Could not load file or assembly ... but not at first?

I have a C# / .NET Windows service that is archiving Exchange mailboxes, and I recently "packaged" the Veeam O365 Backup DLLs to be able to backup Exchange Online mailboxes automatically. I 'll show you some piece of log showing that the program runs without issue for a while, then [...] read more
c#
.net
powershell
.net-assembly
veeam
0votes
0answers

Could not load file or assembly 'Microsoft.IdentityModel.Protocols.WsFederation

I have a ASP.NET legacy project to which ADFS authentication needs to be added. So I did the same but when I run the application, I keep getting this error: > Could not load file or assembly 'Microsoft.IdentityModel.Protocols.WsFederation, Version=5.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest [...] read more
c#
asp.net
.net
0votes
0answers

Microsoft.Diagnostics.Tracing.EventSource with the RabbitMQ.Client.dll exception

Why may I be getting the following error and how could I fix it? > An unhandled exception of type 'System.IO.FileLoadException' occurred in RabbitMQ.Client.dll Could not load file or assembly 'Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.28.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. [...] read more
c#
.net
rabbitmq
runtime-error
trace
0votes
1answer

Exception with Rest Sharp Assembly

I'm encountering the following error message: Error Message : threw exception: System.IO.FileLoadException: Could not load file or assembly 'RestSharp, Version=106.6.10.0, Culture=neutral, PublicKeyToken=598062e77f915f75' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) read more
c#
.net
restsharp
0votes
0answers

2SXC Could not load file or assembly System.Web.Helpers

Trying to add I got an error. > Message:Could not load file or assembly 'System.Web.Helpers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) StackTrace: > at Connect.Dnn.Koi.DnnSkinFile.AutoDetect() at Connect.Koi.Context.HttpContextState.TryToDetectTheCssFramework() at Connect.Koi.Context.HttpContextState.get_CssFramework() at Connect.Koi.Context.ToolsForCurrentState.get_Css() at Connect.Koi.Koi.get_IsUnknown() [...] read more
dotnetnuke
2sxc
0votes
0answers

Unrecognized tag prefix CR

I am getting unrecognized tag prefix CR" warning when I compile the code. When I run the solution I am getting below error: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception [...] read more
asp.net
crystal-reports
0votes
0answers

Could not load file or assembly 'Microsoft.SqlServer.SqlClrProvider Version=14.100.0.0

i have a win app on vs2012 that use smo for some task this application worked correctly but when i install vs2017 ssas extension in same machine, my smo code raise below error > Could not load file or assembly 'Microsoft.SqlServer.SqlClrProvider, Version=14.100.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The [...] read more
visual-studio
.net-assembly
sql-server-2016
smo
0votes
0answers

Use EF 6.0 SaveChanges() function causes error "Could not load file or assembly " oracle. manageddataaccessdtc, version=4.122.19.1"

I use Oracle.ManagedDataAccess nuget packet, I publish the project to IIS, everything it ok, but if I call the EF function SaveChanges(), I get this error: > Could not load file or assembly Oracle.ManagedDataAccessDTC, Version=4.122.19.1, Culture=neutral, PublicKeyToken=89b483f429c47342 Or one of its dependencies,Find the assembly manifest definition does not match the [...] read more
asp.net
entity-framework-6
oracle.manageddataaccess
0votes
0answers

Microsoft.SqlServer.Types.dll: The located assembly's manifest definition does not match the assembly reference

The software I am debugging is a console application, using .net Framework 4.7.2. In visual studio I have installed the Microsoft.SqlServer.Types.dll v14.0.1016.290 via Nuget. Error Message: Error: Could not load file or assembly 'Microsoft.SqlServer.Types, Version=10.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definition does not match [...] read more
asp.net
sql-server
vb.net
entity-framework
0votes
0answers

Box API .dll is not requesting the correct version of Newtonsoft.Json

So to complete the title, more specifically one of the dependencies of the box.v2 API is not requesting the correct version of Newtonsoft.Json. All of the dependencies of the API is: * Newtonsoft.Json (>= 10.0.3) * System.IdentityModel.Tokens.Jwt (>= 5.1.4) * BouncyCastle (>= 1.8.1) The item that is throwing the exception [...] read more
c#
.net
dll
dependencies
0votes
0answers

Using .NET Core DLL in a UWP Application - Runtime Version Mismatch

I have an application that is built on UWP. I need to reference a DLL from a .NET Core Project within my UWP Windows Application Targeted Universal Windows 10.0 The .NET CORE application had a target Core framework 1.0 to match with the UWP 10.0. I was able to import [...] read more
c#
.net-core
uwp
windows-10-universal
.net-framework-version
0votes
0answers

ElasticSearch.Net 6.8 referencing ElasticSearch.Net 7.0

Have ElasticSearch 6.4 repository. I attempt to connect with ElasticSearch.Net 6.8 and I receive this error: > System.IO.FileLoadException HResult=0x80131040 Message=Could not load file or assembly 'Elasticsearch.Net, Version=7.0.0.0, Culture=neutral, PublicKeyToken=96c599bbe3e70f5d' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Source= [...] read more
c#
elasticsearch
elasticsearch.net
0votes
1answer

DLL looking for wrong version

I have developed a class library (dll) that uses WinSCPnet.dll in Visual Studio 2015. While troubleshooting why it was looking for the wrong dll, I added the Nuget for it, getting the most recent version. The version we are using is actually a few before that, so I uninstalled the [...] read more
c#
dll
0votes
0answers

Internal server error in go daddy in web api application

I am facing a problem i need some help.Problem is that i publish a web application in Godaddy server it is giving internal server error while it is working fine in visual studio and when i go in details of the error it giving fallowing message Could not load file [...] read more
asp.net-web-api
0votes
0answers

How to force use of a specific package version using PackageReference

I seem to have a problem I can't solve. I have a .NET Core 2.0 console app. This app requires a niche-nuget package that I only have available locally. Let's call it NicheNuget. Both the console app and the NicheNuget package depends on a second package that we can call [...] read more
c#
.net-core
nuget-package
packagereference
0votes
0answers

Getting error in production, not in dev or QA - Could not load file or assembly 'DocumentFormat.OpenXml, Version=2.7.2.0

Have an web application that calls a WebService backend. Everything was worked as expected. Not sure exactly when it started but now in production we are getting this error: 2019-10-22 14:27:05,841 [193] ERROR VplApiService.Controllers.BillingController - Uh oh, something happened!. We are unable to process this LTL Invoice file from file [...] read more
c#
.net
openxml-sdk
0votes
1answer

Could not load file or assembly 'Microsoft.Xrm.Sdk, Version=9.0.0.0

I'm doing the automation with CRM. Im getting the below error. I have reinstalled all the nuget packages, deleted all the dlls from bin and re-built the code still remain same. Can you please guide where are we doing wrong. <package id="Microsoft.CrmSdk.CoreAssemblies" version="8.1.0.2" targetFramework="net46" /> <package id="Microsoft.CrmSdk.CoreAssemblies" version="8.2.0.1" targetFramework="net46" /> [...] read more
c#
automation
dynamics-crm-2011
xrm
0votes
0answers

vb.net Postgressql - .net app runs fine on devl vm but when running on a client machine have DLL error

I have a vb.net app which runs fine on the developer machine but when running it from the client machine with PGSQL (v12) installed, I get this dll error when performing a connection to the local machine server from the app itself. postgresql Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, [...] read more
vb.net
postgresql
0votes
0answers

Version Independent reference in C# Class Library

I have a C# class library MyLibrary in which I am referencing a sample.dll version 2.7.0. This MyLibrary is being referenced in WCF project. Which is deployed on the server. Now on the server, I have sample.dll with the version 3.0.0 because of that I am getting referenced dll not [...] read more
c#
versioning
class-library
dll-reference
0votes
0answers

MSBuild publishes assembly version different than required at runtime

I have a Visual Studio ASP.NET Core Web API project that in local dev environment restores, builds, and runs with no problem. I have a TeamCity pipeline with the following steps : .NET CLI Restore .NET CLI Build .NET CLI Publish The pipeline runs with no errors. The published set [...] read more
asp.net-core
msbuild
dependencies
package
nuget
0votes
1answer

How to solve : could not load or assembly Npgsql or one of its dependencies

I am trying to create an API using C #, but as I have to enable migrations I have the following errors: The ADO.NET provider with invariant name 'Npgsql' is either not registered in the machine or application config file, or could not be loaded. See the inner exception for [...] read more
c#
postgresql
entity-framework-6
0votes
2answers

Visual Studio 2017: Error when compiling project in MinimumRecommendedRules.ruleset file

I have a Visual Studio solution that includes a project when compiling it returns the following compilation error: CS8035 Error reading ruleset file C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Team Tools\Static Analysis Tools\Rule Sets\MinimumRecommendedRules.ruleset - Unable to load file or assembly 'System.Xml.ReaderWriter, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The assembly [...] read more
.net
visual-studio
0votes
1answer

Assembly manifest mismatch package-install doesn't resolve

The manifest error is not resovled, i try my best (even link Roslyn source code to my project ). Below is the portion of code, which generate error. The project is WINFORM and in Element Host load the Roslyn Assembly. Steps to Reproduce the error > 1. remove all packages [...] read more
c#
wpf-controls
roslyn-code-analysis
winforms-interop
roslynpad
0votes
0answers

Microsoft.AspNetCore.Identity.EntityFrameworkCore: The located assembly's manifest definition does not match the assembly reference. (0x80131040)

HTTP Error 502.5 - Process Failure when running on dotnet3 core on a remote system, even though it works locally. Unhandled exception. System.IO.FileLoadException: Could not load file or assembly 'Microsoft.AspNetCore.Identity.EntityFrameworkCore, Version=3.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The located assembly's manifest definition does not match the assembly reference. (0x80131040) My csproj is below: <Project [...] read more
asp.net-core
azure-devops
0votes
0answers

Why are there 2 different versions in System.IO.FileLoadException :Could not load file or assembly

When I get a System.IO.FileLoadException : Could not load file or assembly there are always 2 different Versions in the error message. But the error text for both is the same: > System.IO.FileLoadException : Could not load file or assembly 'System.Runtime.InteropServices.RuntimeInformation, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The [...] read more
c#
file
io
.net-assembly
fileloadexception
0votes
0answers

How to get package Microsoft.CrmSdk.XrmTooling.CoreAssembly working with other dependencies

I've added Microsoft.CrmSdk.XrmTooling.CoreAssembly so that I can connect using new CrmServiceClient(connectionString) rather than using OranisationServiceProxy as CrmServiceClient is meant to work better for long running data replication jobs. However, I now get this exception System.IO.FileLoadException: Could not load file or assembly 'Microsoft.Rest.ClientRuntime, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. [...] read more
dynamics-365
0votes
0answers

NuGet doesn't add section tag for EntityFramework in webconfig

WHAT MY PROBLEM IS I started using the last version of EntityFramework in my project by entering the two following commands in NuGet Package Manager Console. > Install-Package EntityFramework -projectname X Although it said that the package was successfully installed, the below error is shown in the browser. > The [...] read more
entity-framework
nuget
web-config
-1votes
1answer

Dependency Injection in Asp.net WebForms 4.6.2

Is it possible to implement constructor dependency injection with asp.net webforms 4.6.2? Tried building the container in the Global.asax >> Application_Start method. However, I encountered the below error: "Could not load file or assembly 'Autofac, Version=4.6.2.0, Culture=neutral, PublicKeyToken=17863af14b0044da' or one of its dependencies. The located assembly's manifest definition does not [...] read more
c#
dependency-injection
webforms
-2votes
2answers

2sxc9.32.0 error with Content Module

DNN: 8.0.4 2sxc: 9.32.0 This is an upgrade to 8.0.4 from an earlier version, but the site is running with no problems. I added a Content module to a page and selected the "Title Over Image" content item. I get this error: Error: System.IO.FileLoadException: Could not load file or assembly [...] read more
dotnetnuke
2sxc

Comments

Leave a comment

(plain text only)

Sources

  1. https://github.com/dotnet/coreclr/blob/v1.1.0/src/inc/corerror.xml
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx
  3. winerror.h from Windows SDK 10.0.14393.0

User contributions licensed under CC BY-SA 3.0