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

660votes
44answers

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
207votes
34answers

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
187votes
30answers

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

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
127votes
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
81votes
13answers

Could not load file or assembly System.Net.Http, Version=4.0.0.0 with ASP.NET (MVC 4) Web API OData Prerelease

PROBLEM After installing the Microsoft ASP.NET Web API OData package 5.0.0-rc1 prerelease I end up with the following exception: > 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. (Exception from HRESULT: 0x80131040) [...] read more
asp.net-mvc-4
asp.net-web-api
odata
assembly-resolution
76votes
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
13answers

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
50votes
18answers

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

The located assembly's manifest definition does not match the assembly reference getting this when running nunit through ncover. Any idea? read more
.net
nunit
ncover
44votes
12answers

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

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
28votes
11answers

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
23votes
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
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
15votes
4answers

Could not load file or assembly 'System.Web.Mvc' . How to use the correct reference?

I have an application built on ASP.NET web forms which also supports MVC 5. I included MVC 5 API controllers in my project for which I had to upgrade Json from version 4.5 to 7.0. After making those changes when I launched the application, I get the following error: > [...] read more
asp.net
.net
asp.net-mvc
asp.net-mvc-5
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
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
10votes
2answers

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

I am getting this error whenever I try and run a webjob project with application insight and entity framework. > System.IO.FileLoadException: 'Could not load file or assembly 'System.Runtime.InteropServices.RuntimeInformation, Version=0.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: [...] read more
c#
azure
azure-application-insights
webjob
interopservices
10votes
4answers

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

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

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

Upgraded ServiceStack.OrmLite.SqlServer. Getting an error about System.Text.Encoding.CodePages now

I inherited a project that was written in .NetCore 2.0 initially. The version of ServiceStack.OrmLite.SqlServer.Core that we were using was 1.0.43. I upgraded everything in NuGet, so ServiceStack is now 5.4.0. The problem now is that when I try to run my code: var dbFactory = new OrmLiteConnectionFactory(dbConnection.ConnectionString, SqlServerDialect.Provider); using [...] read more
servicestack
ormlite-servicestack
2votes
1answer

ASP.NET Core MVC project fails to load assembly

I'm building a website using ASP.NET Core MVC. I have a problem and don't know how to solve it. I've created a separate project (.Net Core Library) and implemented some methods in it to use in the main project. I've added the library to my ASP.NET Core MVC project and [...] read more
.net-core
asp.net-core-mvc
asp.net-core-2.2
2votes
2answers

Exception while saving to Raven

I'm getting an exception while trying to save an entity to Raven in one of our environments. Here are details: Application Target Framework: .NET Core 2.1 RavenDB.Client Version: 4.1.2 .Net Core Runtime and Hosting Bundle installed on the server: 2.0.5 2.1.3 2.1.6 2.2.0 (We have multiple versions installed since it [...] read more
.net-core
ravendb
asp.net-core-2.1
2votes
4answers

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

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

System.IO.FileLoadException on System.ServiceModel.Primitives

I am currently working on a Xamarin project, and I required something that Xamarin on it's own doesn't support, so I looked for solutions. After messing around with some NuGets, my project ended up with a bunch of weird and unexplainable compile errors, popping up and disappearing randomly. Eventually I [...] read more
c#
fileloadexception
1vote
2answers

WAtin :Could not load file or assembly

Am getting this error : "Could not load file or assembly 'Interop.SHDocVw, Version=1.1.0.0, Culture=neutral, PublicKeyToken=db7cfd3acb5ad44e' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)" I know many people already asked about it, but I've tried all the solutions suggested [...] read more
c#
.net
visual-studio-2010
watin
1vote
1answer

HRESULT: 0x80131040 - Microsoft.WindowsAzure.Storage not found

I am currently getting the following error after trying to add a reference to the Azure libraries providing access to storageaccount functionality. This is the problem I am facing: Could not load file or assembly "Microsoft.WindowsAzure.Storage, Version=9.3.2.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" or one of its dependencies. The located assembly's manifest definition does [...] read more
c#
asp.net
azure
nuget
1vote
1answer

How to resolve .NET Core reference and NuGet package version conflicts When using Dapper library in Hangfire project?

