SXA package installation throws System.IO.IOException


Description

The following error might be thrown during SXA module package installation. It means that additional SXA client translations failed to install.

ERROR Error loading data.
Exception: System.IO.IOException
Message: The process cannot access the file 'C:\sites\sxa\Website\temp\dictionary.dat' because it is being used by another process.
Source: mscorlib
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize)
at Sitecore.Globalization.DefaultTranslate.Load()

Solution

Follow the Sitecore Experience Platform Client Translations Manual to install the required translations manually. You can find translation files under the \temp\SXAtranslations folder.