我用的是VS2005,我发布网站用的是WebDeployment,这样我的所有的DLL就可以合成一个dll了(由于VS2005编译的时候是生成很多个dll的,而且名字是随机的),
我的页面用了模版页面,一直运行正常,但是偶尔会出这样的一个问题,提示模版页面的dll找不到.然后我就把我的dll文件,拷贝出来,然后再覆盖一次就好了(就是自己覆盖自己),
但是运行几天后,又出现这个问题,真是很奇怪,我的是个网站。不知道有没有人运到过这样的问题。我把再event viwer中的信息粘出来,大家帮我分析一下是什么原因:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 2007-1-22 23:52:08
Event time (UTC): 2007-1-22 23:52:08
Event ID: 445561883a744718be1801c4b8595c22
Event sequence: 193
Event occurrence: 75
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/Root/web-2-128139830589902492
Trust level: Full
Application Virtual Path: /web
Application Path: C:\Inetpub\KVBKUNLUN.COM\web\
Machine name: HITBJWEB1
Process information:
Process ID: 3896
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: FileNotFoundException
Exception message: Could not load file or assembly 'App_Web_rcm_hiur, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Request information:
Request URL: http://www.kvbkunlun.com/Web/Chinese/Default.aspx
Request path: /Web/Chinese/Default.aspx
User host address: 61.47.176.163
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 9
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at ASP.chinese_righthomepage_ascx.__BuildControlTree(chinese_righthomepage_ascx __ctrl)
at ASP.chinese_righthomepage_ascx.FrameworkInitialize() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\web\cbcebf7f\e8547387\App_Web_7kyce5xu.0.cs:line 0
at System.Web.UI.UserControl.InitializeAsUserControlInternal()
at System.Web.UI.UserControl.InitializeAsUserControl(Page page)
at ASP.chinese_home_master.__BuildControlRight1() in c:\Inetpub\KVBKUNLUN.COM\web\Chinese\Home.master:line 68
at ASP.chinese_home_master.__BuildControlfrmHome() in c:\Inetpub\KVBKUNLUN.COM\web\Chinese\Home.master:line 18
at ASP.chinese_home_master.__BuildControlTree(chinese_home_master __ctrl) in c:\Inetpub\KVBKUNLUN.COM\web\Chinese\Home.master:line 1
at ASP.chinese_home_master.FrameworkInitialize() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\web\cbcebf7f\e8547387\App_Web_yscqndzd.1.cs:line 0
at System.Web.UI.UserControl.InitializeAsUserControlInternal()
at System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection)
at System.Web.UI.Page.get_Master()
at System.Web.UI.Page.ApplyMasterPage()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details: For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.请大家帮忙分析一下原因,如果能够解决问题,分不够在加。
我的页面用了模版页面,一直运行正常,但是偶尔会出这样的一个问题,提示模版页面的dll找不到.然后我就把我的dll文件,拷贝出来,然后再覆盖一次就好了(就是自己覆盖自己),
但是运行几天后,又出现这个问题,真是很奇怪,我的是个网站。不知道有没有人运到过这样的问题。我把再event viwer中的信息粘出来,大家帮我分析一下是什么原因:
Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 2007-1-22 23:52:08
Event time (UTC): 2007-1-22 23:52:08
Event ID: 445561883a744718be1801c4b8595c22
Event sequence: 193
Event occurrence: 75
Event detail code: 0
Application information:
Application domain: /LM/W3SVC/1/Root/web-2-128139830589902492
Trust level: Full
Application Virtual Path: /web
Application Path: C:\Inetpub\KVBKUNLUN.COM\web\
Machine name: HITBJWEB1
Process information:
Process ID: 3896
Process name: w3wp.exe
Account name: NT AUTHORITY\NETWORK SERVICE
Exception information:
Exception type: FileNotFoundException
Exception message: Could not load file or assembly 'App_Web_rcm_hiur, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Request information:
Request URL: http://www.kvbkunlun.com/Web/Chinese/Default.aspx
Request path: /Web/Chinese/Default.aspx
User host address: 61.47.176.163
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information:
Thread ID: 9
Thread account name: NT AUTHORITY\NETWORK SERVICE
Is impersonating: False
Stack trace: at ASP.chinese_righthomepage_ascx.__BuildControlTree(chinese_righthomepage_ascx __ctrl)
at ASP.chinese_righthomepage_ascx.FrameworkInitialize() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\web\cbcebf7f\e8547387\App_Web_7kyce5xu.0.cs:line 0
at System.Web.UI.UserControl.InitializeAsUserControlInternal()
at System.Web.UI.UserControl.InitializeAsUserControl(Page page)
at ASP.chinese_home_master.__BuildControlRight1() in c:\Inetpub\KVBKUNLUN.COM\web\Chinese\Home.master:line 68
at ASP.chinese_home_master.__BuildControlfrmHome() in c:\Inetpub\KVBKUNLUN.COM\web\Chinese\Home.master:line 18
at ASP.chinese_home_master.__BuildControlTree(chinese_home_master __ctrl) in c:\Inetpub\KVBKUNLUN.COM\web\Chinese\Home.master:line 1
at ASP.chinese_home_master.FrameworkInitialize() in c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\web\cbcebf7f\e8547387\App_Web_yscqndzd.1.cs:line 0
at System.Web.UI.UserControl.InitializeAsUserControlInternal()
at System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection)
at System.Web.UI.Page.get_Master()
at System.Web.UI.Page.ApplyMasterPage()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Custom event details: For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.请大家帮忙分析一下原因,如果能够解决问题,分不够在加。
如果不是.net的bug
那么我想 应该是你的程序上还存在什么问题
然后我用它自己覆盖自己又好了,也就是说程序部分还是某个地方出了问题。导致dll坏掉。
因为我把dll拷贝出来一份,然后再覆盖一下,就好了,(就是把自己考出来,然后再考回去,就没问题了。)
因为我把dll拷贝出来一份,然后再覆盖一下,就好了,(就是把自己考出来,然后再考回去,就没问题了。)
-----------
我觉得还是很难说,你在DOS下用scandisk命令扫描一下硬盘,先排除硬件问题
很明显是dll坏了,
但是在什么情况下dll会坏掉那。
不会缺少个别页面编译文件的,因为我都合并成一个DLL文件了,
我怀疑是某个文件页面有问题,
是个隐藏的比较深的页面,很少客户会点到。一旦有人点到了,
就出问题了,或者是有多个人同时点击一个操作,就出问题了。
然后dll文件就完蛋了,然后我要重新覆盖一次。
怎么才能找到这个问题那。