未处理的IIS异常 - 如何跟踪它

Jam*_*mes 7 asp.net iis debugging event-log

我在事件日志中看到以下错误.它来自我们的ASP.Net应用程序.我无法追踪导致错误的原因.任何建议赞赏!

  • 操作系统:Windows Server 2000
  • WebServer:IIS 6
  • 应用:ASP.Net v3.5

错误日志

[MachineName]已为IIS记录以下错误

详细信息:ComputerName = [ComputerName] User =未指定Logfile =应用程序类型=错误EventType = 1 SourceName = ASP.NET 2.0.50727.0 Category = 0 CategoryString =未指定EventCode = 1334 EventID = -1073740490 TimeGenerated = 20091125101806.000000-360 TimeWritten = 20091125101806.000000 -360 Message =发生未处理的异常并终止进程.

应用程序ID:DefaultDomain进程ID:1440异常:System.Runtime.Serialization.SerializationException消息:无法找到程序集"Company.Common,Version = 1.0.0.0,Culture = neutral,PublicKeyToken = null".

StackTrace:位于System.Runtime.Serialization.Formatters.Binary的System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(BinaryAssemblyInfo assemblyInfo,String name)中的System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo.GetAssembly(). ObjectMap..ctor(字符串对象名,字符串[] memberNames,BinaryTypeEnum [] binaryTypeEnumA,对象[] typeInformationA,的Int32 [] memberAssemIds,objectReader objectReader,的Int32的ObjectID,BinaryAssemblyInfo集信息,SizedArray assemIdToAssemblyTable)
在System.Runtime.Serialization.Formatters.Binary .__ BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped record)System.Runtime.Serialization.Formatters.Binary .__ BinaryParser.Run()at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler,__BinaryParser serParser,Boolean fCheck,Boolean isCrossAppDomain) ,System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream seri)中的IMethodCallMessage methodCallMessage)在System.AppDomain.UnmarshalObject(Byte)的System.AppDomain.Deserialize(Byte [] blob)的System.Runtime.Remoting.Channels.CrossAppDomainSerializer.DeserializeObject(MemoryStream stm)处的alizationStream,HeaderHandler处理程序,Boolean fCheck,Boolean isCrossAppDomain,IMethodCallMessage methodCallMessage) [] blob)

Jam*_*mes 4

我创建了一个自定义的非手动异常模块,它允许检索有关错误起源的更多信息以及问题的最终解决方案。

以下是 codeplex 项目的链接,其中包含用于无人处理的异常模块的代码: http://unhandledexception.codeplex.com/SourceControl/changeset/view/80132

  • 看起来 codeplex 网址已更改。工作链接:http://unhandledexception.codeplex.com/SourceControl/BrowseLatest (2认同)