此模块的调试信息中缺少StackOverflow异常+源信息

时间:2017-01-04 19:05:31

标签: c# .net asp.net-mvc visual-studio visual-studio-2015

我遇到Visual Studio 2015和.NET Framework 4.5.2的问题。在我的ASP.NET MVC项目中,我改变了一些CSS,然后当我想调试时,我得到了:

  发生了'System.StackOverflowException'   System.Runtime.Serialization.dll

同样留言:

  

来源不详。调试中缺少源信息   该模块的信息

我不确定,但在此消息之前是关于Symbols的其他消息(我点击了某些内容然后收到此消息“Source not available ..”。

调用堆栈:

  

System.Runtime.Serialization.dll!System.Runtime.Serialization.XmlObjectSerializerContext.GetDataContract(System.RuntimeTypeHandle typeHandle,System.Type type)Unknown       System.Runtime.Serialization.dll!System.Runtime.Serialization.XmlObjectSerializerWriteContextComplex.GetDataContract(System.RuntimeTypeHandle typeHandle,System.Type type)Unknown       System.Runtime.Serialization.dll!System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson.GetDataContract(System.RuntimeTypeHandle typeHandle,System.Type type)Unknown       System.Runtime.Serialization.dll!System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson.SerializeWithXsiType(System.Runtime.Serialization.XmlWriterDelegator xmlWriter,object obj,System.RuntimeTypeHandle objectTypeHandle,System.Type objectType,int declaredTypeID,System.RuntimeTypeHandle declaredTypeHandle, System.Type declaredType)未知       System.Runtime.Serialization.dll!System.Runtime.Serialization.XmlObjectSerializerWriteContext.InternalSerialize(System.Runtime.Serialization.XmlWriterDelegator xmlWriter,object obj,bool isDeclaredType,bool writeXsiType,int declaredTypeID,System.RuntimeTypeHandle declaredTypeHandle)Unknown       System.Runtime.Serialization.dll!System.Runtime.Serialization.XmlObjectSerializerWriteContextComplex.InternalSerialize(System.Runtime.Serialization.XmlWriterDelegator xmlWriter,object obj,bool isDeclaredType,bool writeXsiType,int declaredTypeID,System.RuntimeTypeHandle declaredTypeHandle)Unknown       System.Runtime.Serialization.dll!System.Runtime.Serialization.Json.JsonCollectionDataContract.WriteJsonValueCore(System.Runtime.Serialization.XmlWriterDelegator jsonWriter,object obj,System.Runtime.Serialization.Json.XmlObjectSerializerWriteContextComplexJson context,System.RuntimeTypeHandle declaredTypeHandle)Unknown < / p>

1 个答案:

答案 0 :(得分:0)

我不得不使用Visual Studio设置而不是web.config来禁用浏览器链接。