ASP.NET MVC +城堡 ActiveRecord + Windows 7 上 Mono 2.6 上的 elmah

发布于 2024-08-16 22:04:33 字数 509 浏览 2 评论 0原文

我试图让 xsp2 运行我的 asp.net mvc 应用程序,但我收到附加的错误消息,但没有调试信息。如果我使用 --verbose 运行 xsp2,则不会产生任何有用的结果。

该应用程序在 Windows Vista 和 Windows 7 上的 IIS 以及 VS 的内置网络服务器下运行良好。

我知道其他人已经在这方面取得了成功,所以我希望我只是错过了一些明显的事情。

谢谢,

编辑:如果我删除 Castle.ActiveRecord.Linq 和 NHibernate.Linq,一切都会恢复正常。我目前没有使用它们,所以删除它们应该没什么大不了的。还有其他建议吗?

500 http://www.freeimagehosting.net/uploads/56fc36a5db .png

I am trying to get xsp2 to run my asp.net mvc application, but I get the attached error message with no debug information. Nothing useful is produced if I run xsp2 with --verbose.

The app runs fine under IIS on Windows Vista and Windows 7 and VS's built in webserver.

I know others have had success with this, so I'm hoping that I just missed something obvious.

Thanks,

EDIT: If I remove Castle.ActiveRecord.Linq and NHibernate.Linq, everything works again. I am not currently using either, so it shouldn't be a big deal to remove them. Any other suggestions?

500 http://www.freeimagehosting.net/uploads/56fc36a5db.png

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

北座城市 2024-08-23 22:04:33

看起来在您的应用程序中编译某些内容时遇到了问题。您可能想尝试使用 VS 预编译您的应用程序,然后看看它是否可以运行。

(使用VS的发布功能在本地磁盘上制作预编译版本,并将xsp2指向它。)

It looks like it is having trouble compiling something in your app. You might want to try using VS to pre-compile your app and see if it will run then.

(Use VS's Publish feature to make a pre-compiled version on your local disk, and point xsp2 at it.)

小帐篷 2024-08-23 22:04:33

答案(对我来说)是删除 Castle.ActiveRecord.Linq 和 NHibernate.Linq 作为引用。由于我没有使用 Linq,所以这不是问题。

The answer (for me) was to remove Castle.ActiveRecord.Linq and NHibernate.Linq as references. Since I wasn't using Linq, it wasn't a problem.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文