none
Windows SIM is unable to create a catalog file.

    Question

  • I am trying to create a catalog file with WSIM in 64-bit Server 2012 R2. It is a Windows 8.1 VL Image. I am getting the following error:

    1:59 PM : 
    1:59 PM : Windows SIM was unable to generate a catalog. For troubleshooting assistance, see the topic: 'Windows System Image Manager Technical Reference' in the Windows OPK or Windows AIK User's Guide.
    1:59 PM : 
    1:59 PM : System.InvalidOperationException: The operation failed to complete. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: String reference not set to an instance of a String.
    Parameter name: source
       at System.Globalization.CompareInfo.IsPrefix(String source, String prefix, CompareOptions options)
       at ?A0xfe36268f.ConvertToNtPath(String path)
       at Microsoft.ComponentStudio.ComponentPlatformInterface.CbsSessionAdaptor..ctor(String bootDrive, String imageWinDir, String servicingPath)
       at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageImpl.InitializePackages()
       at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageImpl..ctor(OfflineImageInfo imageInfo)
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)
       at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
       at Microsoft.ComponentStudio.ComponentPlatformInterface.Cpi.PlatformImplementation.CreateOfflineImageInstance(OfflineImageInfo imageInfo)
       --- End of inner exception stack trace ---

    Server stack trace: 
       at Microsoft.ComponentStudio.ComponentPlatformInterface.Cpi.PlatformImplementation.CreateOfflineImageInstance(OfflineImageInfo imageInfo)
       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, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)

    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)
    1:59 PM : System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentNullException: String reference not set to an instance of a String.
    Parameter name: source
       at System.Globalization.CompareInfo.IsPrefix(String source, String prefix, CompareOptions options)
       at ?A0xfe36268f.ConvertToNtPath(String path)
       at Microsoft.ComponentStudio.ComponentPlatformInterface.CbsSessionAdaptor..ctor(String bootDrive, String imageWinDir, String servicingPath)
       at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageImpl.InitializePackages()
       at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageImpl..ctor(OfflineImageInfo imageInfo)
       --- End of inner exception stack trace ---
       at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)
       at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
       at Microsoft.ComponentStudio.ComponentPlatformInterface.Cpi.PlatformImplementation.CreateOfflineImageInstance(OfflineImageInfo imageInfo)
    1:59 PM : System.ArgumentNullException: String reference not set to an instance of a String.
    Parameter name: source
       at System.Globalization.CompareInfo.IsPrefix(String source, String prefix, CompareOptions options)
       at ?A0xfe36268f.ConvertToNtPath(String path)
       at Microsoft.ComponentStudio.ComponentPlatformInterface.CbsSessionAdaptor..ctor(String bootDrive, String imageWinDir, String servicingPath)
       at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageImpl.InitializePackages()
       at Microsoft.ComponentStudio.ComponentPlatformInterface.OfflineImageImpl..ctor(OfflineImageInfo imageInfo)

    I have researched and found out that there was an issue with 64-bit systems not being able to create a Windows 8 x64 catalog file.

    So I created a Win 7 32-bit OS, and installed WAIK on there and tried to create a catalog for the same OS version.

    I get the same error....

    I have tried 2 different ISOs , a retail one, and enterprise one.

    No luck. 

    Thursday, August 07, 2014 9:08 PM

Answers

  • Ok.... so weird issue... Reinstalled MDT 2013 and everything works now. Odd.
    • Marked as answer by Edomedo Friday, August 08, 2014 8:19 PM
    • Edited by Edomedo Friday, August 08, 2014 8:19 PM
    Friday, August 08, 2014 8:18 PM

All replies

  • Hi,

    What is the version of your SIM installed?
    Please refer to the following article Windows Image Files and Catalog Files Overview.
    http://technet.microsoft.com/en-us/library/hh825092.aspx
    It shows that x64 version of SIM only supports x64-based system.

    Please refer to the following thread similar to your problems.
    Cannot generate catalog file for windows 7
    http://social.technet.microsoft.com/Forums/windows/en-US/0d76f47c-d8d6-4239-a1b9-9f77d2b46c90/cannot-generate-catalog-file-for-windows-7?forum=itprovistadeployment

    Please take the following steps for troubleshooting.
    1. Make sure your account are the administrator.
    2. Check if you have the full control of .wim file.
    3. Check the versions of your SIM and image as mentioned.
      
    If there are any problems, please let me know.

    Best regards

    Friday, August 08, 2014 9:01 AM
  • So I made sure that I am the administrator and have all the rights to all of the files.

    SIM version is 6.3.9600.17029

    • Edited by Edomedo Friday, August 08, 2014 2:24 PM
    Friday, August 08, 2014 2:15 PM
  • Ok.... so weird issue... Reinstalled MDT 2013 and everything works now. Odd.
    • Marked as answer by Edomedo Friday, August 08, 2014 8:19 PM
    • Edited by Edomedo Friday, August 08, 2014 8:19 PM
    Friday, August 08, 2014 8:18 PM