Entity framework can’t make updates in db (missing entry point SetClrFeatureSwitchMap in SqlServerSpatial110.dll)

Into your project, right button on your project and select add, new item, common items, general and application configuration file, click ok and file app.config will open.

Identifies the following tags


and Insert the following code inside the tags

      <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <assemblyIdentity name="Microsoft.SqlServer.Types" publicKeyToken="89845dcd8080cc91" />
          <bindingRedirect oldVersion="" newVersion="" />

Now recompile your application and under bin\debug (or release) will be the new .config file, copy this file and new .exe to your application’s folder and start it