When using Hangfire library into .net core application, There is a version conflict occured between two different Dapper library. One version is V1.5.0 from Nuget package, and another version is V1.0.0 reference from my local .net core project. There is an error when running program. System.IO.FileLoadException HResult=0x80131040 Message=Could not load [...] read more
.net-core
nuget
dapper
hangfire
1vote
0answers

Could not load file or assembly 'PCLAppConfig' in UWP project

I have a Xamarin project with iOS, Android and UWP projects. I have installed the version 1.0.1 from nuGet in all three projects and in .net standard's one. The iOS and Android projects works fine but when I run the UWP project this error is triggered: System.IO.FileLoadException: 'Could not load [...] read more
c#
xamarin
xamarin.forms
uwp
1vote
2answers

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

Problem when i try to publish my ASP.NET CORE web app in azure - Could not load file or assembly 'Microsoft.Extensions.Identity.Core

I am new in asp.net core and azure. I have small web app on asp.net core mvc, and I want to publish this project to azure. Locally the project work fine, but when I try to build the project through the console on azure, this error appears - > Unhandled [...] read more
c#
asp.net-mvc
azure
identity
1vote
0answers

Upgrade EFCore: Could not load file or assembly System.ValueTuple, Version=0.0.0.0

I'm trying to upgrade EFCore 1.1 to EFCore 2.1 After a long journey of "Could not load assembly" and a bunch of NuGet updates, I'm facing what I think is the last wall before the accomplishment. > Could not load file or assembly 'System.ValueTuple, Version=0.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of [...] read more
c#
ef-core-2.0
valuetuple
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
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
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
0answers

How to use net standard 2.0 with dependency in net framework 4.7.2?

I'm working on a net standard library that will be used by two projects (one in net core 2.2, the other in net framework 4.7.2). When I run thye code, I got this error : System.IO.FileLoadException HResult=0x80131040 Message=Impossible de charger le fichier ou l'assembly 'Microsoft.Extensions.Logging.Abstractions, Version=2.2.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' ou une [...] read more
c#
.net
.net-standard
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
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
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

Could not load file or assembly 'Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0,

I keep getting this error even though everything worked fine before, and it doesn't seem that i have any problem with my code here's the error: Could not load file or assembly 'Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.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
visual-studio
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
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
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
0votes
0answers

Log4Net: Could not load file or assembly is thrown in local but not in others envs

I am facing a weird error in the local env, when I try to register my application as a service I am getting this error: System.IO.FileLoadException: Could not load file or assembly 'log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821' or one of its dependencies. The located assembly's manifest definition does not match the [...] read more
c#
windows
log4net
0votes
0answers

Exception while adding migrations: Could not load file or assembly 'Microsoft.EntityFrameworkCore, Version=2.1.4.0,

I'm trying to add initial migrations to my project that is using EF Core + PostGRE SQL Driver My project structure looks like: .sln |-- | |-- Context(cslib) |-- Controllers(cslib) |-- AppRunner(console app), Startup |--(...) Where AppRunner has: > PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="2.1.2" Context has: > PackageReference Include="Microsoft.EntityFrameworkCore" Version="2.1.1" Controllers have: [...] read more
c#
asp.net-core
asp.net-core-mvc
entity-framework-core
0votes
1answer

I have added Spire.Doc from NuGet, but now getting run-time error?

