如果有人可以帮助这个,我将不胜感激,我已经搜索并建造了一段时间。
- 网站项目
- 使用 CCNET 构建
- 使用 msbuild 和 config DebugType=pdbonly 构建
- 使用 aspnet_merge 和 -a -debug 将所有文件合并到单个程序集中
- pdb 与 .dll 位于同一目录中
- web.config 中的 debug=true
- 没有冒名顶替
- 框架 4.0(仍然检查,没有参考部署)
- 通过 ex.ToString() 捕获
示例堆栈跟踪
System.InvalidCastException:从“DBNull”类型到“Integer”类型的转换无效。在 Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(对象值) 在 UserControls_OpportunityManagement.GetReferralMethodIDByDialedNbr(字符串 DialedNumber)