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

682votes
46answers

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
212votes
35answers

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
192votes
31answers

Could not load file or assembly 'Newtonsoft.Json' or one of its dependencies. Manifest definition does not match the assembly reference

Things I've tried after searching: 1. in Web.Config put a binding on the old version: <dependentAssembly> <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-6.0.0.0" newVersion="6.0.1.0" /> </dependentAssembly> 2. Edit my .csproj file to make sure there is only one Newtonsoft reference <Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL"> <HintPath>..\packages\Newtonsoft.Json.6.0.1\lib\net45\Newtonsoft.Json.dll</HintPath> <SpecificVersion>False</SpecificVersion> <Private>True</Private> </Reference> [...] read more
json
json.net
.net-assembly
177votes
28answers

Could not load file or assembly 'System.Web.Http 4.0.0 after update from 2012 to 2013

I did the upgrade according to. http://www.asp.net/mvc/tutorials/mvc-5/how-to-upgrade-an-aspnet-mvc-4-and-web-api-project-to-aspnet-mvc-5-and-web-api-2 I get the error. Does any one else got this error? > SERVER ERROR IN '/' APPLICATION. Could not load file or assembly 'System.Web.Http, 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. [...] read more
c#
asp.net-web-api
odata
visual-studio-2013
138votes
15answers

Could not load file or assembly System.Web.Http.WebHost after published to Azure web site

I created a web project and it runs well in Visual studio. However, I got the following error after published it to azurewebsites. What can cause the issue? > Could not load file or assembly 'System.Web.Http.WebHost, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does [...] read more
asp.net
asp.net-mvc
visual-studio
azure
azure-web-sites
128votes
21answers

.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
79votes
23answers

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
14answers

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
44votes
13answers

Could not load file or assembly 'Microsoft.ReportViewer.WebForms'

I am trying to use the report viewer in asp.net and have uploaded my site. However, when my page containing the report viewer is loaded, it shows the following error: > Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest [...] read more
asp.net
reporting-services
reportviewer
37votes
11answers

Could not load file or assembly 'Microsoft.Data.Edm'

We are using the Windows Azure Storage NuGet package version 4.1.0, this has a dependency on Microsoft.Data.OData and has added that package as well which has the Microsoft.Data.Edm dll. When we build and run the application we very occasionally get the following error: Could not load file or assembly 'Microsoft.Data.Edm' [...] read more
c#
.net
azure
dll
35votes
5answers

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
6answers

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
33votes
8answers

Could not load file or assembly System.Net.Http version 4.1.1.0

I'm porting a Net Framework 4 dll to Net Core. When porting my unit tests project I get an exception running some specific tests (not all). > System.IO.FileLoadException: Could not load file or assembly 'System.Net.Http, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not [...] read more
c#
.net
.net-core
porting
.net-framework-version
29votes
12answers

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
25votes
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
22votes
3answers

.net-core-2.0 azure app service 502.5 error

Getting a 502.5 error after CI deployment to azure app service. When running dotnet {myproject}.dll on the debug console this is the error I get: > Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'System.Diagnostics.DiagnosticSource, Version=4.0.2.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The located assembly's manifest definition does not match the assembly reference. [...] read more
c#
.net
azure
asp.net-core-2.0
.net-core-2.0
17votes
8answers

Could not load file or assembly 'Newtonsoft.Json, Version=7.0.0.0

I am facing the error below > Could not load file or assembly 'Newtonsoft.Json, Version=7.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 HRESULT: 0x80131040) I could see the below in Web.config <dependentAssembly> <assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" /> [...] read more
c#
asp.net
asp.net-mvc
json.net
nuget
15votes
14answers

Could not load file or assembly in NHibernate

I recently had some problems with the hibernate.cfg.xml file as I hadn't had the following line in. <property name='proxyfactory.factory_class'>NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle</property> Now that this is fixed I get the following error. > Could not load file or assembly 'NHibernate, Version=2.1.0.4000, Culture=neutral, PublicKeyToken=aa95f207798dfdb4' or one of its dependencies. The located assembly's manifest [...] read more
c#
asp.net
nhibernate
13votes
6answers

Winforms Could not load file or assembly 'Microsoft.ReportDesigner, Version=10.0.0.0' in VS2012

This is driving me nuts. I have a winforms app build in VS2012 targeting .NET 4.5. On a few forms I have to use a ReportViewer. At first I worked with ReportViewer for 2012 (version 11.0.0.0). All working fine. However, my client doesn't want to install this version on their [...] read more
.net
vb.net
winforms
visual-studio-2012
report-viewer2010
11votes
2answers

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
10votes
5answers

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

