Also, ich versuche, eine ASP.NET MVC 5 mit NHibernate und FluentNHibernate Targeting SQL Server 2012 mit Visual Studio 2015 für Mac und XSP Webserver, und es schlägt mit der Ausnahme unten fehl. Ich verwende .NET Framework 4.5 und Pakete werden auf die allerletzte Version aktualisiert.Fehler 500 während der Ausführung eines Fluent NHibernate-Projekts mit Visual Studio 2015 für Mac
System.ArgumentNullException
Value cannot be null.
Parameter name: type
Description: HTTP 500.Error processing request.
Details: Non-web exception. Exception origin (name of application or object): System.Core.
Exception stack trace:
at System.Dynamic.Utils.ContractUtils.RequiresNotNull (System.Object value, System.String paramName) [0x00003] in /private/tmp/source-mono-2017-02/bockbuild-2017-02/profiles/mono-mac-xamarin/build-root/mono-x86/external/corefx/src/Common/src/System/Dynamic/Utils/ContractUtils.cs:67
at System.Linq.Expressions.Expression.Convert (System.Linq.Expressions.Expression expression, System.Type type, System.Reflection.MethodInfo method) [0x0000b] in /private/tmp/source-mono-2017-02/bockbuild-2017-02/profiles/mono-mac-xamarin/build-root/mono-x86/external/corefx/src/System.Linq.Expressions/src/System/Linq/Expressions/UnaryExpression.cs:780
at System.Linq.Expressions.Expression.Convert (System.Linq.Expressions.Expression expression, System.Type type) [0x00000] in /private/tmp/source-mono-2017-02/bockbuild-2017-02/profiles/mono-mac-xamarin/build-root/mono-x86/external/corefx/src/System.Linq.Expressions/src/System/Linq/Expressions/UnaryExpression.cs:763
at NHibernate.Util.DelegateHelper.BuildPropertySetter[T] (System.Type type, System.String propertyName) [0x00015] in <1c5d1dfd6b734554b068885679d8b49d>:0
at NHibernate.AdoNet.SqlClientSqlCommandSet..cctor() [0x00019] in <1c5d1dfd6b734554b068885679d8b49d>:0
Vielleicht ist dies ein NHibernate oder FluentNHibernate Bug?
haben Sie findest du da was? Ich denke, ich habe das gleiche Problem – less
Leider, nein ... wahrscheinlich die beste Problemumgehung sollte den Quellcode dieser Bibliotheken zum Projekt hinzufügen und es selbst debuggen, aber ich kann das in diesem Moment nicht tun, da ich auch bin spät in meinem Zeitplan ... – Hetote
Danke für Ihre Antwort. Ich habe NHibenrate zum Projekt hinzugefügt und eine Socket-Ausnahme erhalten. Da ich nur NHibernate ausprobieren wollte, wechselte ich zu einer Win 10 Maschine und es funktionierte. – less