首页 新闻 会员 周边 捐助

哪位大侠帮我看看Server Error in '/' Application.错误?

0
悬赏园豆:10 [已解决问题] 解决于 2009-08-29 11:41

帮帮看下这个为什么找不到文件?小弟用的Access数据库,第一次发布网站到Ftp上面出现这个问题。感激不尽!!

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. 系统找不到指定的文件。 (d:\wwwroot\net\web.config line 44)

Source Error:

Line 42: 		</httpHandlers>
Line 43: 		<httpModules>
Line 44: 			<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0,newVersion=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
Line 45: 		</httpModules>
Line 46: 	</system.web>

Source File: d:\wwwroot\net\web.config    Line: 44

问题补充: 我按照邀月老师说的安装了AJAX 但是又出现下面的问题,请教!! Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. Parser Error Message: Could not load the assembly 'App_Web_pgbcvf74'. Make sure that it is compiled before accessing the page. Source Error: Line 1: <%@ page language="C#" autoeventwireup="true" inherits="AdminIndex, App_Web_pgbcvf74" %> Line 2: Line 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Source File: /WebSite/index.aspx Line: 1
something的主页 something | 初学一级 | 园豆:5
提问于:2009-08-17 09:33
< >
分享
最佳答案
0

这是因为你的服务器不支持微软自带的Ajax功能所致。

具体可以看这里

http://www.cnblogs.com/downmoon/archive/2009/06/03/1495176.html

 

如果是你们自己公司的服务器,

下载这个并安装

ASP.NET 2.0 AJAX Extensions 1.0

http://www.asp.net/ajax/downloads/archive/

 

如果是上传到租用的虚拟主机

你可以试试把机器上这两个文件上传到bin下

E:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025\System.Web.Extensions.dll

E:\Program Files\Microsoft ASP.NET\ASP.NET 2.0 AJAX Extensions\v1.0.61025\System.Web.Extensions.Design.dll

回答新问题:

你应该将web站点生成web项目:

下载Web Deployment Projects,生成一个固定名称的dl

http://www.cnblogs.com/downmoon/archive/2007/12/29/1020014.html

 

收获园豆:10
邀月 | 高人七级 |园豆:25475 | 2009-08-17 09:45
其他回答(2)
0

安装一下 MS ASP.NET AJAX

码尔代夫iimax | 园豆:3138 (老鸟四级) | 2009-08-17 13:16
0

不用安装吧,直接把Ajax相关的几个Dll放在Bin目录中即可.

Insus.NET | 园豆:1132 (小虾三级) | 2009-08-19 10:11
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册