Support Forums

Serverfailure after…
 
Notifications
Clear all

Serverfailure after update last 2 patches

10 Posts
2 Users
0 Likes
14 K Views
Posts: 31
Topic starter
(@access4it)
Eminent Member
Joined: 7 years ago

Hello,

The last 2 updates gave me the next error (it’s dutch):

Serverfout in toepassing /Cloudpanel.

[NotSupportedException: Er is een poging gedaan een assembly te laden vanuit een netwerklocatie. Hierdoor kan de assembly in een sandbox worden geplaatst in eerdere versies van .NET Framework. In deze versie van .NET Framework wordt CAS-beleid niet standaard ingeschakeld. Deze laadbewerking kan daarom gevaarlijk zijn. Als deze laadbewerking niet is bedoeld om de assembly in een sandbox te plaatsen, moet u de schakeloptie loadFromRemoteSources inschakelen. Zie  http://go.microsoft.com/fwlink/?LinkId=155569  voor meer informatie.]

[FileLoadException: Kan bestand of assembly ByteSize, Version=0.2.0.0, Culture=neutral, PublicKeyToken=null of een van de afhankelijkheden hiervan niet laden. Bewerking wordt niet ondersteund. (Uitzondering van HRESULT: 0x80131515)]
   System.AppDomain.Load(AssemblyName assemblyRef) +0
   Nancy.AppDomainAssemblyCatalog.LoadNancyReferencingAssemblies(IEnumerable`1 loadedAssemblies) +618
   Nancy.AppDomainAssemblyCatalog.GetAvailableAssemblies() +21
   System.Lazy`1.CreateValue() +709
   System.Lazy`1.LazyInitValue() +191
   Nancy.DefaultTypeCatalog.GetTypesAssignableTo(Type type) +30
   System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory) +84
   Nancy.DefaultTypeCatalog.GetTypesAssignableTo(Type type, TypeResolveStrategy strategy) +147
   Nancy.Bootstrapper.<>c.<get_Default>b__1_0(ITypeCatalog typeCatalog) +196
   Nancy.Bootstrapper.NancyBootstrapperBase`1.GetInitializedInternalConfiguration() +60
   Nancy.Bootstrapper.NancyBootstrapperBase`1.Initialise() +60
   Nancy.Hosting.Aspnet.NancyHttpRequestHandler..cctor() +44

[TypeInitializationException: De type-initialisatiefunctie voor Nancy.Hosting.Aspnet.NancyHttpRequestHandler heeft een uitzondering veroorzaakt.]
   Nancy.Hosting.Aspnet.NancyHttpRequestHandler..ctor() +0

[TargetInvocationException: Het doel van een aanroep heeft een uitzondering veroorzaakt.]
   System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck) +0
   System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark) +138
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +105
   System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) +1481
   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +191
   System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture) +27
   System.Web.HttpRuntime.CreateNonPublicInstance(Type type, Object[] args) +82
   System.Web.Configuration.HandlerFactoryCache..ctor(String type) +58
   System.Web.HttpApplication.GetFactory(String type) +104
   System.Web.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +262
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +137
9 Replies
Posts: 31
Topic starter
(@access4it)
Eminent Member
Joined: 7 years ago

In the Cloudpanel Log I see the next error:

?

2017-01-27 08:03:03,681 ::: [12] ERROR ::: CloudPanel.Modules.Dashboard.DashboardModule — Error retrieving unacknowledged tasks: System.InvalidOperationException: The cast to value type ‘System.Int32’ failed because the materialized value is null. Either the result type’s generic parameter or the query must use a nullable type.

? ?bij System.Data.Entity.Core.Common.Internal.Materialization.Shaper.ErrorHandlingValueReader`1.GetValue(DbDataReader reader, Int32 ordinal)

? ?bij lambda_method(Closure , Shaper )

? ?bij System.Data.Entity.Core.Common.Internal.Materialization.Coordinator`1.ReadNextElement(Shaper shaper)

? ?bij System.Data.Entity.Core.Common.Internal.Materialization.Shaper`1.SimpleEnumerator.MoveNext()

? ?bij System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

? ?bij System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

? ?bij CloudPanel.Modules.Dashboard.DashboardModule.<.ctor>b__1_27(Object _)

Reply
Posts: 1559
Admin
(@jdixon)
Noble Member
Joined: 9 years ago

Do you have .NET 4.6.1 or later installed?

Reply
Posts: 1559
Admin
(@jdixon)
Noble Member
Joined: 9 years ago

What version did you upgrade from?

Reply
Posts: 31
Topic starter
(@access4it)
Eminent Member
Joined: 7 years ago

4.6.1 ?installed and on version before the last 2 updates.

?

Reply
Page 1 / 2
Share: