Microsoft Surface Pro 7 with Windows 11 enterprise, MARS agent gives error FX:{84AF3E24-7EE9-44C9-8007-3B5093D6D208}
Microsoft Surface Pro 7 with Windows 11 enterprise, running the Azure Backup MARS agent gives me the following error,
Unhandled exception in Managed Code Snap-in
FX:{84AF3E24-7EE9-44C9-8007-3B5093D6D208}
Could not load file or assembly 'CBSnapIn, Version=1.0.523.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. An attempt was made to load a program with an incorrect format.
Exception type:
System.BadImageFormatException
Exception Stack trace:
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Activator.CreateInstance(String assemblyString, String typeName, Boolean ignoreCase, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, Evidence securityInfo, StackCrawlMark& stackMark)
at System.Activator.CreateInstance(String assemblyName, String typeName)
at System.AppDomain.CreateInstance(String assemblyName, String typeName)
at System.AppDomain.CreateInstanceAndUnwrap(String assemblyName, String typeName)
at Microsoft.ManagementConsole.Internal.SnapInClient.CreateSnapIn(String assemblyName, String typeName)
at Microsoft.ManagementConsole.Internal.ClassLibraryServices.Microsoft.ManagementConsole.Internal.IClassLibraryServices.CreateSnapIn(String assemblyName, String typeName)
at Microsoft.ManagementConsole.Executive.SnapInInitializationOperation.OnStart()
at Microsoft.ManagementConsole.Executive.RunningOperationsTable.EnqueueOperation(Operation operation)
at Microsoft.ManagementConsole.Advanced.FrameworkSnapInFactory.Microsoft.ManagementConsole.Advanced.ISnapInFactory.CreateSnapIn(Int32 bookkeepingId, String snapInKey, Object& snapIn)
I have tried all the following recommended solutions but error still persists,
- Reinstalled Windows 11 enterprise
- Edited the registry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MMC\SnapIns. and deleted the CLSID folder
- Made sure that .NET Framework 3.5 is installed
- Renamed the mmc.exe in C:\Windows\System32 and ran the sfc /scannow to check and repair corrupted system files.
Please help, I need to setup the Azure backup !
-Badari