I’m trying to upgrade a project from MVC 4/EF 5 to MVC 5/EF 6. I updated the framework from 4.5 to 4.5.1 and then from NuGet updated the Solution MVC (4.0.30506.0 to 5.1.1) and EntityFramework (5 to 6.1.1). This pulled in a Razor dependency (2.0.30506.0 to 3.1.1) and WebPages (2.0.30506.0 [...] read more
razor
asp.net-mvc-5
entity-framework-6
10votes
3answers

System.Net.Http.Formatting.dll causing issues with Newtonsoft.Json

My Windows service is in the same solution as a MVC project. The MVC project uses a reference to SignalR Client which requires Newtonsoft.Json v6 + the Windows service uses System.Net.Http.Formatting, which requires Newtonsoft.Json version 4.5.0.0. I assumed this would not be a problem, as I could just use a [...] read more
c#
asp.net
asp.net-mvc
json.net
9votes
3answers

'System.ValueTuple, Version=0.0.0.0 required for Add-Migration on .NET 4.6.1 Class Library

I upgraded a .net standard class library from Entity Framework Core 1.1 to Entity Framework 2.0 I am trying to run Add-Migration on an Entity Framework Core Class Library that targets .net framework 4.6.1 Add-Migration MyMigration But I then get the following error > System.IO.FileLoadException: Could not load file or [...] read more
entity-framework-core
8votes
2answers

"Unknown Runtime Error" when using Windows Runtime Component with Javascript UWP App

I'm trying to use a Windows Runtime Component to provide interoperability between my Javascript UWP app and C# logic that I've written. If I set the minimum version to Fall Creator's Update (build 16299, needed to use .NET Standard 2.0 libraries), I get the following error when trying to call [...] read more
c#
uwp
windows-runtime
win-universal-app
winjs
8votes
2answers

ASP.NET MVC tries to load older version of Owin assembly

As a bit of context, I'm developing an ASP.NET MVC 5 application that uses OAuth-based authentication via Microsoft's OWIN implementation, for Facebook and Google only at this stage. Currently (as of v3.0.0, git-commit 4932c2f), the FacebookAuthenticationOptions and GoogleOAuth2AuthenticationOptions don't provide any property to force Facebook nor Google respectively to reauthenticate [...] read more
.net
asp.net-mvc-5
assemblies
asp.net-identity
owin
7votes
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
5votes
4answers

Could not load assembly 'Microsoft.Data.OData' when accessing Azure Storage during development

I have created a simple C# application at visual studio and I try to run that from my local machine. I have visual studio 2013. However, when I try to run the program, I get the exception: Could not load file or assembly 'Microsoft.Data.OData, Version=5.6.0.0, Culture=neutral I have also tried [...] read more
c#
visual-studio-2010
azure
azure-storage
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
5votes
5answers

Could not load 'MySql.Data' or one of it's dependencies.

I've installed the MySQL for Visual Studio and the .NET Connector (6.7.4.0). I previous had the 6.6.5.0 installed. Why is it still looking for this DLL? System.IO.FileLoadException was unhandled HResult=-2146234304 Message=Could not load file or assembly 'MySql.Data, Version=6.6.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The located assembly's manifest definition [...] read more
c#
mysql
entity-framework
4votes
3answers

FileLoadException: Could not load file or assembly System.Runtime, Version=4.2.0.0

I have an asp.net core 2.0 application that runs on full .net framework 4.6.1. It works fine locally but when I deploy it to Azure I receive the following error: > FileLoadException: Could not load file or assembly 'System.Runtime, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's [...] read more
.net
asp.net-core
.net-core
4votes
1answer

'Could not load file or assembly 'FSharp.Core, Version=4.6.2.0

I upgraded Visual Studio from VS2017 to VS2019. I opened a solution with both C# and F# in it. A C# unit test project references a F# .dll project. The solution compiles fine but at run time, I get the following message > System.IO.FileLoadException: 'Could not load file or assembly [...] read more
visual-studio
f#
4votes
3answers

Could not load file or assembly 'System.IdentityModel.Tokens.Jwt after deploying on Azure

my web app is working fine on localhost, but when I publish it on Azure, I get the following error: > Could not load file or assembly 'System.IdentityModel.Tokens.Jwt' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) On a [...] read more
asp.net-mvc
azure
web-deployment
3votes
1answer

