配置错误:System.Web.Helpers

编程入门 行业动态 更新时间:2024-10-26 16:30:47
本文介绍了配置错误:System.Web.Helpers的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我部署一个站点到服务器,我得到这个错误。为什么会出现这个?

配置错误 说明:该请求提供服务所需的配置文件的处理过程中出现错误。请检查下面的特定错误详细信息并适当地修改配置文件。 分析器错误信息:未能加载文件或程序集System.Web.Helpers,版本= 1.0.0.0,文化=中性公钥= 31bf3856ad364e35或它的某一个依赖。该系统找不到指定的文件。 源错误: 第16行:其中,组件> 第17行:LT;添加组件=System.Web.Abstractions,版本= 4.0.0.0,文化=中性公钥= 31BF3856AD364E35/> 第18行:LT;添加组件=System.Web.Helpers,版本= 1.0.0.0,文化=中性公钥= 31BF3856AD364E35/> 第19行:LT;添加组件=System.Web.Routing,版本= 4.0.0.0,文化=中性公钥= 31BF3856AD364E35/> 第20行:LT;添加组件=System.Web.Mvc,版本= 3.0.0.0,文化=中性公钥= 31BF3856AD364E35/> 源文件:C:\<路径> \ web.config行:18 程序集加载跟踪:下列信息有助于确定程序集System.Web.Helpers,版本= 1.0.0.0,文化=中性公钥= 31bf3856ad364e35'无法加载。 警告:程序集绑定日志记录被关闭。 要启用程序集绑定失败日志记录,注册表值[HKLM \软件\微软\融合!EnableLog](DWORD)设置为1。 注意:有一些与程序集绑定失败日志记录关联的性能损失。 要关闭此功能,删除注册表值[HKLM \软件\微软\融合!EnableLog。

解决方案

看起来像您部署的应用程序没有ASP.NET MVC 3安装服务器。如果你不希望在服务器,你也可以的仓部署您的应用程序。

I deployed a site to a server and I get this error. Why do I get this?

Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately. Parser Error Message: Could not load file or assembly 'System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. Source Error: Line 16: <assemblies> Line 17: <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> Line 18: <add assembly="System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> Line 19: <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> Line 20: <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> Source File: C:\<path>\web.config Line: 18 Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Web.Helpers, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' could not be loaded. WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

解决方案

Looks like the server on which you deployed the application doesn't have ASP.NET MVC 3 installed. If you do not want to install ASP.NET MVC 3 on the server you could also bin deploy your application.

更多推荐

配置错误:System.Web.Helpers

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

发布评论

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

>www.elefans.com

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