我在事件日志中看到以下错误。它来自我们的 ASP.Net 应用程序。我无法追踪导致错误的原因。任何建议表示赞赏!
-
OS:Windows Server 2000
-
网络服务器: IIS 6
-
应用:ASP.Net v3.5
错误日志
[MachineName] 已记录以下内容
IIS 错误
详细信息:计算机名称=[计算机名称]
用户=未指定日志文件=应用程序
类型=错误事件类型=1
源名称=ASP.NET 2.0.50727.0
类别=0 类别字符串=否
指定的事件代码=1334
事件ID=-1073740490
生成时间=20091125101806.000000-360
写入时间=20091125101806.000000-360
消息=未处理的异常
发生了,过程是
终止。
应用程序 ID:DefaultDomain 进程
ID:1440 例外:
System.Runtime.Serialization.SerializationException
消息:无法找到程序集
'Company.Common,版本=1.0.0.0,
文化=中立,PublicKeyToken=null'。
堆栈跟踪:位于
System.Runtime.Serialization.Formatters.Binary.BinaryAssemblyInfo.GetAssembly()
在
System.Runtime.Serialization.Formatters.Binary.ObjectReader.GetType(BinaryAssemblyInfo
assemblyInfo,字符串名称)位于
System.Runtime.Serialization.Formatters.Binary.ObjectMap..ctor(字符串
对象名称,String[] 成员名称,
BinaryTypeEnum[] 二进制类型EnumA,
对象[]类型信息A,Int32[]
成员AssemIds、对象读取器
objectReader,Int32 objectId,
BinaryAssemblyInfo 程序集信息,
SizedArray (assemIdToAssemblyTable)
在
System.Runtime.Serialization.Formatters.Binary.__BinaryParser.ReadObjectWithMapTyped(BinaryObjectWithMapTyped
记录)在
System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
在
System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler
处理程序,__BinaryParser serParser,
布尔 fCheck,布尔
isCrossAppDomain、IMethodCallMessage
方法调用消息)位于
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(流
序列化流、标头处理程序
处理程序,布尔值 fCheck,布尔值
isCrossAppDomain、IMethodCallMessage
方法调用消息)位于
System.Runtime.Remoting.Channels.CrossAppDomainSerializer.DeserializeObject(MemoryStream
stm)在
System.AppDomain.反序列化(字节[]
斑点)在
System.AppDomain.UnmarshalObject(字节[]
斑点)
我创建了一个自定义的非手动异常模块,它允许检索有关错误起源的更多信息以及问题的最终解决方案。
以下是 Codeplex 项目的链接,其中包含未处理异常模块的代码:http://unhandledexception.codeplex.com/SourceControl/changeset/view/80132 http://unhandledexception.codeplex.com/SourceControl/changeset/view/80132
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)