i am try to implement Spire.Doc, but getting run-time error: Could not load file or assembly 'Spire.Doc' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Stack Trace: [FileLoadException: Could not load file or assembly 'Spire.Doc' or one of [...] read more
spire.doc
0votes
0answers

NServiceBus - Could not load file or assembly '' or one of its dependencies

I am working with an .Net Web App that consumes messages from a NServiceBus (v4.7.0) queue. I am getting the following exception: > 2019-02-20 15:35:13,624 [28] ERROR NServiceBus.Unicast.Transport.TransportReceiver [(null)] - [(null)] - Failed to deserialize message with ID: 0942d9eb-126e-4af6-b860-a9f400a3be82 System.Runtime.Serialization.SerializationException: An error occurred while attempting to extract logical messages from [...] read more
.net
nservicebus4
nservicebus-sagas
0votes
1answer

Does PackageReference and package.lock.json remove the need for Binding Redirects in App.Config

In Nuget we can now use PackageReference format for dependencies and also enable repeatable builds using lock files In my project, I get something along the lines of: > { "version": 1, "dependencies": { ".NETFramework,Version=v4.6.1": { "System.Reactive": { "type": "Direct", "requested": "[4.1.2, )", "resolved": "4.1.2", "contentHash": "QRxhdvoP51UuXZbSzcIiFu3/MCSAlR8rz3G/XMcm3b+a2zOC5ropDVaZrjXAO+7VF04Aqk4MCcLEdhxTfWVlZw==", "dependencies": { "System.Threading.Tasks.Extensions": [...] read more
c#
nuget
assembly-binding-redirect
packagereference
0votes
1answer

Could not load file or assembly - After stopping then starting Azure app service

I am publishing an ASP.NET MVC web application to an Azure app service. It runs find when it is initially published. If I turn off the app service then start it again after a few hours I get this error when I try to open the site in a browser, [...] read more
c#
asp.net
asp.net-mvc
razor
azure-web-sites
0votes
0answers

How to move MVVM items to a DLL

I have a project (C#, Visual Studio 2010, MVVM Light) which required some elements to be extracted to a DLL. In the case of data objects and what not, I was able to do this perfectly fine. The problem arose when I wanted to also put my GenericViewModelBase class into [...] read more
c#
dll
mvvm-light
0votes
1answer

Could not load file or assembly 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies

I am completely new to .net applications. I am currently working on connecting historian 5.5 and thingworx using .net SDKs. The SDKs are already developed by someone else and I'm just creating a service and trying to run the service. The service is created but when I run the console [...] read more
c#
asp.net
.net
thingworx
historian
0votes
1answer

What to do when bindingredirect does not work?

I am in a situation reminiscent of "DLL hell". I am using a bunch of nuget packages which might muddle the circumstances, I suppose. The complaint is at runtime that it cannot find System.Net.Http 4.0.0.0 > System.IO.FileLoadException: Could not load file or assembly 'System.Net.Http, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of [...] read more
c#
visual-studio-2015
app-config
0votes
0answers

Function failed when called from other project due to assembly file c#

I have a c# solution with 2 projects. one of them is a server (The server was build using signalR) which activates a Hub. The second is a windows form project which suppose to output a basic window, in the constructor of this window I call the following function (from [...] read more
c#
signalr
0votes
1answer

NET Framework project can't load assembly when referencing .NET Standard project

I have a .NET Framework Web project which references a .NET Standard class library. When running the app I get: "Could not load file or assembly 'System.Net.NameResolution, Version=4.0.0.0" So I added the System.Net.NameResolution 4.3.0 nuget package to both of these projects. I can't use package 4.0.0 as this would be [...] read more
c#
.net-core
.net-standard
0votes
0answers

'Newtonsoft.Json' or one of its dependencies

Could not load file or assembly 'Newtonsoft.Json' or one of its dependencies. The located assembl's manifest definition does not match the(assembly reference. (Exception from HRESULT: 0x80131040 this error appear when I run application: ERROR [https://i.stack.imgur.com/JUwp2.png] read more
c#
asp.net-mvc
0votes
1answer

Resolving .NET TypeLoadExceptions in Azure App Service

I have an Azure App Service where I published my .NET application (.NET Framework 4.7.2). The application works fine on local Visual Studio IIS Express. When I run it in the App Service I get TypeLoadExceptions. The interesting parts are, for example, these errors: - System.IO.FileLoadException: Could not load file [...] read more
asp.net
.net
azure
assemblies
azure-web-app-service
0votes
1answer

'Oracle.DataAccess, Version=2.122.1.0, Culture=neutral, PublicKeyToken=89b483f429c47342' or one of its dependencies

I have a web project built in Visual Studio 2012. Its using the Oracle.DataAccess.dll Now the one I see in my solution is 4.121 version. But am receiving this error where the project is looking for 2.122 version. Thanks for your help in advance Below is the stack trace > [...] read more
oracle
visual-studio-2012
x86
64bit
processor
-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
0answers

Visual Studio does not find Newtonsoft.json dll

I have a Visual Studio Solution in which I have several Projets. One of the projects use NewtonSoft.Json nuget, and it was once probably at 6.0.6 version, till I updated the Nugets to the latest, 12.0.1 version. However, in runtime it was asking me for the incompatible 6.0.0.0 version, so [...] read more
c#
windows
visual-studio
json.net
nuget
-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