Server Error in '/' Application.

Unable to load the native components of SQL Server Compact corresponding to the ADO.NET provider of version 8876. Install the correct version of SQL Server Compact. Refer to KB article 974247 for more details.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlServerCe.SqlCeException: Unable to load the native components of SQL Server Compact corresponding to the ADO.NET provider of version 8876. Install the correct version of SQL Server Compact. Refer to KB article 974247 for more details.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[SqlCeException (0x80004005): Unable to load the native components of SQL Server Compact corresponding to the ADO.NET provider of version 8876. Install the correct version of SQL Server Compact. Refer to KB article 974247 for more details.]
   System.Data.SqlServerCe.NativeMethods.LoadNativeBinaries() +564
   System.Data.SqlServerCe.SqlCeConnection..ctor() +25
   System.Data.SqlServerCe.SqlCeProviderFactory.CreateConnection() +19
   System.Web.UI.WebControls.SqlDataSource.CreateConnection(String connectionString) +22
   System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +95
   System.Web.UI.WebControls.Repeater.GetData() +242
   System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +216
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +63
   System.Web.UI.WebControls.Repeater.DataBind() +81
   System.Web.UI.WebControls.Repeater.EnsureDataBound() +59
   System.Web.UI.WebControls.Repeater.OnPreRender(EventArgs e) +16
   System.Web.UI.Control.PreRenderRecursiveInternal() +90
   System.Web.UI.Control.PreRenderRecursiveInternal() +163
   System.Web.UI.Control.PreRenderRecursiveInternal() +163
   System.Web.UI.Control.PreRenderRecursiveInternal() +163
   System.Web.UI.Control.PreRenderRecursiveInternal() +163
   System.Web.UI.Control.PreRenderRecursiveInternal() +163
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +906


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4465.0