why the assembly 'System' could not be loaded(为什么找不到??)(答对有100分)

chong1yong1die 2003-05-26 05:52:03
我在主机A上用VS Studio.Net开发了一个网站,编译运行均无误。
然后我把整个主机A上该网站的所有文件(就是虚拟目录下的所有文件,包括Globe和Web配置文件以及bin文件夹,所有的aspx文件等等)全部考到另一台主机B上,并在主机B上建立虚拟目录(主机B上有IIS)。接着在主机B上安装DBMS,将数据库文件也进行相应的移植,也无误。
在安装完成 asp.net 运行环境(.net framework SDK )后运该网站,却了出现如下的错误:


Server Error in '/BookStore' Application.
--------------------------------------------------------------------------------

File or assembly name System, or one of its dependencies, was not found.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileNotFoundException: File or assembly name System, or one of its dependencies, was not found.

Source Error:


Line 30: private static bool __intialized = false;
Line 31:
Line 32: public Global_asax() {
Line 33: if ((ASP.Global_asax.__intialized == false)) {
Line 34: ASP.Global_asax.__intialized = true;


Source File: E:\WINNT\Microsoft.NET\Framework\v1.0.3705\Temporary ASP.NET Files\bookstore\0eb0b1a7\df71b7d7\z7-0lhyx.0.cs Line: 32

Assembly Load Trace: The following information can be helpful to determine why the assembly 'System' could not be loaded.


=== Pre-bind state information ===
LOG: DisplayName = System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
(Fully-specified)
LOG: Appbase = file:///D:/jiang/BookStore
LOG: Initial PrivatePath = bin
Calling assembly : BookStore, Version=1.0.1239.41835, Culture=neutral, PublicKeyToken=null.
===

LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file (E:\WINNT\Microsoft.NET\Framework\v1.0.3705\aspnet.config).
LOG: Using machine configuration file from E:\WINNT\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:///E:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/bookstore/0eb0b1a7/df71b7d7/System.DLL.
LOG: Attempting download of new URL file:///E:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/bookstore/0eb0b1a7/df71b7d7/System/System.DLL.
LOG: Attempting download of new URL file:///D:/jiang/BookStore/bin/System.DLL.
LOG: Attempting download of new URL file:///D:/jiang/BookStore/bin/System/System.DLL.
LOG: Attempting download of new URL file:///E:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/bookstore/0eb0b1a7/df71b7d7/System.EXE.
LOG: Attempting download of new URL file:///E:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/bookstore/0eb0b1a7/df71b7d7/System/System.EXE.
LOG: Attempting download of new URL file:///D:/jiang/BookStore/bin/System.EXE.
LOG: Attempting download of new URL file:///D:/jiang/BookStore/bin/System/System.EXE.


我该怎么办?
...全文
219 4 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
kingmd2 2003-05-30
  • 打赏
  • 举报
回复
up
chong1yong1die 2003-05-26
  • 打赏
  • 举报
回复
up
chong1yong1die 2003-05-26
  • 打赏
  • 举报
回复
帮我呀!!!!!!!!!!
chong1yong1die 2003-05-26
  • 打赏
  • 举报
回复
??

62,247

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术交流专区
javascript云原生 企业社区
社区管理员
  • ASP.NET
  • .Net开发者社区
  • R小R
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

.NET 社区是一个围绕开源 .NET 的开放、热情、创新、包容的技术社区。社区致力于为广大 .NET 爱好者提供一个良好的知识共享、协同互助的 .NET 技术交流环境。我们尊重不同意见,支持健康理性的辩论和互动,反对歧视和攻击。

希望和大家一起共同营造一个活跃、友好的社区氛围。

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