I am using Windows Runtime Component to fetch data from SQL server. After adding the reference to component I am trying to assign the value (that i am getting from method in Windows Runtime component (C# code)) to javascript variable but it is throwing error.
0x80131040 - JavaScript runtime error: Unknown runtime error.
This error occurs when I set the minimum version to Fall Creator's Update (build 16299).
If I run this code by setting min version to 10240, then i am getting error:
Could not load file or assembly 'System.Data.SqlClient'.
After searching on google I found System.Data.Sqlclient
is not supported in earlier version. URL suggested to set min version to 16299 is https://docs.microsoft.com/en-us/windows/uwp/data-access/sql-server-databases
How can I fix this?
User contributions licensed under CC BY-SA 3.0