Auth0 LoginResult not able to load Newtonsoft.Json 10.0.0.0

I am facing a weird kind of situation while trying acheiving 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
2answers

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
3votes
3answers

Cannot load System.ComponentModel.Annotations from OrmLiteConfigExtensions (ServiceStack.OrmLite.Core)

I get a runtime error when using ServiceStack.OrmLite.Core package (5.4.1) and trying to get a ModelDefinition (ServiceStack.OrmLite.ModelDefinition) by doing: var model = ModelDefinition<T>.Definition; The error reads as follows: System.IO.FileLoadException: 'Could not load file or assembly 'System.ComponentModel.Annotations, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does [...] read more
c#
.net
.net-core
servicestack
ormlite-servicestack
3votes
1answer

EF Core 2.1.4 FileLoadException System.ComponentModel.Annotations 4.2.0.0

After upgrading our data access layer from EF6 to EF Core 2.1(.4) we are having trouble with a FileLoadException with System.ComponentModel.Annotations, Version=4.2.0.0, which is odd since EF Core 2.1.4 uses 4.5.0.0, and nothing else (we can find) in our solution uses 4.2.0.0. Say for example we have the following project [...] read more
c#
.net
entity-framework
ef-core-2.1
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
5answers

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

System.IO.FileLoadException: Could not load file or assembly 'Pkcs11Interop, Version=3.3.0.0

I want to develop Application which can read Token and perform PDF Signing. FYI i successfully signed pdf document, but after im update the Pkcs11Interop version from 3.3.0.0 to 4.1.1.0 Then the signed turn into failed. I've tried to enable AutoGenerateBindingRedirects but i still cant sign the PDF Expecting the [...] read more
c#
pkcs#11
pkcs11interop
2votes
2answers

Binding redirect when importing AngleSharp in .Net 4.7.2 somehow tries to pull in NetStandard 2 as a dll

I have a legacy app running on an old Windows 2008 R2 server. The app has gone through many .Net versions, and is currently on 4.7.2. It has been stable as a rock for years, and while there are migration plans to move away from the old physical server, it [...] read more
c#
assembly-binding-redirect
anglesharp
.net-4.7.2
2votes
3answers

Could not load file or assembly 'System.ValueTuple Visual Studio 2017 15.8 node js project

I have installed vs2017 15.8. If I open a console C# app it opens fine. However trying to open node js project throws the following error. Has anyone managed to solve it? > Could not load file or assembly 'System.ValueTuple, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The located [...] read more
node.js
visual-studio
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
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

Visual Studio .NET Standard library and .NET Framework project - NuGet dll manifest definition does not match

I use VS 2019, I have a .NET Standard (2.0) library project named Foo (using ServiceStack NuGet package) and a main .NET Framework (4.7.2) windows service project named Bar (also using ServiceStack NuGet). Bar has a reference to Foo. Bar is a windows service and a ServiceStack REST host, Foo [...] read more
c#
.net
visual-studio
nuget
.net-standard
1vote
0answers

Swagger Failed to load API Definition when using Newtonsoft Serialization

I'm using Swashbuckle.AspNetCore package to document my API. I had it working for weeks until I started JSON serialization of some classes. Now I get an error in the Swagger UI : "Failed to load API definition" - Fetch error Internal Server Error /swagger/v1/swagger.json My log files show the following [...] read more
asp.net-core
json.net
swagger
1vote
1answer

Could not load file or assembly Newtonsoft.Json, Version=6.0.0.0 when running unit tests in parallel in VS2017

Using VS2017 MVC Web Api project, I have some unit tests which pass fine when run individually, but when run in parallel, I get the below error. I'd like to know how to be able to run these tests in parallel. > System.Reflection.ReflectionTypeLoadException HResult=0x80131602 Message=Unable to load one or more [...] read more
c#
unit-testing
json.net
1vote
0answers

Could not load assembly System.Runtime.CompilerServices.Unsafe

I am working on .NET Core app + NET Standard 2 library. This library uses EntityFrameworkCore.SQLServer. When I added yet EntityFrameworkCore.PostgreSQL then app during the start gives me an error: ... Microsoft.EntityFrameworkCore.Query.Internal.AsyncLinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExce ptionInterceptor.MoveNext(CancellationToken cancellationToken) System.IO.FileLoadException: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, C ulture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The located assembly's manifest [...] read more
entity-framework
.net-core
.net-standard-2.0
1vote
1answer

