一个很奇怪的错误,高手开看看,解决了就跟分

s208ping 2008-09-28 02:34:32
把IIS主目录换一个文件夹,里面内容一样,就不出错了,过几天又报错,搞不懂了,哪位大哥提醒一下,感激不尽,先谢谢了



错误如下

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

Could not load file or assembly 'App_Web_liiwlqb4, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. 系统找不到指定的文件。
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: Could not load file or assembly 'App_Web_liiwlqb4, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. 系统找不到指定的文件。

Source Error:


Line 1: <%@ Control Language="C#" AutoEventWireup="true" CodeFile="bottom2.ascx.cs" Inherits="inc_bottom2" %>
Line 2: <%@ Register TagPrefix="uc" TagName="bootom" Src="bottom.ascx" %>
Line 3: <%@ Register TagPrefix="uc" TagName="bootom2" Src="bott.ascx" %>


Source File: c:\gb\inc\bottom2.ascx Line: 1

Assembly Load Trace: The following information can be helpful to determine why the assembly 'App_Web_liiwlqb4, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' 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].



Stack Trace:


[FileNotFoundException: Could not load file or assembly 'App_Web_liiwlqb4, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. 系统找不到指定的文件。]
ASP.inc_bottom2_ascx.__BuildControlTree(inc_bottom2_ascx __ctrl) in c:\gb\inc\bottom2.ascx:1
ASP.inc_bottom2_ascx.FrameworkInitialize() in c:\gb\inc\bottom2.ascx.cs:912306
System.Web.UI.UserControl.InitializeAsUserControlInternal() +31
System.Web.UI.UserControl.InitializeAsUserControl(Page page) +14
ASP.team_aspx.__BuildControlbottom542111() in c:\gb\Team.aspx:173
ASP.team_aspx.__BuildControlform4332() in c:\gb\Team.aspx:16
ASP.team_aspx.__BuildControlTree(team_aspx __ctrl) in c:\gb\Team.aspx:1
ASP.team_aspx.FrameworkInitialize() in c:\gb\Team.aspx.cs:912307
System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +40
System.Web.UI.Page.ProcessRequest() +86
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +18
System.Web.UI.Page.ProcessRequest(HttpContext context) +49
ASP.team_aspx.ProcessRequest(HttpContext context) in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\2348612b\a38cd4b3\App_Web_ykjm3x8t.2.cs:0
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +154
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
...全文
89 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
s208ping 2008-09-28
  • 打赏
  • 举报
回复
找到错了,谢谢大家,忙活了
gouhan02 2008-09-28
  • 打赏
  • 举报
回复
学习了
smallfools 2008-09-28
  • 打赏
  • 举报
回复
你是用VS2003开发的程序还是2005开发的?
如果是2003开发的,可能虚拟目录那里没有设好。
zhengweitao 2008-09-28
  • 打赏
  • 举报
回复
是vs2005 还是 2008 iis6.0
zhengweitao 2008-09-28
  • 打赏
  • 举报
回复
是用vs2008 还是vs2008 用的 ie7 吗
POPO_POPO 2008-09-28
  • 打赏
  • 举报
回复
你检查一下team.aspx文件 和 bottom2.ascx
caofan520 2008-09-28
  • 打赏
  • 举报
回复
如果是本来好的,过几头没好就不是路径问题
datahandler2 2008-09-28
  • 打赏
  • 举报
回复
典型的路径错误问题。好好检查你更改后的路径是不是引用也有该
超人Q 2008-09-28
  • 打赏
  • 举报
回复
系统找不到指定的文件,看看路径
。。。
Source File: c:\gb\inc\bottom2.ascx Line: 1
。。。
浮生若梦丶 2008-09-28
  • 打赏
  • 举报
回复
看样子是路径的问题....
mouse01 2008-09-28
  • 打赏
  • 举报
回复
?

62,025

社区成员

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

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

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

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