开发者

ASP.NET MVC + Castle ActiveRecord + elmah on Mono 2.6 on windows 7

开发者 https://www.devze.com 2022-12-15 08:51 出处:网络
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.

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/56fc36开发者_JAVA技巧a5db.png


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.)


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消