gpt4 book ai didi

visual-studio-2010 - Fluent NHib 导致 Visual Studio 2010 在运行时挂起

转载 作者:行者123 更新时间:2023-12-03 16:03:12 25 4
gpt4 key购买 nike

刚刚在 Vista Ultimate 64 和 .net 4.0 上安装并迁移了 2008 解决方案。一切构建和测试都运行得非常好,但我在尝试在 SQLite 下运行应用程序时得到了下面的挂起描述。

事实证明,当调用 FNH 在运行期间构建 session 工厂时,挂起有一些事情要做,我得到的唯一反馈是数据库没有正确配置而没有任何内部异常。奇怪的是,确切的代码在测试下可以完美运行。

有什么线索吗?

FluentNHibernate.Cfg.FluentConfigurationException was unhandled
Message: An invalid or incomplete configuration was used while creating a SessionFactory. Check PotentialReasons collection, and InnerException for more detail.

* Database was not configured through Database method.

Description: A problem caused this program to stop interacting with Windows.

Problem signature: Problem Event Name: AppHangB1 Application Name: devenv.exe Application Version: 10.0.30319.1 Application Timestamp: 4ba1fab3 Hang Signature: b9ed Hang Type: 6152
OS Version: 6.0.6002.2.2.0.256.1
Locale ID: 1033 Additional Hang Signature 1: 005de38e6b4bb3afd8e147932c6431cc
Additional Hang Signature 2: d54c
Additional Hang Signature 3: 05f671c8289bf8dd31e6ccfe265baa77
Additional Hang Signature 4: 784c
Additional Hang Signature 5: c8207f54dadf3eb38dfcf1ae152f4229
Additional Hang Signature 6: ff83
Additional Hang Signature 7: 220932152f3f04fffb6ca3abf15e6dc6

最佳答案

这是一个 SQLite 问题,而不是 FNH;见 this post

关于visual-studio-2010 - Fluent NHib 导致 Visual Studio 2010 在运行时挂起,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2634841/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com