visual-studio complus异常代码-532462766
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/3064542/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
complus Exception code -532462766
提问by Masna
Using visual studio 2010, entity framework 4.0, ADO.NET POCO Entity Generator
使用 Visual Studio 2010,实体框架 4.0,ADO.NET POCO 实体生成器
On the code lines:
在代码行上:
MecDbEnt.Domains.AddObject(subject);
MecDbEnt.SaveChanges(); (on this line)
MecDbEnt.Domains.AddObject(subject);
MecDbEnt.SaveChanges(); (在这条线上)
the application throws follow exception:
应用程序抛出以下异常:
complus exception code -532462766
complus异常代码-532462766
Does anyone know how to solve an error like this?
有谁知道如何解决这样的错误?
Thx!
谢谢!
回答by Lars Corneliussen
I know that -532462766 is the default "general" error code, when a .NET console program terminates with an unhandled exception.
我知道 -532462766 是默认的“常规”错误代码,当 .NET 控制台程序因未处理的异常而终止时。
Does the SaveChanges() do a subcall to any console program?
SaveChanges() 是否对任何控制台程序进行子调用?

