CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
花落谁家,你作主! 盛大widget设计大赛英雄榜
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  .NET技术 >  ASP.NET

“/web”应用程序中的服务器错误。

楼主sjett()2004-12-02 13:52:23 在 .NET技术 / ASP.NET 提问

“/web”应用程序中的服务器错误。  
  --------------------------------------------------------------------------------  
   
  找不到文件或程序集名称“System”,或找不到它的一个依赖项。    
  说明:   执行当前   Web   请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。    
   
  异常详细信息:   System.IO.FileNotFoundException:   找不到文件或程序集名称“System”,或找不到它的一个依赖项。  
   
  源错误:    
   
   
  行   30:                   private   static   bool   __intialized   =   false;  
  行   31:                    
  行   32:                   public   Global_asax()   {  
  行   33:                           if   ((ASP.Global_asax.__intialized   ==   false))   {  
  行   34:                                   ASP.Global_asax.__intialized   =   true;  
     
   
  源文件:   C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\Temporary   ASP.NET   Files\web\6efbce61\4d3636c7\xqutqd2v.0.cs         行:   32    
   
  程序集加载跟踪:   下列信息有助于确定程序集“System”无法加载的原因。  
   
   
  ===   Pre-bind   state   information   ===  
  LOG:   DisplayName   =   System,   Version=1.0.5000.0,   Culture=neutral,   PublicKeyToken=b77a5c561934e089  
    (Fully-specified)  
  LOG:   Appbase   =   file:///E:/c#教材/Forum  
  LOG:   Initial   PrivatePath   =   bin  
  Calling   assembly   :   treeyingyong,   Version=1.0.1790.29890,   Culture=neutral,   PublicKeyToken=null.  
  ===  
   
  LOG:   Publisher   policy   file   is   not   found.  
  LOG:   No   redirect   found   in   host   configuration   file   (C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\aspnet.config).  
  LOG:   Using   machine   configuration   file   from   C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\config\machine.config.  
  LOG:   Post-policy   reference:   System,   Version=1.0.5000.0,   Culture=neutral,   PublicKeyToken=b77a5c561934e089  
  LOG:   Attempting   download   of   new   URL   file:///C:/WINDOWS/Microsoft.NET/Framework/v1.0.3705/Temporary   ASP.NET   Files/web/6efbce61/4d3636c7/System.DLL.  
  LOG:   Attempting   download   of   new   URL   file:///C:/WINDOWS/Microsoft.NET/Framework/v1.0.3705/Temporary   ASP.NET   Files/web/6efbce61/4d3636c7/System/System.DLL.  
  LOG:   Attempting   download   of   new   URL   file:///E:/c#教材/Forum/bin/System.DLL.  
  LOG:   Attempting   download   of   new   URL   file:///E:/c#教材/Forum/bin/System/System.DLL.  
  LOG:   Attempting   download   of   new   URL   file:///C:/WINDOWS/Microsoft.NET/Framework/v1.0.3705/Temporary   ASP.NET   Files/web/6efbce61/4d3636c7/System.EXE.  
  LOG:   Attempting   download   of   new   URL   file:///C:/WINDOWS/Microsoft.NET/Framework/v1.0.3705/Temporary   ASP.NET   Files/web/6efbce61/4d3636c7/System/System.EXE.  
  LOG:   Attempting   download   of   new   URL   file:///E:/c#教材/Forum/bin/System.EXE.  
  LOG:   Attempting   download   of   new   URL   file:///E:/c#教材/Forum/bin/System/System.EXE.  
   
     
   
  堆栈跟踪:    
   
   
  [FileNotFoundException:   找不到文件或程序集名称“System”,或找不到它的一个依赖项。]  
        treeyingyong.Global..ctor()   +0  
        ASP.Global_asax..ctor()   in   C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705\Temporary   ASP.NET   Files\web\6efbce61\4d3636c7\xqutqd2v.0.cs:32  
   
  [TargetInvocationException:   调用的目标发生了异常。]  
        System.RuntimeType.CreateInstanceImpl(Boolean   publicOnly)   +0  
        System.Activator.CreateInstance(Type   type,   Boolean   nonPublic)   +66  
        System.RuntimeType.CreateInstanceImpl(BindingFlags   bindingAttr,   Binder   binder,   Object[]   args,   CultureInfo   culture,   Object[]   activationAttributes)   +277  
        System.Activator.CreateInstance(Type   type,   BindingFlags   bindingAttr,   Binder   binder,   Object[]   args,   CultureInfo   culture,   Object[]   activationAttributes)   +109  
        System.Web.HttpApplicationFactory.GetSpecialApplicationInstance()   +160  
        System.Web.HttpApplicationFactory.FireApplicationOnStart(HttpContext   context)   +20  
        System.Web.HttpApplicationFactory.Init(HttpContext   context)   +481  
        System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext   context)   +155  
        System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest   wr)   +407  
   
     
   
   
  --------------------------------------------------------------------------------  
  版本信息:   Microsoft   .NET   框架版本:1.0.3705.0;   ASP.NET   版本:1.0.3705.0 问题点数:20、回复次数:7Top

1 楼xiaotian08(笑天)回复于 2004-12-02 14:18:51 得分 10

找一个System.DLL文件拷贝到你的E:/c#教材/Forum/bin目录下,就可以了!Top

2 楼sjett()回复于 2004-12-02 14:39:39 得分 0

给说下到哪找呀。。Top

3 楼sjett()回复于 2004-12-02 15:05:45 得分 0

up下Top

4 楼Net_Soul(网 魂)回复于 2004-12-02 15:16:46 得分 0

如果是在cs文件中加  
  using   System;  
   
  如果是aspx文件中加  
  <%@   Import   NameSpace="System"   @>  
   
  看看Top

5 楼vipfenghuang(张伟)回复于 2004-12-02 15:23:18 得分 10

asp.net   1.1么有注册把  
   
  开始-〉运行——〉浏览C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe  
   
   
  输入   C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe   -i   重新注册  
   
  要不就是虚拟路径么有设  
   
   
  Top

6 楼sjett()回复于 2004-12-03 19:35:42 得分 0

回去看看行不行,行的话明天来结贴。。  
  Top

7 楼sjett()回复于 2004-12-04 19:34:03 得分 0

还是没有解决。。先结了吧  
  Top

相关问题

  • 服务器应用程序错误
  • 再另一台服务器上发布含有Web Service的asp.net应用程序object can't find错误
  • “/”应用程序中的服务器错误。怎么解决
  • 应用程序中的服务器错误?
  • 应用程序中的服务器错误
  • “/xxx”应用程序中的服务器错误 请求帮助
  • 急“/ctrltest”应用程序中的服务器错误。
  • 应用程序中的服务器错误,请大家帮忙
  • 应用程序中的服务器错误
  • “/”应用程序中的服务器错误

关键词

  • .net
  • asp.net
  • c#
  • 文件
  • framework
  • aspnet
  • microsoft
  • asp
  • 错误
  • intialized

得分解答快速导航

  • 帖主:sjett
  • xiaotian08
  • vipfenghuang

相关链接

  • CSDN .NET频道
  • .NET类图书
  • C#类图书
  • .NET类源码下载

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
提问
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
北京创新乐知广告有限公司 版权所有, 京 ICP 证 070598 号
世纪乐知(北京)网络技术有限公司 提供技术支持
Copyright © 2000-2008, CSDN.NET, All Rights Reserved
GongshangLogo