Windows SIM is failing to open a .wim with a System.BadImageFormatException

Catachan

I'm trying to validate my Answer file using Windows System Image Manager. To do this, I need to open the Install.wim off of the .iso provided by my vendor, however when I try to open both the x64 and x86 versions of the install.wim, I get the same error. I've included the error dialog and the text from the log file below.

Windows System Image Manager


Windows SIM was unable to generate a catalog.  For troubleshooting assistance, see the topic: 'Windows System Image Manager Technical Reference' in the Windows ADK User's Guide.

Details: Could not load file or assembly 'Microsoft.ComponentStudio.ComponentPlatformImplementation, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.  An attempt was made to load a program with an incorrect format.

[Click to see an image of Windows System Image Manager Error Dialog]

14:40 : 
14:40 : Windows SIM was unable to generate a catalog. For troubleshooting assistance, see the topic: 'Windows System Image Manager Technical Reference' in the Windows ADK User's Guide.
14:40 : 
14:40 : System.BadImageFormatException: Could not load file or assembly 'Microsoft.ComponentStudio.ComponentPlatformImplementation, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. An attempt was made to load a program with an incorrect format.
File name: 'Microsoft.ComponentStudio.ComponentPlatformImplementation, Version=10.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

Server stack trace: 
   at Microsoft.ComponentStudio.ComponentPlatformInterface.Cpi.CreateOfflineImageInstance(OfflineImageInfo imageInfo)
   at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageCatalog.Serialize(OfflineImageInfo imageInfo)
   at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageInfo.CreateCatalog()
   at Microsoft.ComponentStudio.ComponentPlatformInterface.CatalogCreatorImpl.CreateCatalog(OfflineImageInfo offlineImageInfo)
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at Microsoft.ComponentStudio.ComponentPlatformInterface.ICatalogCreator.CreateCatalog(OfflineImageInfo offlineImageInfo)
   at Microsoft.ComponentStudio.CatalogGenerator.CreateCat(ProgressDialog pd, Object o)

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Can anyone help me figure this out?

Joel Garboden

I might have just hit this error.

I was still on Windows 10 1809, but installed the Windows 10 1903 ADK.

Once I removed the 1903 ADK then installed 1809's ADK, install.wim was successfully cataloged.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

System.BadImageFormatException on PC running PC Sim software

From Dev

Update-database failing - BadImageFormatException

From Dev

System.BadImageFormatException

From Dev

How to avoid "Windows cannot open the required file D:\Sources\Install.wim" when installing Windows 10 from USB drive?

From Dev

Error: An unhandled exception of type 'System.BadImageFormatException' occurred in System.Windows.Forms.dll

From Dev

Android NDK Build failing in mac system but works in windows system

From Dev

Windows 10: Missing boot.wim?

From Dev

Windows 10 Cumulative Updates Failing (On Computer with SSD System Drive + HDD)

From Dev

Windows 10 Upgrade: Stops at 23% without error, Dism not mounting boot.wim WIM Image

From Dev

Flash Develop Debbuger - System.BadImageFormatException

From Dev

Run-time Exception System.BadImageFormatException

From Dev

System.BadImageFormatException using .NET 2.0

From Dev

pinvoke c function - System.BadImageFormatException

From Dev

Flash Develop Debbuger - System.BadImageFormatException

From Dev

System.BadImageFormatException when getting the AssemblyVersion

From Dev

How to rebuild a Windows Image (WIM) using ImageX tool?

From Dev

Windows 10 Pro upgrade missing "boot.wim" file

From Dev

Windows 10 v1809 use custom WIM for "Reset this PC"

From Dev

Windows 10 - factory reset without winre.wim or installation disc

From Dev

ifstream failing to open

From Dev

Eclipse failing to open

From Dev

Failing to open spreadsheet

From Dev

How to open system dialog in windows Phone 8.1

From Dev

Cannot open System File in Windows 10

From Dev

Failing close system call

From Dev

FPDF - failing to open eps file?

From Dev

Starting Redis on Windows failing

From Dev

System.BadImageFormatException: Could not load file or assembly or one of its dependencies

From Dev

System.BadImageFormatException occurred when build in Release Mode

Related Related

  1. 1

    System.BadImageFormatException on PC running PC Sim software

  2. 2

    Update-database failing - BadImageFormatException

  3. 3

    System.BadImageFormatException

  4. 4

    How to avoid "Windows cannot open the required file D:\Sources\Install.wim" when installing Windows 10 from USB drive?

  5. 5

    Error: An unhandled exception of type 'System.BadImageFormatException' occurred in System.Windows.Forms.dll

  6. 6

    Android NDK Build failing in mac system but works in windows system

  7. 7

    Windows 10: Missing boot.wim?

  8. 8

    Windows 10 Cumulative Updates Failing (On Computer with SSD System Drive + HDD)

  9. 9

    Windows 10 Upgrade: Stops at 23% without error, Dism not mounting boot.wim WIM Image

  10. 10

    Flash Develop Debbuger - System.BadImageFormatException

  11. 11

    Run-time Exception System.BadImageFormatException

  12. 12

    System.BadImageFormatException using .NET 2.0

  13. 13

    pinvoke c function - System.BadImageFormatException

  14. 14

    Flash Develop Debbuger - System.BadImageFormatException

  15. 15

    System.BadImageFormatException when getting the AssemblyVersion

  16. 16

    How to rebuild a Windows Image (WIM) using ImageX tool?

  17. 17

    Windows 10 Pro upgrade missing "boot.wim" file

  18. 18

    Windows 10 v1809 use custom WIM for "Reset this PC"

  19. 19

    Windows 10 - factory reset without winre.wim or installation disc

  20. 20

    ifstream failing to open

  21. 21

    Eclipse failing to open

  22. 22

    Failing to open spreadsheet

  23. 23

    How to open system dialog in windows Phone 8.1

  24. 24

    Cannot open System File in Windows 10

  25. 25

    Failing close system call

  26. 26

    FPDF - failing to open eps file?

  27. 27

    Starting Redis on Windows failing

  28. 28

    System.BadImageFormatException: Could not load file or assembly or one of its dependencies

  29. 29

    System.BadImageFormatException occurred when build in Release Mode

HotTag

Archive