.net core 2.1 EF Core reverse engineering errors VS 2017

Not having a great time with doing EF Core Reverse Engineering. Latest error > The method or operation is not implemented. Scaffold-DbContext "The method or operation is not implemented" i get the same errors for both of these commands Running this from Package Manager Console within VS 2017: Scaffold-DbContext 'Data [...] read more
entity-framework
asp.net-core
.net-core
ef-code-first
ef-core-2.1
1vote
1answer

Utilizing a .NET Core 2.2 NuGet library on .NET Core 3.0, but throwing an exception from being unable to find an assembly

Right now I'm using OpenTK through NuGet. It works fine on my .NET Core 2.2 project. However I can't get a WinForms component ported over to .NET Core 2.2. It does however work with .NET Core 3.0. Therefore I want to upgrade to .NET Core 3.0 and get all of [...] read more
c#
.net
.net-core
opentk
1vote
1answer

The located assembly's manifest definition does not match the assembly reference : Exception from HRESULT: 0x80131040

In my project microsoft.owin has version 3.1.0.0 but it asks for older version 2.1.0.0 . I tried to install microsoft.owin but haven't succeeded . My project framework is 4.5.2 . I tried to install nuget package of this assembly but it's not installed . Can anyone tell me how to [...] read more
package
owin
.net-assembly
1vote
3answers

Why is my project still looking for Inject version 3.0.0.0

In the NinjectWebCommon.cs I have this: private static IKernel CreateKernel() { var kernel = new StandardKernel(); try { kernel.Bind<Func<IKernel>>().ToMethod(ctx => () => new Bootstrapper().Kernel); kernel.Bind<IHttpModule>().To<HttpApplicationInitializationHttpModule>(); RegisterServices(kernel); return kernel; } catch { kernel.Dispose(); throw; } } When I run my ASP.NET MVC app it crashes on that method saying: An exception [...] read more
c#
ninject
1vote
2answers

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
1vote
1answer

Why .net shows version conflict for same nuget package which is internal dependency for 3rd party library/package?

Conflicting versions of Newtonsoft.json library. Steps to Reproduce issue: 1. Create 2 .net c# project 2. Project 1 include IdentityModel with some method 3. Project 2 include Microsoft.AspNet.WebApi.OwinSelfHost with some method 4. Pack them and create nuget package and publish it locally (2 package will get created) 5. Now create [...] read more
c#
.net
json.net
nuget-package
1vote
0answers

Could not load file or assembly 'Microsoft.Owin, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies

I am getting this error after the deployment/publishing to server. In my local it works fine but on server i am getting this error. I checked my package.config and .dll version in my bin project folder. At both the places versions are same. Please let me know what can be [...] read more
asp.net
asp.net-mvc-4
asp.net-web-api
owin
.net-assembly
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

Runtime error (File not found - system.data.entity.design) when running the website

I get the below error when i run my website. It all happened suddenly and its not working. i tried uninstalling and reinstalling from nuget but no luck. Require some one help in fixing this. My website is running on .NET Framework 4.5 and running using VS 2019 in local [...] read more
.net
0votes
0answers

Aspose.Cell error in .Net Standard 2.0 Library

Could not load file or assembly ‘Aspose.Cells, Version=19.7.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) I am getting above in .Net Standard 2.0 type library. I have added Aspose.Cell nuget package reference to the library. read more
c#
.net-standard
aspose
aspose-cells
0votes
1answer

VS Installer Project is not pulling in all system.io.compression

I have a solution written in C# on .Net 4.6.1. The 2 projects are Windows Service and VS Installer. The windows service project has many references with 2 of them being system.io.compression and system.io.compression.filesystem. The project compiles without error; however, when I compile the VS installer project I'm getting a [...] read more
c#
.net
visual-studio
0votes
0answers

Failed to load file or assembly. Anglesharp and System.Text.Encoding.CodePages

Full error: Error during info retrieval occurred... System.IO.FileLoadException: Could not load file or assembly 'System.Text.Encoding.CodePages, Version=4.0.2.0, 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) File name: 'System.Text.Encoding.CodePages, Version=4.0.2.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' at AngleSharp.Browser.EncodingMetaHandler..ctor() at AngleSharp.Configuration..ctor(IEnumerable`1 services) at [...] read more
c#
dll
reference
0votes
1answer

Dnn Persona Bar missing

