“/web”应用程序中的服务器错误。
“/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




