Windows MV上的ASP.NET MVC + Castle ActiveRecord + elmah on Mono 2.6

时间:2022-03-22 04:16:26

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.

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

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

该应用程序在Windows Vista和Windows 7以及VS内置的Web服务器上的IIS下运行正常。

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?

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

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

2 个解决方案

#1


1  

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.

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

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

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

#2


0  

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.

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

#1


1  

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.

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

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

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

#2


0  

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.

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