Could not load file or assembly 'System.Web.Extensions解决方案
来源:互联网 发布:nba球员数据排名 编辑:程序博客网 时间:2024/04/30 16:28
今天上传本机的asp.net程序到服务器就会出现了Web.config文件异常。在本地我们调试运行AJAX.NET程序完全没有问题,
具体错误信息: 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.Extensions, Version=1.0.61025.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
系统找不到指定的文件。------------------------------------------------
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.Extensions.Design, Version=1.0.61025.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. 系统找不到指定的文件。
检查了一下,发现这个问题产生的原因还是出在微软本身,原本我们发布网站的时候都会自动生成dll文件到程序的bin目录。
但是AJAX.NET 1.0无法自动添加关键dll文件到bin目录。因此需要我们手动添加。方法很简单,
找到你安装AJAX.NET 1.0的目录,一般是C:/Program Files/Microsoft ASP.NET/ASP.NET 2.0 AJAX Extensions/v1.0.61025
把里面的System.Web.Extensions.dll文件和System.Web.Extensions.Design.dll文件复制到bin目录下就可以了。
当然复制哪个文件要看你Web.config文件的异常信息而定。
- Could not load file or assembly 'System.Web.Extensions解决方案
- Could not load file or assembly 'System.Web.Helpers...错误
- could not load file or assembly "System.Web.Mvc...
- "Could not load file or assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
- Could not load file or assembly'System.EnterpriseServices'
- Could not load file or assembly 'System.ServiceModel.DomainServices.Hosting
- Unhandled Exception: System.BadImageFormatException: Could not load file or assembly
- Could not load file or assembly ‘System.Configuration’
- could not load file or assembly 'system.web.mvc version=1.0.0.0'
- Could not load file or assembly Microsoft.Web.Infrastructure
- .net framework 4.0 mvc 应用部署 System.Web.Mvc 错误 Could not load file or assembly 'System.Web.Mvc
- .net framework 4.0 mvc 应用部署 System.Web.Mvc 错误 Could not load file or assembly 'System.Web.Mvc .
- Could not load file or assembly 'System.Web.Mvc, Version=3.0.0.0' or one of its dependencies
- Could not load file or assembly
- Could not load file or assembly...
- Could not load file or assembly 'System.Web.WebPages.Razor, Version=1.0.0.0, Culture=neutral, Public
- Could not load file or assembly "App_Licenses.dll" " Could not load file or assembly App_Web_"
- Could not load file or assembly'System.Data.SQLite.dll' or one of its depedencies
- javascript 随机点名
- 将要到来的三大技术革命与联系
- Oracle数据库只读与可写状态的变更
- javascript实现文本域的写入字符个数 限定字数
- 使用JMX产品jolokia对Mule esb进行监控
- Could not load file or assembly 'System.Web.Extensions解决方案
- 进制转换
- NET自定义调试
- javascript加强
- TCP/IP及socket通信概览
- XP下Virtualbox虚拟Ubuntu共享文件夹设置
- 在Cocos2d 2.0中使用ARC的方法
- Ext store.loadData()执行后不显示数据
- Javascript总结