I am working in DNN 9 for some reason the PersonaBar is no longer showing up. I am getting the error below. jquery.js?cdv=48:4 GET http://localhost:53857/API/personaBar/localization/gettable?culture=en-US 404 (Not Found) I have already check newtonSoft.json and it is pointing to 7.0.0 Logs: DotNetNuke.Services.Localization.LocalizationProvider - System.NullReferenceException: Object reference not set to an instance [...] read more
c#
asp.net-mvc
asp.net-mvc-4
dotnetnuke
dnn-module
0votes
0answers

Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0,

I am getting error while using Newtonsoft.Json Function. 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. 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. [...] read more
c#
asp.net
asp.net-mvc
model-view-controller
json.net
0votes
1answer

How to Install WiX Extensions for VS 2017

I am new to Visual Studio 2017 Professional, and am trying to replicate my Vs2013 development environment including the installation of WiX extensions. Unfortunately when I attempt to install the Votive2017.vsix file I get an error message: VSIX Installer Error Message [https://i.stack.imgur.com/edS7b.png] Can someone please assist. I have been struggling [...] read more
visual-studio-2017
visual-studio-extensions
vsix
vsixmanifest
0votes
1answer

Could not load file or assembly 'System.Net.Http, Version=4.2.0.0, Culture=neutral on IIS

I started updating some nuget packages and started getting these warnings on build with a conflict for System.Net.Http. As suggested here: Strange issue with System.Net.Http 4.2.0.0 not found I replaced all references to System.Net.Http to use the nuget version, instead of the one bundled with Visual Studio. I then changed [...] read more
asp.net
.net
0votes
1answer

Can I use PowerShell class in .Net Standard library to use in .Net Framework project (exe)

I am trying to create a .net standard 2.0 library that calls PowerShell commands and scripts using PowerShell classes (System.Management.Automation). I want to use this .Net Standard library in .Net Framework (4.7.2) project. I have already tried using Microsoft.PowerShell.SDK and System.Management.Automation NuGet package in .Net Standard project but I keep [...] read more
c#
powershell
.net-framework-version
.net-standard-2.0
0votes
1answer

Sharepoint Entity Framework 6 Code First Migrations Could not load file or assembly System.Design, Version=15.0.0.0

I want to use Entity Framework 6 Code First with Sharepoint 2013 Farm Solutions. Everything works find when I migrate the database (using C# and Console Application). But then I made a change to model (changed one property from int to string). I wanted to update model but then I [...] read more
entity-framework
sharepoint
ef-migrations
0votes
1answer

May I get help resolving Package reference for .NET 4.7.2 Project?

2/3 of projects in a solution I have is running on .NET 4.7.2, the other project is a reactJS project running on .NET Core. The other two run well except one of the .NET 4.7.2 projects which seem to be trying to call packages that are not compatible with the [...] read more
.net-core-2.2
.net-4.7.2
0votes
0answers

Could not load file or assembly 'Ninject'

I installed Ninject packages via package manager console: install-package Ninject.Mvc5 install-package Ninject.Web.WebApi Beacause I didn't specify version It installed I suppose the latest availabe version (3.3.0) of the packages and their dependencies. Among other dependecies It installed Ninject 3.3.3. Then I realized I needed version 3.2.1.0 so I unistalled Ninject.Mvc5 [...] read more
c#
asp.net
ninject
package-managers
0votes
0answers

webjob failing / file not found exception / Microsoft.WindowsAzure.Storage

I'm pretty sure I understand the error, I just don't understand why and why now. > Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.WindowsAzure.Storage, Version=9.3.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
azure-webjobs
0votes
0answers

Roslyn *.rsp *.config files missing after MSBuild, causes compilation error in IIS

When building a new WebApi2 project on my local machine (via Visual Studio 2017 or MSBuild), I can run the application via IISExpress or IIS just fine. However, when I build it from our team's build server (via MSBuild), the following specific files are missing in the output directory for [...] read more
asp.net
msbuild
roslyn
0votes
1answer

Could not load file or assembly 'Sybase.AdoNet2.AseClient, exception in ASP.NET

While running .NET code in my system, I'm getting the below exception: > Could not load file or assembly 'Sybase.AdoNet2.AseClient, Version=2.155.8000.0, Culture=neutral, PublicKeyToken=95d94fac46c88e1e' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) read more
asp.net
.net
vb.net
0votes
0answers

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
0answers

Entity Framework Core migrations failing with "Could not load file or assembly 'System.Threading'"

I've been making some changes to the following open source project: https://github.com/SevenSpikes/api-plugin-for-nopcommerce I am trying to update IdentityServer4 library referenced in the above project from 2.0.3 to 2.4.0. As part of this process I require the migrations scripts from the previous version to the current. I also wanted to get [...] read more
asp.net
entity-framework
asp.net-core
entity-framework-core
ef-migrations
0votes
1answer

Sitefinity 12 project trying to load a reference that I've already removed

I've just upgraded my Sitefinity project to version 12.0.7000. It works locally without issue however when I deploy it to my dev environment, I get this error while it's trying to update: Could not load file or assembly 'Telerik.Sitefinity.Frontend.SocialShare, Version=10.2.6625.0, Culture=neutral, PublicKeyToken=b28c218413bdf563' or one of its dependencies. The located assembly's [...] read more
.net
asp.net-mvc
dll
telerik
sitefinity
0votes
0answers

Entity Framework in Class Library without colliding with client EF versions

I implemented a custom .NET RoleProvider as a class library project using Entity Framework. This is to be used with multiple web applications. How do I keep the EF used by the .dll from colliding with any EF version used by the client web application? This class library references EF6. [...] read more
c#
.net
entity-framework
dll
class-library
0votes
1answer

Could not load file or assembly Microsoft.CodeAnalysis.CSharp, Version=1.0.0.0 when deploying only

I have a Visual Studio solution with an asp.net web application project and a class library project alongside it. The applications runs fine when I debug it in Visual Studio, however when I deploy it using WebDeploy, I get the following exception when loading the page: System.IO.FileLoadException: Could not load [...] read more
c#
asp.net
.net
visual-studio-2017
webdeploy
0votes
1answer

Excel Plugin no longer works after adding nlog (installed with addin-express)

I recently implemented some logging with NLog which I installed through NuGet. This works fine on my local machine during debugging. Now when I (or anyone else) attempts to install our add-in, the add-in is not present in Excel. There is no error messages, no log file evidence, but the [...] read more
excel
addin-express
0votes
0answers

Can we use target minimum windows sdk version 10.16299.0 in Cordova Universal windows application and Windows Runtime component?

I am using Visual Studio 17 to create a Cordova windows application which has a uwp plugin.This plugin is refering a Windows Runtime Component(this component output file type is .winmd). When I set minimum windows target sdk to 10.16299.0 then I cannot create object of a class which is in [...] read more
cordova
uwp
0votes
1answer

Could not load file or assembly 'Ninject version 4.0.0.0

There is a problem with assembly reference, guess occurred when updating nuget packages. I start from a project which has no dependency to most dependencies(topological sort) reinstalled all nuget packages and increase version in nuspec file and all packages.config files referenced to Ninject 3.2.2.0 <package id="Ninject" version="3.2.2.0" targetFramework="net462" /> <package [...] read more
c#
version-control
nuget
ninject
.net-assembly
0votes
0answers

CrystalDecision located manifest definition does not match

I am trying to use CrystalReport on my ASP.Net project. I installed latest version (13.0.3501) but when i try to build, it fails by an error like that; Could not load file or assembly 'CrystalDecisions.Web, Version=13.0.3501, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The located assembly's manifest definition does not [...] read more
asp.net
crystal-reports
.net-assembly
0votes
1answer

How to fix 'Could not load file or assembly 'System.Web.Helpers, Version=2.0.0.0' Error with 2sxc in DNN

I have a local DNN site and I am trying to use the 2sxc module to create content/apps before placing it on the actual production site. I tried to install the Razor Tutorial App and when I place it on the page I am given following output: Error: System.IO.FileLoadException: Could [...] read more
razor
2sxc
0votes
0answers

.NET core image resizing: 'Could not load file or assembly'

I'm creating an image resizing middleware for my .net core 2.0 website with https://github.com/saucecontrol/PhotoSauce. After publishing my application to a windows server 2012(.NET Framework 4.7.2) it won't work anymore. What can I do? > 2019-04-12 13:34:46.656 +02:00 [ERR] An unhandled exception has occurred while executing the request. System.IO.FileLoadException: Could not [...] read more
c#
.net
image
asp.net-core
middleware
0votes
0answers

System.Collections.Immutable.dll is being replaced from Microsoft.Net.Compilers package

I have referenced system.collections.immutable.dll from the nuget package and I also have the nuget package installed for Microsoft.Net.Compilers. Everything works fine in my local but when I push my code to bamboo, in the runtime I get Could not load file or assembly 'System.Collections.Immutable, Version=1.2.3.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of [...] read more
c#
.net
dll
bamboo
0votes
0answers

'Microsoft.SqlServer.SqlEnum, Version=13.0.0.0', The located assembly's manifest definition does not match the assembly reference

I'm working on already developed desktop App which requires Microsoft.SqlServer.SqlEnum reference, but now I'm getting an exception 'Microsoft.SqlServer.SqlEnum, Version=13.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) I updated NuGet packages but still getting the same [...] read more
c#
sql-server
reference
0votes
0answers

WebAPI to serve static files issue: Microsoft.AspNetWebApi incompatible with Microsoft.Owin.StaticFiles package

I have a Self Hosting webApi that I need to add functionality to serve static html files. So I followed this example, but installation of Microsoft.Owin.Static files makes the App Server unable to start Could not load file or assembly 'Microsoft.Owin, Version=2.0.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The [...] read more
c#
asp.net-web-api
owin
0votes
0answers

Using CSharpCodeProvider fails on loading referenced dll

I have a C# code that dynamically creates classes and runs them, in the code that is generated I am adding a reference to the current dll (the one that is creating them). The created classes fail compilation due to a missing dll var provider = new Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider(); CompilerParameters cp [...] read more
gac
csharpcodeprovider
0votes
1answer

how to fix this error when published in IIS 8.5

I encountered problem when deploying web system to server. Could not load file or assembly 'System.Web.WebPages.Deployment, Version=1.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) before im using IIS 7 in my windows 7 laptop. it [...] read more
asp.net
asp.net-mvc
iis-8.5
0votes
1answer

Could not load file or assembly 'System.Runtime.InteropServices'

I am referencing a nuget package which is targeted to .NetStandard as well as .NetFramework in my .NetFramework 4.6.2 project. As a dependency, this nuget package installed System.Runtime.InteropServices package. But now when I am trying to access my service through browser I am getting this error:Could not load file or [...] read more
c#
.net
com-interop
.net-standard
.net-standard-2.0
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
0answers

WIX adding dll reference picking wrong version

<Fragment> <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"> <Component Id="ProductComponent" Guid="b21e914c-3c08-4876-b825-9a15f273091b"> <File Source="$(var.LenderService.TargetPath)" /> <File Id="Microsoft.Owin.Hosting" Name="Microsoft.Owin.Hosting.dll" Vital="yes" KeyPath="no" DiskId="1" Source="..\LenderService\LenderService\bin\Release\Microsoft.Owin.Hosting.dll" /> <File Id="Microsoft.Owin" Name="Microsoft.Owin.dll" Vital="yes" KeyPath="no" DiskId="1" Source="..\LenderService\LenderService\bin\Release\Microsoft.Owin.dll" /> <File Id="Owin" Name="Owin.dll" Vital="yes" KeyPath="no" DiskId="1" Source="..\LenderService\LenderService\bin\Release\Owin.dll" /> <File Id="Microsoft.Owin.Host.HttpListener" Name="Microsoft.Owin.Host.HttpListener.dll" Vital="yes" KeyPath="no" DiskId="1" Source="..\LenderService\LenderService\bin\Release\Microsoft.Owin.Host.HttpListener.dll" /> <File Id="System.Web.Http" Name="System.Web.Http.dll" Vital="yes" KeyPath="no" DiskId="1" Source="..\LenderService\LenderService\bin\Release\System.Web.Http.dll" /> [...] read more
visual-studio-2015
wix
json.net
0votes
1answer

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
0votes
1answer

SynFusion Error : Could not load file or assembly Syncfusion.Pdf.Base, Version=16.4450.0.54

I am running 17 projects in my visual studio and SynFusion installation as follow:enter image description herethese are my Syncfusion installed packages with version enter image description here Project 1 (Start up project) 1. since its astartup project I Installed SynFusion.Licence add the following code to Global.aspx //Register Syncfusion license [...] read more
c#
asp.net-mvc
visual-studio-2017
syncfusion
0votes
1answer

Wrong version of .NET assembly getting copied to Web Forms bin directory

I'm working on an ASP.NET Web Forms web site and frequently get run-time exceptions like the following: 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) === Pre-bind state [...] read more
asp.net
webforms
nuget
web-config
.net-assembly
0votes
0answers

Could not load file or assembly 'System.EnterpriseServices, Version=4.0.0.0 in SQL Server Management Studio

I am getting the following error when trying to connect to a server in SQL server management studio. Could not load file or assembly 'System.EnterpriseServices, Version=4.0.0.0, 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) (mscorlib) The [...] read more
.net
sql-server
dll
ssms
0votes
0answers

'IBM437' is not a supported encoding name

I'm having an error of this, 'IBM437' is not a supported encoding name. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method. Parameter name: name at System.Globalization.EncodingTable.internalGetCodePageFromName(String name) at System.Globalization.EncodingTable.GetCodePageFromName(String name) at System.Text.Encoding.GetEncoding(String name) at Ionic.Zip.ZipFile..ctor(String fileName) at ConnexusDomain.AppBridge.DecompressFile(String zipfilename, String userID) console-via-logger.js (173,15) This [...] read more
.net
ionic-framework
.net-core
zipfile
0votes
0answers

Assembly binding redirect and it's relation with specific version property in assembly references

1. Why binding redirect not working in below scenraio? Am I doing anything wrong here? How to fix? I don't want to refer log4net from GAC as I want to refer assemblies from local folder. 2. Is there any relation with specific version property in assembly references and assembly binding [...] read more
c#
.net
visual-studio
0votes
0answers

asp.net: Code Works > Added a reference > Gets an error > Removes reference but error still occurs

I had a working piece of code. I tried adding a button click event but was getting an error. I thought that adding a reference to System.Web.WebPages would fix the problem but then I got a giant error saying: > Could not load file or assembly System.Web.WebPages or one of [...] read more
c#
asp.net
0votes
0answers

C# Console config renaming and relocating

I am trying to figure out how to get this working. I have a c# console application. After build, the default config file I got is myApp.exe.configI want to achieve the following: 1. I want to rename the config file to myApp.xml 2. I want to put it in a [...] read more
c#
asp.net
configuration
0votes
0answers

Getting runtime System.IO.FileLoadException for Microsoft.Practices.EnterpriseLibrary.Data

I just copied the source code for a project from source control. The project compiles successfully, but I get a runtime error during execution when it executes the below line of code. public static LogWriter logger = EnterpriseLibraryContainer.Current.GetInstance<LogWriter>(); Below is the error:Could not load file or assembly 'Microsoft.Practices.EnterpriseLibrary.Data, Version=5.0.414.0, Culture=neutral, [...] read more
.net
dll
0votes
1answer

Error System.IO.FileLoadException: 'Could not load file or assembly 'log4net, Version=2.0.8.0 in .NET Core

I am doing migration my old .NET 4.5.2 console application to .NET Core, all the code is getting compile successfully but while executing console application I am getting following error > System.IO.FileLoadException: 'Could not load file or assembly 'log4net, Version=2.0.8.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a'. The located assembly's manifest definition does not match [...] read more
c#
.net
.net-core
log4net
0votes
3answers

Why i am getting this error? Enterprise Library 4.1.0.0 exception handling logging tracing

we are using Microsoft Enterprise Library 4.1.0.0 i our application for logging and tracing. In one case, I am getting error as: An error occurred creating the configuration section handler for exceptionHandling: The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040). (C:\Program Files\Datastream\Datastream Charting [...] read more
c#
vsto
enterprise-library
0votes
2answers

Wrong assembly version from Owin dependency

I need to switch a specific library that was from version 16.1 before to version 15.0. I did this by removing the higher version and installing the lower version by nuget. When building, the correct dll (15.0) is created in the bin-directory. But I receive the following error when starting [...] read more
c#
visual-studio
dependencies
owin
-1votes
1answer

Problem in "Integrate WSDK into Application" Tutorial DJI-SDK

I follow this tutorial https://developer.dji.com/windows-sdk/documentation/application-development-workflow/workflow-integrate.html I have this error: Severity Code Description Project File Line Suppression State Error CS7069 Reference to type 'Task<>' claims it is defined in 'System.Runtime', but it could not be found DJIWSDKDemo C:\Users\almendro.avellano\source\repos\DJIWSDKDemo\DJIWSDKDemo\MainPage.xaml.cs 61 Active If I comment that lines and run it, show me the [...] read more
c#
uwp
dji-sdk
visual-studio-2019
-1votes
1answer

Microsoft.Owin error after deploying in test server

Am getting this error after deploying .net MVC application into my test server. In dev machine its working fine Server Error in '/' Application. Could not load file or assembly 'Microsoft.Owin, Version=2.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. [...] read more
c#
asp.net
.net
asp.net-mvc
.net-assembly

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