TimePunch

  • Status New
  • Prozent erledigt
    0%
  • Aufgabentyp Bug Report
  • Kategorie Backend
  • zuständig niemand
  • Betriebssystem All
  • Schweregrad niedrig
  • Dringlichkeit gering
  • betrifft Version 3.30
  • fällig in Version unbestimmt
  • fällig am unbestimmt
gehört zu Projekt: TimePunch
angelegt von Gerhard - 13.12.2018
zuletzt bearbeitet von Gerhard - 25.05.2020

FS#953 - Loading this assembly would produce a different grant set from other instances.

Server Error in '/TpOnline' Application.


Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileLoadException: Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[FileLoadException: Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)]

 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) +139
 System.Activator.CreateInstance(Type type, Boolean nonPublic) +105
 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark) +1431
 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +184
 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture) +27
 System.Web.HttpRuntime.CreateNonPublicInstance(Type type, Object[] args) +80
 System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList) +234
 System.Web.HttpApplication.GetModuleCollection(IntPtr appContext) +1153
 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +139
 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +168
 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +277
 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +369

[HttpException (0x80004005): Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)]

 System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +532
 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +111
 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +714

https://blog.bugrapostaci.com/2017/02/08/loading-this-assembly-would-produce-a-different-grant-set-from-other-instances-exception-from-hresult-0x80131401/ https://blog.bugrapostaci.com/tag/legacycasmodel/ https://stackoverflow.com/questions/42240956/loading-this-assembly-would-produce-a-different-grant-set-from-other-instances

"People are resolving this problem by setting legacyCasModel=”false” which is NOT SUPPORTED .
You shouldn’t change it because of backward compatibility and dependancy reasons we need that. Disabling this property cause anomalies."

Zeitraum Benutzer Aufwand (H:M)
watch my effort tracking timers

Lade...

verfügbare Tastenkürzel

Aufgabenliste

Aufgabendetails

Aufgabenbearbeitung