1
TypeInitializationException: The type initializer for '_MI' threw an exception.
Problem reported by Rhett Cawood - 5/22/2023 at 11:22 PM
Resolved
Having Upgraded to VS 2022 and now running on Windows 11 ARM in Parralells - I am experiancing this problem - Could you please assist me to resolve.

[BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)]
   _b.Environment_Initialize() +0
   _NE.Initialize() +136
   _MI._dI() +36
   _MI..cctor() +176

[TypeInitializationException: The type initializer for '_MI' threw an exception.]
   GleamTech.ImageUltimate.ImageFormatInfo.SupportedFor(ImageFormatSupport formatSupport) +68
   GleamTech.ImageUltimate._5E.MoveNext() +248
   _bB._XB() +268
   _bB..cctor() +528

[TypeInitializationException: The type initializer for '_bB' threw an exception.]
   _dE._NA() +44
   GleamTech.AspNet.Resource.GetLastModifiedTimeUtc(IDictionary`2 parameters) +148

2 Replies

Reply to Thread
0
Rhett Cawood Replied
By the way this happens in my CSHtml File 

@section header
{
    @this.RenderHead(Model.FMModel)
}

FMModel Defined as 
public FileManager FMModel { get; set; }
0
Rhett Cawood Replied
Marked As Resolution

Reply to Thread