问题比较严重,请各位帮帮忙,小弟在此真心的说声谢谢

cg20 2009-05-05 06:04:06
出问题了,搞了一个星期了还是没解决,我用的VS2008,.NETFRAMEWORK3.5也装了,重装系统,重装VS,…………该装的全都装了,仍然解决不了
在本地调试没问题,上传到服务器上就出问题了,以前没出现这种事,突然之间就这样的,两个服务器我都测试了,都是同样的问题。
请各位帮帮忙
最开始出现错误如下:
Line 57: <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 后来我将
System.Web.Extensions.Design.dll
System.Web.Extensions.dll
放到网站根目录的Bin目录下了
又出现如下错误:
Server Error in '/' Application.
--------------------------------------------------------------------------------

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.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. 系统找不到指定的文件。

Source Error:


Line 34: <compilation defaultLanguage="C#" debug="true">
Line 35: <assemblies>
Line 36: <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>
Line 37: <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Line 38: <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>


Source File: D:\hosting\wwwroot\cuangs_com\htdocs\web.config Line: 36

Assembly Load Trace: The following information can be helpful to determine why the assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' 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].
...全文
146 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
jest850615 2009-05-06
  • 打赏
  • 举报
回复
使用.net发布程序的机器都要安装framework.
3.0/3.5不支持MS2000系统,2.0支持
gomoku 2009-05-06
  • 打赏
  • 举报
回复
你本地调试是没问题,
但服务器也装了.Net 3.5了没?
风骑士之怒 2009-05-05
  • 打赏
  • 举报
回复
Line 36: <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

Parser Error Message: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. 系统找不到指定的文件。


你添加引用 “System.Core” 试试

111,126

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Creator Browser
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