When i run a devexpress and ASP.NET web application on ubuntu server, i find this error.
Could not load file or assembly 'DevExpress.Web.v11.1, Version=11.1.4.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
All The other ASP.NET applications are running well on the same ubuntu server.
So, How can i run this application on the ubuntu server.
The application already runs perfectly in the development environment on windows 7.
Any help will be appreciated.
Since other applications which not using DevExpress seems work well, here are possible explanations:
1) It may indicate DevExpress redistributable assemblies are not yet exist in your server. Ensure that all required assemblies exist in /bin
folder of the application when deploying it to server. The general information of redistributable assemblies shows complete list of required assemblies to copy during deployment process.
2) Some DevExpress components use P/Invoke to communicate with WinAPI, which may trigger compatibility issues with Apache, Mono or even .NET Core environment. As Ingvar said here, you can try installing Windows emulator such like Wine, but still cannot guarantee that all components will work properly.
Another available option is to drop all DevExpress helpers and using standard HTML helpers combined with various JavaScript libraries which has similar functionality.
Related issues:
The "Could not load file or assembly 'X'" error message appears
Refer this - DevExpress ASP.NET MVC - What is the difference between DevExtreme MVC Controls and classic ASP.NET MVC Extensions
Starting with v17.1, DevExpress officially introduced a new set of components for the MVC platform: Announcing the DevExtreme MVC Controls for ASP.NET MVC and .NET Core - Available in v17.1.
You can either use the DevExtreme products or .NET core to port you application but right now DevExpress does not support Mono for ASP.NET controls.
The DevExtreme MVC Controls are based on the DevExtreme client-side widgets. They are more lightweight and their interaction with the server is used for obtaining data. They provide a more natural way of interacting with web services (OData, WebApi).
User contributions licensed under CC BY-SA 3.0