Windows 10 version 2004 Sandbox and System.Data.SqlXml.dll
I use Windows 10 Sandbox a lot, it’s really convenient for many things. Since I have upgraded my laptop to the 2004 version I had an issue when starting some applications which are using SQL. I found the following logging when starting a specific application which was no longer working:
Could not load file or assembly ‘System.Data.SqlXml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ or one of its dependencies. The system cannot find the file specified.
Fusion Log:
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value HKLM\Software\Microsoft\Fusion!EnableLog 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].
So looking up the System.Data.SqlXml.dll I found out it is used by the .NET Framework. Microsoft website describes the functionality of this file as:
SQL Server exposes the functionality of SQLXML inside the .NET Framework. Developers can write applications that access XML data from an instance of SQL Server, bring the data into the .NET Framework environment, process the data, and send the updates back to SQL Server. XML data can be used in several ways in SQL Server, including data storage, and as parameter values for retrieving data. The SqlXml class in the .NET Framework provides the client-side support for working with data stored in an XML column within SQL Server. For more information, see “SQLXML Managed Classes” in SQL Server Books Online.
Solution
Actually, you can solve this issue very quickly: copy the System.Data.SqlXml file from your (local) Windows 10 “C:\Windows\Microsoft.NET\Framework\v4.0.30319” machine to your Sandbox instance. You need to copy the file to the directory from where you start your (not working) application(s).
Please remind, after disconnecting your Sandbox it will restart cleanly again, so you need to repeat this trick every time you (re)start your Sandbox.
Is interested in everything connected to technology. Has a passion for cloud, virtualization and software development. Always finds appropriate IT solutions for customers that match their needs strategically, technically and financially.
Core qualities
Quick thinker, result driven, ambitious, customer-friendly, enthusiastic
Hobbies
Running, listening to music, good food and doing fun things with family
Job description
CTO PepperByte, LoadGen, and BlueParq
Leave a Reply
Want to join the discussion?Feel free to contribute!