发布网站后出现错误

编程入门 行业动态 更新时间:2024-10-26 12:25:43
本文介绍了发布网站后出现错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

"/co"应用程序中的服务器错误. 无法加载文件或程序集``DevExpress.Web.v9.1,Version = 9.1.3.0,Culture = neutral,PublicKeyToken = b88d1754d700e49a''或其依赖项之一.找到的程序集的清单定义与程序集引用不匹配. (来自HRESULT的异常:0x80131040) 说明:执行当前Web请求期间发生未处理的异常.请查看堆栈跟踪,以获取有关错误及其在代码中起源的更多信息. 异常详细信息:System.IO.FileLoadException:无法加载文件或程序集"DevExpress.Web.v9.1,版本= 9.1.3.0,区域性=中性,PublicKeyToken = b88d1754d700e49a"或其依赖项之一.找到的程序集的清单定义与程序集引用不匹配. (来自HRESULT的异常:0x80131040) 源错误: 当前Web请求的执行期间生成了未处理的异常.可以使用下面的异常堆栈跟踪来标识有关异常的来源和位置的信息. 程序集加载跟踪:以下信息有助于确定为什么无法加载程序集"DevExpress.Web.v9.1,版本= 9.1.3.0,文化=中性,PublicKeyToken = b88d1754d700e49a".

Server Error in ''/co'' Application. Could not load file or assembly ''DevExpress.Web.v9.1, Version=9.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a'' or one of its dependencies. The located assembly''s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.IO.FileLoadException: Could not load file or assembly ''DevExpress.Web.v9.1, Version=9.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a'' or one of its dependencies. The located assembly''s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Assembly Load Trace: The following information can be helpful to determine why the assembly ''DevExpress.Web.v9.1, Version=9.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a'' could not be loaded.

推荐答案

这意味着您从DevExpress库调用了一个组件,并且服务器上未安装DevExpress库. 另请参阅: www.devexpress/Support/Center/KB/p/K18109 .aspx [ ^ ] That means that you call a component from the DevExpress library, and that DevExpress library is not installed on the server. See also: www.devexpress/Support/Center/KB/p/K18109.aspx[^]

对 Solution 1

的补充 您不应该在服务器上安装DevExpress-只需将您使用的所有DLL放在"bin"文件夹中并检查其版本即可.如果配置中的版本与实际DLL的版本不同,请调整配置文件.

you should not install DevExpress on server - just put all DLLs you use in ''bin'' folder and check their version. Adjust config file if versions in config differ from versions of real DLLs.

<modules> <remove name="ScriptModule" /> <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <!--<add type="DevExpress.Web.ASPxClasses.ASPxHttpHandlerModule, DevExpress.Web.v9.1, Version=9.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" name="ASPxHttpHandlerModule"/>--> </modules>

更多推荐

发布网站后出现错误

本文发布于:2023-11-26 22:06:15,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1635388.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:出现错误   网站

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!